• Windows XP

    Windows: Script to Reset SID

    Script Code ============================================ @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 7.    More information on http://msmvps.com/Athif Pause @echo on net stop wuauserv REG DELETE “HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate” /v AccountDomainSid /f REG DELETE “HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate” /v PingID /f REG DELETE “HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate” /v SusClientId /f net start wuauserv wuauclt /resetauthorization /detectnow Pause