Sysprep
Concept
Инструмент Windows, у которого параметр /generalize удаляет сведения, специфичные для компьютера, например SID, чтобы установку можно было захватить и развернуть на другие ПК. В Windows 8.1 и Windows Server 2012 или новее допускается до 1001 запуска на образ.
Short description written with AI from the facts on this page. You can improve it with the edit button below.
Связи
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: