I"m trying to create an Image of Azure VM.
steps followed:
1. RDP into the VM ( Windows server 2012 R2)
2. As I'm getting an error when running Sysprep for the first time and followed the changes below and successful
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrepExternal\Cleanup |
Registry key for SkipRearm is 1 for the following: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform |
<g class="gr_ gr_221 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Grammar only-ins replaceWithoutSep" data-gr-id="221" id="221">Registry</g> key for GeneralizationState is 7 for the following: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus |
<g class="gr_ gr_222 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Grammar only-ins replaceWithoutSep" data-gr-id="222" id="222">Registry</g> key for CleanupState is 2 for the following: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus |
<g class="gr_ gr_219 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" data-gr-id="219" id="219">msdtc</g> -uninstall |
<g class="gr_ gr_220 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" data-gr-id="220" id="220">msdtc</g>-install |
Deleted folder Panther. 3. Run the Sysprep. It took more than 2 hours and finally showed the error blade Your Remote Desktop services session has ended Your network administrator <g class="gr_ gr_1478 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Grammar multiReplace" data-gr-id="1478" id="1478">have</g> ended the connection. Try again, or contact technical support for assistance" |