Но при 1 подключении к WSUS машина получает номерок (ClientID) и при клонировании он соответственно тоже клонируется.
Номерок находится тут:
Код: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SusClientId Достаточно удалить его и уже после этого сделать:
Код: wuauclt /resetauthorization /detectnow
;------------------------------------------------------------------ ; Delete registry subkey for SID regeneration for WSUS ;------------------------------------------------------------------ /*$ReturnCode =DelValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate", "AccountDomainSid") If $ReturnCode = 0 ? "Value deleted...." else ? "Key does not exist...." Endif $ReturnCode =DelValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate", "SusClientId") If $ReturnCode = 0 ? "Value deleted...." else ? "Key does not exist...." Endif $ReturnCode =DelValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate", "PingID") If $ReturnCode = 0 ? "Value deleted...." else ? "Key does not exist...." Endif ? SHELL 'wuauclt.exe /resetauthorization /detectnow' ? "WSUS Reauthorization...."*/MS-овский батник:
@echo off Echo Save the batch file "AU_Clean_SID.cmd". This batch file will do the following: Echo 1. Stops the wuauserv service Echo 2. Deletes the AccountDomainSid registry key (if it exists) Echo 3. Deletes the PingID registry key (if it exists) Echo 4. Deletes the SusClientId registry key (if it exists) Echo 5. Restarts the wuauserv service Echo 6. Resets the Authorization Cookie Echo 6. More information on http://msmvps.com/Athif 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 Pause