Re: automatic login and screen lock on boot and logon scripts




<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.


.



Relevant Pages

  • automatic login and screen lock on boot and logon scripts
    ... login and then lock the screen, I run a clean install of win2k, no ... machines dont have tcp/ip stack ... then automatically login but have the screen locked. ... user32.dll,LockWorkStation" in a batch file. ...
    (microsoft.public.win2000.general)
  • Re: Problem with FileLock
    ... To synchromize the updates I am using FileLock. ... Everything works as advertised (ie if a machine gets the lock, ... writes to the file while the other machines wait, ... process that does so on behalf of the other (client) processes, ...
    (comp.lang.java.programmer)
  • RE: Windows 2000 Patch Order
    ... registration) and will scan all machines and will deploy to 50 ... the patch from Microsoft, check to ensure it's signed by MS, then it copies ... You can either have it schedule to run the batch file for you, ... >patches don't step on one another. ...
    (Focus-Microsoft)
  • Is there some sort of portable Copy Protection??
    ... There is a lot of software out there that can lock a program to a particular machine, but that may be too severe in my case. ... I need to serialize it and encrypt the .exe file so the protection I do implement can't be circumvented. ... I could have a web server that the program contacts once a month or so which could invalidate the license if it could detect if the software was being run by an unlicensed user, but how would it distinguish beteen a valid user running the software on 10 of his machines, or 10 different users running the software? ... Or should I lock it to the machine and if the user want's to run it on more machines, offer to extend the license to 2 or 3 machines? ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Is there some sort of portable Copy Protection??
    ... is a lot of software out there that can lock a program to a particular ... invalidate the license if it could detect if the ... Is it possible to get a hardware id from the USB ... machine and if the user want's to run it on more machines, ...
    (borland.public.delphi.thirdpartytools.general)