This HTA combines several sample script from Don Jones' book VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows ...
www.robvanderwoude.com