Windows 10: Windows locking automatically

Discus and support Windows locking automatically in Windows 10 Ask Insider to solve the problem; [ATTACH] submitted by /u/Jokerdhruv [link] [comments] https://www.reddit.com/r/Windows10/comments/i4nl95/windows_locking_automatically/ Discussion in 'Windows 10 Ask Insider' started by /u/Jokerdhruv, Aug 6, 2020.

  1. Windows locking automatically

    /u/Jokerdhruv, Aug 6, 2020
    #1
  2. newtekie1 Win User

    [Tip] Automatic Login to Windows and Instantly lock the computer.

    Problem: You like to leave XYZ program running 24/7, but XYZ program only starts when you log into the computer(XYZ can be whatever program you want). So when automatic updates hit and auto-restart your computer, the XYZ program doesn't start back up. You could not put a password on your user account, so the computer automatically logs onto your user account when it reboots, but that is insecure, and if you have nosy roommates/children/super intelligent monkeys, if there is no password they might get on your computer and find your huge collection of por...legally obtained songs...
    Windows locking automatically Shifty_Eyes_Emoticon_by_Canaan1.gif


    Solution: Set Windows to automatically log into a password protected user account, and then instantly lock the computer.*Rockout :rockout: Here's how:

    • I'm going to assume you already have your user account password protected. If not, setup a password for your user account now...I'll wait...ok, moving on.
    • In the Run dialog type "control userpasswords2" without quotes. Then press OK.

      Windows locking automatically autologin1.png
    • In the User Accounts window uncheck the box for "Users must enter a password to use this computer." Press OK.

      Windows locking automatically autologin2.png
    • In the Automatically Log On window enter your username and password. Press OK.

      Windows locking automatically autologin3.png
    • Open Notepad and type "rundll32.exe user32.dll, LockWorkstation" without quotes.

      Windows locking automatically autologin4.png
    • Save the text document as lock.bat. Make sure you change Save as type: from *.txt to *.*!

      Windows locking automatically autologin5.png
    • Drag lock.bat into your Startup folder.

      Windows locking automatically autologin6.png
    That is it. Now when the computer is rebooted it will automatically log in to your account, load any programs you want started, and lock the computer so a password is still required to use it.*Toast :toast:

    A few notes:
    • If you change the password for your user account, it will break the auto login. You will have to go back into control userpasswords2 and re-enter your login information.
    • This should work with any recent version of Windows, I've tested it back to at least XP. You shouldn't be using anything older than that anyway.
    • I've tested this with Win7 and Vista Home Premium and up. It should work on Home Basic and Starter as well, and it should work on XP Home, but I haven't tested this personally. The lower versions of Windows might not have the Control Userpasswords2 ability.
    • This works with Server versions of Windows also.
     
    newtekie1, Aug 6, 2020
    #2
  3. Vista Automatic Updating Error

    Automatic Updates isn't currently running.
     
    DistantDeath, Aug 6, 2020
    #3
  4. jbunch07 Win User

    Windows locking automatically

    Vista Automatic Updating Error

    Resolution Suggestion:

    # To resolve this problem, make sure that BITS and the Automatic Updates service are started..

    A simple solution but one that works in most circumstances!

    1. Click Start, click Run, type services.msc, and then click OK.

    2. In the list of services, right-click Automatic Updates, and then click Properties.

    3. In the Startup type list, click Automatic, and then click Apply.

    4. If Service status is set to Stopped, click Start, and then click OK.

    5. Right-click Background Intelligent Transfer Service, and then click Properties.

    6. In the Startup type list, click Manual, and then click Apply.

    7. If Service status is set to Stopped, click Start, and then click OK.

    http://www.updatexp.com/0x80070422.html- source *Smile Windows locking automatically :) hope that helps.
     
    jbunch07, Aug 6, 2020
    #4
Thema:

Windows locking automatically

Loading...
  1. Windows locking automatically - Similar Threads - locking automatically

  2. ASUS Laptop Locking Up Automatically every 1 minute or so

    in Windows 10 Gaming
    ASUS Laptop Locking Up Automatically every 1 minute or so: Greetings!I am a Windows 10 user on ASUS A412FL 2019 which I frequently uses plugged in and on max settings especially during the pandemic for studies. Lately my laptop have been locking automatically whenever it is idle. It is not worrying per se, but it sure is concerning...
  3. ASUS Laptop Locking Up Automatically every 1 minute or so

    in Windows 10 Software and Apps
    ASUS Laptop Locking Up Automatically every 1 minute or so: Greetings!I am a Windows 10 user on ASUS A412FL 2019 which I frequently uses plugged in and on max settings especially during the pandemic for studies. Lately my laptop have been locking automatically whenever it is idle. It is not worrying per se, but it sure is concerning...
  4. ASUS Laptop Locking Up Automatically every 1 minute or so

    in Windows 10 BSOD Crashes and Debugging
    ASUS Laptop Locking Up Automatically every 1 minute or so: Greetings!I am a Windows 10 user on ASUS A412FL 2019 which I frequently uses plugged in and on max settings especially during the pandemic for studies. Lately my laptop have been locking automatically whenever it is idle. It is not worrying per se, but it sure is concerning...
  5. While working my windows 10 automatic lock screen and drains battery.

    in Windows 10 Performance & Maintenance
    While working my windows 10 automatic lock screen and drains battery.: While working on windows 10 . It keeps locking screen automatic when turning back on shows battery 0% even if it locks at 90%.I go from win 10 to 11 but still locking.. Downgrading from 11 to 10 still locking and drainng battery. Updated windows that also did't work.. I found...
  6. While working my windows 10 automatic lock screen and drains battery.

    in Windows 10 Gaming
    While working my windows 10 automatic lock screen and drains battery.: While working on windows 10 . It keeps locking screen automatic when turning back on shows battery 0% even if it locks at 90%.I go from win 10 to 11 but still locking.. Downgrading from 11 to 10 still locking and drainng battery. Updated windows that also did't work.. I found...
  7. While working my windows 10 automatic lock screen and drains battery.

    in Windows 10 Software and Apps
    While working my windows 10 automatic lock screen and drains battery.: While working on windows 10 . It keeps locking screen automatic when turning back on shows battery 0% even if it locks at 90%.I go from win 10 to 11 but still locking.. Downgrading from 11 to 10 still locking and drainng battery. Updated windows that also did't work.. I found...
  8. Windows 10 fails to lock screen automatically.

    in Windows 10 Gaming
    Windows 10 fails to lock screen automatically.: I have Windows 10 Pro on a laptop running in the power-on configuration. See below for details on system & settings. I have it set to sleep and turn off the screen, and lock on screen saver, but the machine remains unlocked and often won't even sleep when left unattended....
  9. Windows 10 fails to lock screen automatically.

    in Windows 10 Software and Apps
    Windows 10 fails to lock screen automatically.: I have Windows 10 Pro on a laptop running in the power-on configuration. See below for details on system & settings. I have it set to sleep and turn off the screen, and lock on screen saver, but the machine remains unlocked and often won't even sleep when left unattended....
  10. Windows 10 fails to lock screen automatically.

    in Windows 10 Performance & Maintenance
    Windows 10 fails to lock screen automatically.: I have Windows 10 Pro on a laptop running in the power-on configuration. See below for details on system & settings. I have it set to sleep and turn off the screen, and lock on screen saver, but the machine remains unlocked and often won't even sleep when left unattended....