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 <behrens@takenet.de>
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'