Long overdue update.
Added Vista support, removed old AutoIT declarations, and set the temp folder to be recreated after deletion to avoid random errors.
I ran into an interesting issue the other day. A machine registered in WSUS would appear and then dissapear from the WSUS 3 SP1 console.
Found the solution to the problem on the following links:
http://tinyurl.com/mrxrwt – best source
Here is a script that will run only once if completed successfully. It will also write a log in either case to a subfolder where it ran from with a computer name in the file name.
Yet another serial number generator. Ported from a vbscript found online.
Just feed a machine name to the script to get an output with a serial number into a csv file.
You can also feed a file with all computer names on separate lines. If executed with no options, the current computer info is returned.
If there is no input, the local machine will be used.