|
OK, NTDOC, thanks man. That was the quickest response ever... The "wuauclt /resetauthorization /detectnow" is actually a utility command. So it should be in the path of all users.... Would I be able to execute it if I make the following additions to your code? (See RUN part I've added) also, If I run this from my computer, logged in as my account (domain administrator) will this execute using my credentials on the remote pcs?
For Each $sComputer In $sComputers $sComputer=IIf(Not $sComputer,'','\\'+Join(Split($sComputer,'\'),'',3)+'\') If $sComputer $Nul = DelValue($sComputer+$Key,'AccountDomainSid') $Nul = DelValue($sComputer+$Key,'PingID') $Nul = DelValue($sComputer+$Key,'SusClientId') $Nul = fnWMIService('wuauserv','stop',$sComputer) $Nul = fnWMIService('wuauserv','start',$sComputer) RUN "wuauclt /resetauthorization /detectnow" EndIf
Mart,
Thanks for the information about kixcrypt. I didn't realize that it decrypts to a regular kix file and stores it locally on the computer.
Wes
|