VMware Cloud Community
CapiZikus
Contributor
Contributor
Jump to solution

Microsoft not support VM from Clone template or Sysprep

Hi,

My colledge mentioned that MS is not support VM that clone from template or from sysprep, is this true?

MS even publish this KB which refer to sysprep:- <![endif]><![if gte mso 9]>

0 Kudos
1 Solution

Accepted Solutions
Rumple
Virtuoso
Virtuoso
Jump to solution

The easy fix to WSUS is to delete the ID and the settings (there are many scripts to do this).

I typically delete the ID prior to the sysprep, but you could also make it a sinple script that is run as part of the first boot process so that each machine thats sysprep'd gets a new ID from the server.

Here is one example script

http://thefreewarejunkie.com/2007/10/script-reset-wsus-authorization-on.html

View solution in original post

0 Kudos
11 Replies
CapiZikus
Contributor
Contributor
Jump to solution

Hi,

My colledge mentioned that MS is not support VM that clone from template or from sysprep, is this true?

MS even publish this KB which refer to sysprep:- http://support.microsoft.com/kb/903262

0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

We have over 5000 Windows guests and are fully supported by Microsoft.

I think the issue more surrounds WSUS, rather than the OS itself. Plus the statement below says to me that if your properly sysprep you guests you shouldn't run into this problem

Therefore, this problem affects only virtual machines that run pre-Windows Vista operating systems, or that were not created by using Sysprep.

0 Kudos
CapiZikus
Contributor
Contributor
Jump to solution

yes the issue is about WSUS, am I correct that if guest is for WSUS we shouldn't be use clone method? most guest are wk3 not vista

0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

yes, a clone is an exactly copy and therefore your problem. If you are going to clone, ensure the clone is syspreped.

My advise would be to create a "gold image" and then convert it as a template and deploy off that. Setup a customization spec and save it, therefore you are assured if all your syprep files are in the proper location on your vCenter Host, that your guest will be properly deployed and syspreped.

0 Kudos
jagtampa
Contributor
Contributor
Jump to solution

WSUS will not recognize a computer with the same SID as an existing computer in its inventory. That happened to me with a clone I forgot to Sysprep (since Sysprep generates a new SID). Properly sysprepped clones do show up in WSUS for me. You can download a newsid utility (from sysinternals I believe) to generate a new SID after the fact on non-sysprepped clones.

0 Kudos
CapiZikus
Contributor
Contributor
Jump to solution

yes, all my clones are syspreped, accroding from MS, when you install a fresh OS, there is an WSUS's client installed as well, so even a proper syspreped there still be an issue with WSUS later, when call microsoft for WSUS relate issue, first thing they ask was, "are you clone the Vm?, using sysprep or newsid?" if those answer are true then they not support. (accroding from my college who seeked support from microsoft for WSUS problem)

0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

i'm tapping out then.

If the guest is properly syspreped there will be no duplicate SIDs, so I would say it's a OS issue, not a VMware issue.

0 Kudos
Rumple
Virtuoso
Virtuoso
Jump to solution

The easy fix to WSUS is to delete the ID and the settings (there are many scripts to do this).

I typically delete the ID prior to the sysprep, but you could also make it a sinple script that is run as part of the first boot process so that each machine thats sysprep'd gets a new ID from the server.

Here is one example script

http://thefreewarejunkie.com/2007/10/script-reset-wsus-authorization-on.html

0 Kudos
IRIX201110141
Champion
Champion
Jump to solution

During custumizing we run the following script to get rid of some WSUS related problems with our clones.

-


@echo off

REM ==========================================

REM Delete WSUS identification keys

REM Author: Joerg Behrens &lt;behrens@takenet.de&gt;

REM Date: 11.05.2008

REM Notes:#

REM PingID and AccountDomainSid Keys doesnt

REM exists on every machine

REM Changed:

REM ==========================================

echo "Try to stop Automatic Update Services...."

net stop wuauserv

echo "Deleting the Registy Keys ...."

for %%s in (SusClientId,PingID,AccountDomainSid,SusClientIDValidation) do (

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v %%s /f

)

echo "Start Automatic Update Services and register the client again"

net start wuauserv

wuauclt.exe /resetauthorization /detectnow

-


Regards

Joerg

'Remember if you found this or others answers helpful do not forget to award points by marking an answer as helpful or correct'

CapiZikus
Contributor
Contributor
Jump to solution

thank for the example script, I also been advised to do thescript below as well:-

net stop wuauserv

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f

net start wuauserv

wuauclt /resetauthorization /detectnow

0 Kudos
FredPeterson
Expert
Expert
Jump to solution

Just discovered this issue as we begin to use WSUS.

Microsoft says when a -reseal operation is done it should take care of this. I have not tested that specifically, but whatever operational method VirtualCenter is issuing to do the guest customization it does NOT include removing the WSUS Client IDs.

0 Kudos