XenApp server not shown up in WSUS console after sysprep

Tuesday, February 24, 2009
By Edwin

When you use syprep and XenAppPrep to create a server image for installation of multiple XenApp servers in a farm you wil see that the servers not show up in the WSUS 3.0 console. They show up but under the same name the server had at the moment the sysprep was created. A collegue of mine found a script to resolve this problem. This happens because a windows updates registry key still exists with the old server sid in it. Sysprep doesn’t change this registry key. So people at Microsoft something for the new sysprep tools!

Alexander thanks for the effort :)

@echo off
Echo Save the batch file “AU_Clean_SID.cmd”. This batch file will do the following:
Echo 1.    Stop the wuauserv service
Echo 2.    Delete the AccountDomainSid registry key (if it exists)
Echo 3.    Delete the PingID registry key (if it exists)
Echo 4.    Delete the SusClientId registry key (if it exists)
Echo 5.    Restart the wuauserv service
Echo 6.    Resets the Authorization Cookie
Pause
@echo on
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

Tags: , , , ,

Leave a Reply

Archives

Twitter

    Adverts