sorry remove the bit that says whyme = wscript.echo because that gives you the usernames and the other wscript command in there will bring up the box. Otherwise it should log all computer accounts on the domain to the file you specify
Hi you can do it by the script below. This will ask you for a domain and a path and filename for the log
'System variables - dont change
Dim TempFile, computer, domain, DomainSub, inputfile, outputfile
Const HKEY_LOCAL_MACHINE = &H80000002
Const ForWriting = 2
Const ForReading = 1
Const...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.