PDA

View Full Version : Auto-logon and switch-users in the morning


tak
June 6th 03, 01:04 PM
I have a Dell 8200 and have setup the computer to turn itself on every
morning before I get out of bed. It boots up to the Welcome screen in
Windows XP Home, but I would like it to go two steps further...

1. I would like it to automatically logon to my username so that it will run
through my startup and load my programs before I need them.
2. I would like it to immediately switch back to the welcome screen so that
no one can access those programs without my password.

I think I've seen posts out here on how to make Windows logon to a username
automatically. I just need to know what I could add to a batch file to
force a "switch user" to occur. Incidentally, I do not want to use a
timeout to force it back to the welcome screen. That becomes annoying
during the day when I'm staring at the computer screen but not using the
keyboard/mouse. Any suggestions?

-tk

Doug Knox MS-MVP
June 7th 03, 12:38 AM
Go to Start, Run and enter CONTROL USERPASSWORDS2 Uncheck Users must enter
a username and password.......... Click Apply and provide the requested
information. Next, in your Start Menu, Startup folder, create a new
shortcut, using the following command line:

%windir%\system32\rundll32.exe user32.dll,LockWorkStation

Note, the spacing must be exact, so you may want to use copy and paste.

--
Doug Knox, MS-MVP Windows XP/ Windows Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Associate Expert
ExpertZone - http://www.microsoft.com/windowsxp/expertzone
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"tak" > wrote in message
...
> I have a Dell 8200 and have setup the computer to turn itself on every
> morning before I get out of bed. It boots up to the Welcome screen in
> Windows XP Home, but I would like it to go two steps further...
>
> 1. I would like it to automatically logon to my username so that it will
run
> through my startup and load my programs before I need them.
> 2. I would like it to immediately switch back to the welcome screen so
that
> no one can access those programs without my password.
>
> I think I've seen posts out here on how to make Windows logon to a
username
> automatically. I just need to know what I could add to a batch file to
> force a "switch user" to occur. Incidentally, I do not want to use a
> timeout to force it back to the welcome screen. That becomes annoying
> during the day when I'm staring at the computer screen but not using the
> keyboard/mouse. Any suggestions?
>
> -tk
>
>

Google