I realized I hadn’t posted this one answering a newsgroup post this morning. The attached script will iterate through a list of workstation names in a text file, ping them, and if the ping returns then reset the local administrator account password to whatever is defined at the top of the script. This is pretty basic and would potentially need some customization. You might want to adapt it to iterate through an OU or set of OUs instead and get the computer names from there, or perhaps set different administrator passwords on the machines.
Feel free to leave any questions/comments/etc in the comments box below and I’ll take a look.
Microsoft recently released WSUS 3.0. WSUS is their free product for managing Windows Update content on Wintel machines in an organization. You can grab a copy of it here. Searching the Microsoft download site for “WSUS 3″ or something similar yields a bunch of whitepapers which might be interesting as well.
I upgraded a simple WSUS 2.0 deployment to 3.0 and the installer seems to have taken care of everything nice and tidy. It did require that I install .Net 2.0 but that was inevitable and not a big deal. I was annoyed to learn at the end that a reboot was required but that was the only major problem. The biggest change from the previous version is probably the change to an MMC console from the web based UI. The MMC is somewhat faster although with all fo the other MMC 3 stuff I’ve used so far it seems a bit slower. The installer didn’t check for the presence of MMC 3 prior to install and consequentially I got this error when I fired up the MMC after the reboot:
Microsoft Management Console
MMC cannot open the file C:\Program Files\Update Services\administrationsnapin\wsus.msc.
This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file.
This was easily resolved by downloading the MMC 3.0 update from Microsoft which did not require a reboot fortunately.