yes, you could do this with a series os vbscripts.
Your first step will be to create a script to write to the registry. This will set the default user name and default password. You will then need a second script that reboots all of the PCs remotely.
To enable auto logon in Windows 2000/XP with a domain system, you need to edit the registry. Start Regedt32.exe and locate the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon; Enter your domain name, account name, and password, using the following values : DefaultDomainName, DefaultUserName, and DefaultPassword. (NOTE: The DefaultDomainName and DefaultUserName values may already exist.) .
If the DefaultPassword value does not exist, create it. To do so: On the Edit menu, click Add Value; In the Value Name box, type DefaultPassword; In the Data Type box, click REG_SZ.; Click OK; In the String Editor box, type your password. Click OK and save your changes. (NOTE: If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false). This disables the AutoAdminLogon feature. This behavior also occurs if the DefaultPassword string is specified but the password is left blank or null.)
Refer to the following for sample code on how to write to the registry remotely. Note that in the sample it uses "." for the computer name. Replacing the "." with the name or IP of a remote system will force the edit on that system. Refer to my FAQ faq329-4871 for information on how to convert that script to hit multiple PCs.
Your next task is to then reboot the PCs remotely. This is a very simple task.
the following script just needs a text list of PC names to reboot them remotely.
Code:
'==========================================================================
'
' NAME: RebootWSfromList.vbs
'
' AUTHOR: Mark D. MacLachlan , The Spider's Parlor
' URL: [URL unfurl="true"]http://www.thespidersparlor.com[/URL]
' DATE : 7/6/2004
'
' COMMENT: <comment>
'
'==========================================================================
On Error Resume Next
'open the file system object
Set oFSO = CreateObject("Scripting.FileSystemObject")
set WSHShell = wscript.createObject("wscript.shell")
'open the data file
Set oTextStream = oFSO.OpenTextFile("wslist.txt")
'make an array from the data file
RemotePC = Split(oTextStream.ReadAll, vbNewLine)
'close the data file
oTextStream.Close
For Each strComputer In RemotePC
Set OpSysSet = GetObject("winmgmts:{impersonationLevel=impersonate,(RemoteShutdown)}//" & strComputer).ExecQuery("select * from Win32_OperatingSystem where Primary=true")
for each OpSys in OpSysSet
OpSys.Reboot()
next
Next
I hope you find this post helpful.
Regards,
Mark