marc2510 (27th November 2009)
Hi,
Im looking for a lil bit of help
as a techie there are times when i have to log onto 30 pc's at a time while maintaining ICT suites.
and after a while typing Administrator is so boring and im too lazy if im honnest.
So im looking for a simple run once script i can put into the OU grp of them computers while im doing that room.
ther are apps that do this but i would rather do it via .vbs or a regedit, i have used cds (intel drivers)
where it needs reboots and it will auto log into the same user again. my guess is that it uses a run once script for that.
it would be nice if it worked simular to PSexec with gpupdate /force.. etc
Cheers Marc
![]()

I haven't tried this but have you looked at PSTools Autologon?
From what I understand you can set a station to login with a username and password of your choosing after reboot.
Obviously: Use with caution and make sure that it is removed when you have finished your work.
marc2510 (27th November 2009)
AB Tutor...
all done by using
Autologon
and also Psexec
Pretty much what everyone else has said.. Autologon is something thats already there in windows so you can reghack to get it working:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
marc2510 (27th November 2009)
ah thanks that mite be abit better.
atm im using
a batch file that contains
Psexec.exe -u "domain\user" -p "password" -c -i -d @ComputerList_IT4.txt autologon.exe "user" "computername or domain name" "password"
only issue i have is that once im finished i will run it agen with no user name and password like so, ( "" "domainname" "" ) but it will come up with an error because it still tries to log on with no pasword or username
IF this is not ran with the above method it will keep loggin into the user that was set before.
ive had a look around google and there does not seem to be any switches to stop or disable autologon.exe
Cheers again
There are currently 1 users browsing this thread. (0 members and 1 guests)