Sysprep
Concept
Інструмент Windows, опція /generalize якого видаляє інформацію, specific для комп'ютера, зокрема 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 Image Builder — це служба Azure, яка створює налаштовані образи віртуальних машин за набором інструкцій, які ви визначаєте, із використанням HashiCorp Packer у фоновому режимі. - 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: