Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script for Windows Authentication

Status
Not open for further replies.

ckugo

IS-IT--Management
Jan 6, 2004
165
0
0
US
Hello All.

I am looking for a way to automate a user login with a vbscript. I have successfully created one for logging out, but no luck with logging in. Has anyone came across this before??

Regards,

Chris
 
Do you just want the user to boot up and log in? If so then install TweakUI from Microsoft. It has an autologon feature.

I hope you find this post helpful.

Regards,

Mark
 
In fact, you don't even need to install TweakUI, you can just change a regitry value.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon

You can use vbscript to update the value above, add a 'runonce' value to call another script once the computer restarts and then have that script set AutoAdminLogon back to 0 when its done.

Ben.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top