Sysprep
Concept
Windows tool whose /generalize option removes computer-specific information such as the SID so an installation can be captured and deployed to other PCs. Windows 8.1 and Windows Server 2012 or later allow up to 1001 runs per image.
関係
Sysprepは、より広いテーマであるGolden imageに含まれます。SysprepはAzure Image BuilderとAzure Virtual Desktopと密接に関連しています。
Description
Sysprep is the Windows System Preparation Tool. Its generalize step removes computer-specific information such as installed drivers and the computer security identifier (SID), so that a Windows image can be captured and deployed to new PCs. It can be used by itself or together with an unattend answer file. Learn states that the image must be generalized even when it is deployed to similar hardware, and that Windows replaces the SID only on the operating system volume where Sysprep ran, so a computer with several operating systems needs one run per system.
The usual procedure starts in Audit Mode. After customizing Windows, the administrator runs sysprep.exe with the options /generalize, /shutdown and /oobe, then captures the image with DISM. For a VHD that is deployed on the same virtual machine or hypervisor, Learn names the /mode:vm option. Generalizing uninstalls configured devices but does not remove driver packages; for identical hardware an unattend setting, PersistAllDeviceInstalls, keeps the devices.
Learn documents these limits. Sysprep can be run up to 1001 times on one image on Windows 8.1 and Windows Server 2012 or later, and only 3 times on Windows 7, Windows Server 2008 R2 and Windows Server 2008. Installing or updating Microsoft Store apps before generalizing makes Sysprep fail. For Azure Virtual Desktop, the golden image guidance says to remove a domain-joined VM from the domain and to disable antivirus programs before running Sysprep. With custom image templates, Azure Image Builder takes care of generalizing the image with Sysprep.
| Type | Concept |
|---|---|
| Kind | Method |
| Documentation | Sysprep – Microsoft Learn learn.microsoft.com |
関連テーマの概要
Sysprepに関連するテーマと簡単な説明:
- Golden image – 概念
仮想マシンのカスタム事前構成イメージで、オペレーティングシステム、更新プログラム、アプリケーション、カスタマイズをまとめて含み、仮想デスクトップやセッションホストを展開するためのテンプレートとしてキャプチャされます。時間の経過とともに維持・更新する必要があります。 - Azure Image Builder – Microsoft Azureの一部
- Azure Virtual Desktop – Microsoftのクラウド プラットフォーム
Azure上でホストされるクラウドベースのデスクトップおよびアプリ仮想化サービスで、ハイブリッド環境やその他のハイパーバイザーにも拡張できます。
Sysprepのすべての関係(関係の種類別):
Broader topic
Sysprepの上位テーマ:
Related to
Sysprepの関連テーマ:
Community wiki
Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.
Experts and companies for this topic
Nobody has listed this topic yet. Add it to your profile.
Sources
- Sysprep – Microsoft Learn learn.microsoft.com
Maintained by Mirko Peters (Microsoft MVP) · Last updated: