Auto Lock after Login


  1. Posts : 972
    Windows 7 Ultimate x64
       #1

    Auto Lock after Login


    I know that you can set up windows to auto login the computer using "control userpasswords2" then you can tell it to log into the windows; therefore, allowing windows to continue booting the rest of the computer up.

    Seeing that I want this on a server. I need the computer to log into the computer and then lock the computer right away.

    Is there a command that I can put into the "startup" folder that will allow me to do this?
      My Computer


  2. Posts : 324
    Windows 7 and MAC
       #2

    I think thats how it works as well..
      My Computer


  3. Posts : 519
    Windows 7 Ultimate (64)
       #3

    Stevy22 said:
    I think thats how it works as well..
    ??? Sorry, I don't get it... How what works?
      My Computer


  4. Posts : 1,325
    Windows7 Ultimate 64bit
       #4

    Why not let the computer auto login, let it stay at login screen... It's essentially the same as lock screen...
    But wait... It's a server, why do you even need to login locally anyway? Am I missing something here?

    zzz2496
      My Computer


  5. Posts : 519
    Windows 7 Ultimate (64)
       #5

    acurasd said:
    I know that you can set up windows to auto login the computer using "control userpasswords2" then you can tell it to log into the windows; therefore, allowing windows to continue booting the rest of the computer up.

    Seeing that I want this on a server. I need the computer to log into the computer and then lock the computer right away.

    Is there a command that I can put into the "startup" folder that will allow me to do this?
    I don't think so... If I'm wrong someone here will have the answer, luck with it.
      My Computer


  6. Posts : 519
    Windows 7 Ultimate (64)
       #6

    zzz2496 said:
    Why not let the computer auto login, let it stay at login screen... It's essentially the same as lock screen...
    But wait... It's a server, why do you even need to login locally anyway? Am I missing something here?

    zzz2496
    Good post zzzzz, I didn't even consider just not logging in.
      My Computer


  7. Posts : 972
    Windows 7 Ultimate x64
    Thread Starter
       #7

    Well
    It is Windows 7 HP... but using it as Home Server.
    Sorry I left that part out. It is not an actual true server OS.

    There are some programs that need to boot up all the way and can't be used as a windows service.

    1. iTunes
    2. Steam Powered
    3. PS3 Media Server
    4. ORB
    5. ect.....
      My Computer


  8. Posts : 1,325
    Windows7 Ultimate 64bit
       #8

    rundll32.exe user32.dll, LockWorkStation

    zzz2496

    Ps. It's a command, put it in command prompt or a shortcut... your choice...
      My Computer


  9. Posts : 972
    Windows 7 Ultimate x64
    Thread Starter
       #9

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

    something like this... as a shortcut....

    Thanks!
      My Computer


  10. Posts : 1,325
    Windows7 Ultimate 64bit
       #10

    You're welcome :)

    zzz2496
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:25.
Find Us