Re: automatic login and screen lock on boot and logon scripts
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Mon, 10 Oct 2005 17:29:33 +1000
<bulk88@xxxxxxxxxxx> wrote in message
news:1128925210.415571.310420@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I want to have a bunch of standard off the shelf computers
> automatically login into a certain username and lock the screen
> instantly.
>
> Currently I must KVM switch or litterally move a keyboard, mouse and
> video cable between machines to start them, then type the password and
> login and then lock the screen, I run a clean install of win2k, no
> service packs (whats the point? machines dont have tcp/ip stack
> installed, only netbeui) and a distributed computing program on them
> which require the system be logged in. The nodes return and retrive
> work through MS LAN file sharing to a central computer with a TCPIP
> stack. I want basic physical security as these machines can access 1-3
> sensitive computers through MS LAN SMB/Netbeui file sharing. My problem
> is when ever the power goes out, it takes 30-50 mins to turn on 57
> machines by hand by moving cables from computer to computer.
>
> My solution is for the machines that can boot without a keyboard
> attached, when powered back on after a power outage, to start win2k,
> then automatically login but have the screen locked. I found out the
> best way to lock the screen is to execute "rundll32.exe
user32.dll,LockWorkStation" in a batch file. I dont want to put this in
> the startup folder since im afraid someone will close the batch file
> before its run or its not "deep enough". I am thinking of making the
> batch file a login script.
>
> Can someone hold down a key or X out the logon batch file window before
> it locks the screen? Can anyone think of any better solution to my
> problem? Please help. Thank you.
>
Whether you can boot up the machines without keyboard or
monitor depends on their motherboards. Some PCs don't mind;
others beep or demand that your press F1! If all else fails,
consider using WinVNC to log on each machine (although
I don't know if WinVNC works without the TCP/IP stack).
Instead of creating a batch file for your screen saver, place this
command into a Reg_SZ value here:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
"c:\winnt\system32\rundll32.exe" user32.dll,LockWorkStation
AFAIK, users can't break out of this one.
.
- References:
- Prev by Date: automatic login and screen lock on boot and logon scripts
- Next by Date: Re: IE doesn't work after installing W2K SP4
- Previous by thread: automatic login and screen lock on boot and logon scripts
- Next by thread: Re: IE doesn't work after installing W2K SP4
- Index(es):
Relevant Pages
|