This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
computing:windows:sysprep [2011/12/26 13:29] gcooper created |
computing:windows:sysprep [2015/09/10 12:33] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Sysprep ====== | ====== Sysprep ====== | ||
+ | |||
+ | ===== Preserve Activation ===== | ||
+ | |||
+ | **Windows 10**: http:// | ||
+ | |||
+ | **Windows Vista/7**: http:// | ||
+ | |||
+ | **Windows XP**: https:// | ||
+ | |||
+ | < | ||
+ | sysprep -reseal -activated | ||
+ | </ | ||
+ | |||
+ | ===== Fatal Error ===== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Worked on Windows Server 2012 R2: | ||
+ | |||
+ | In Registry Editor, set the value of GeneralizationState under HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus to 7, then run sysprep again. | ||
===== Windows XP ===== | ===== Windows XP ===== | ||
Line 11: | Line 31: | ||
==== Windows Activation ==== | ==== Windows Activation ==== | ||
- | If you've ever tried to update a master image (Ghost, Acronis Trueimage, etc.) in order to deploy multiple Windows XP Pro systems, you may have run into this special error message: | + | **Error: "Your grace period limit has been reached and will not be reset" |
- | "Your grace period limit has been reached and will not be reset" | ||
- | |||
- | [quote source=" | ||
In Windows XP Professional, | In Windows XP Professional, | ||
This causes a problem when deploying the image on other pc's as the image is redundant after 30 days of it being created. | This causes a problem when deploying the image on other pc's as the image is redundant after 30 days of it being created. | ||
- | e.g. create image on 1st sept - can deploy on other pc' | + | e.g. create image on 1st sept - can deploy on other PCs in sept but when deploy the image on a pc in Oct it has expired and wont let me log on. |
- | [/quote] | + | |
There is a solution buried in Microsoft KB308554: | There is a solution buried in Microsoft KB308554: | ||
- | (all actions tested on Windows XP Pro SP2 with an OEM Product Key - a big thanks to Amit in MS Tech Support!) | + | |
- | + | | |
- | 1. Update your master system with applications and patches. | + | |
- | 2. Run ' | + | |
- | 3. Activate | + | |
- | 4. Run ' | + | |
- | 5. Use the prepped system' | + | |
A fatal error occurred while trying to sysprep the machine | A fatal error occurred while trying to sysprep the machine | ||
- | Sysprep was probably run more than 3 times on the machine. | + | **Error: |
+ | To show: | ||
+ | |||
+ | < | ||
slmgr /dlv | slmgr /dlv | ||
+ | </ | ||
Generally speaking, to sysprep the image on a single computer for multiple times, you need to configure the Microsoft-Windows-Security-SPP | SkipRearm to 1 in the unattend.xml file. | Generally speaking, to sysprep the image on a single computer for multiple times, you need to configure the Microsoft-Windows-Security-SPP | SkipRearm to 1 in the unattend.xml file. | ||
Line 43: | Line 61: | ||
In Registry Editor | In Registry Editor | ||
+ | < | ||
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState = 7 | HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState = 7 | ||
+ | </ | ||
Then run sysprep again. | Then run sysprep again. | ||
Line 49: | Line 69: | ||
If the same issue still persists, please uninstall the MSDTC and re-install it | If the same issue still persists, please uninstall the MSDTC and re-install it | ||
- | To uninstall MSDTC: msdtc -uninstall | + | To uninstall MSDTC: |
+ | |||
+ | < | ||
+ | msdtc -uninstall | ||
+ | </ | ||
+ | |||
+ | To reinstall | ||
- | To reinstall | + | < |
+ | msdtc -install | ||
+ | </ |