×

注意!页面内容来自https://www.tenforums.com/tutorials/6567-enable-disable-lock-screen-windows-10-a.html,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

Enable or Disable Lock Screen in Windows 10  

Page 1 of 32 12311 ... LastLast
    Enable or Disable Lock Screen in Windows 10

    Enable or Disable Lock Screen in Windows 10

    How to Enable or Disable the Lock Screen in Windows 10
    Published by Category: Customization
    11 Sep 2021
    Designer Media Ltd

    How to Enable or Disable the Lock Screen in Windows 10


    The lock screen is the screen you see when you lock your PC (or when it locks automatically after you haven't been using it for a while). The lock screen will also show at startupand when you are signed out and idle for one minute. You will need to dismiss the lock screen to be able to see the sign in screen and sign in to Windows. Users can dismiss the lock screen using touchthe keyboardor by dragging it up with the mouse.

    This tutorial will show you how to enable or disable the lock screen to show before the sign in screen for all users in Windows 10.

    You must be signed in as an administrator to be able to enable or disable the lock screen.

    If you have secure sign-in enabled for users to require them to press the Ctrl+Alt+Delete keys on the lock screen before signing inthen the lock screen cannot be disabled.



    Contents

    • Option One: To Enable or Disable Lock Screen using Group Policy
    • Option Two: To Enable or Disable Lock Screen using a REG file
    • Option Three: To Disable Lock Screen using a Task
    • Option Four: To Disable Lock Screen using Security Policy Rule



    EXAMPLE: Lock and sign in screen in Windows 10
    Enable or Disable Lock Screen in Windows 10-lock_screens.jpg
    Enable or Disable Lock Screen in Windows 10-sign_in_screen.jpg






    OPTION ONE

    To Enable or Disable Lock Screen using Group Policy


    The Local Group Policy Editor is only available in the Windows 10 ProEnterpriseand Education editions.

    All editions can use Option Two below to set this same policy.


    1 Open the Local Group Policy Editor.

    2 Navigate to the location below in the left pane of Local Group Policy Editor. (see screenshot below)

    Computer Configuration\Administrative Templates\Control Panel\Personalization

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_group_policy-1.png

    3 In the right pane of Personalization in Local Group Policy Editordouble click/tap on the Do not display the lock screen policy to edit it. (see screenshot above)

    4 Do step 5 (enable) or step 6 (disable) below for what you would like to do.


     5. To Enable the Lock Screen

    A) Select (dot) Not Configured or Disabledclick/tap on OKand go to step 7 below. (see screenshot below)

    Not Configured is the default setting.


     6. To Disable the Lock Screen

    A) Select (dot) Enabledclick/tap on OKand go to step 7 below. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_group_policy-2.png

    7 When finishedyou can close the Local Group Policy Editor if you like.

    8 You can press the Win + L keys to lock the computer to verify.






    OPTION TWO

    To Enable or Disable Lock Screen using a REG file


    The downloadable .reg files below will modify the DWORD values in the registry keys below.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData

    AllowLockScreen DWORD

    0 = Disable
    1 = Enable

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization

    NoLockScreen DWORD

    0 or delete = enable
    1 = disable


    1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.


     2. To Enable the Lock Screen

    This is the default setting.

    A) Click/tap on the Download button below to download the file belowand go to step 4 below.

    Enable_Lock_Screen.reg

    Download


     3. To Disable the Lock Screen

    A) Click/tap on the Download button below to download the file belowand go to step 4 below.

    Disable_Lock_Screen.reg

    Download

    4 Save the .reg file to your desktop.

    5 Double click/tap on the downloaded .reg file to merge it.

    6 When promptedclick/tap on RunYes (UAC)Yesand OK to approve the merge.

    7 If you likeyou can now delete the downloaded .reg file.

    8 You can press the Win + L keys to lock the computer to verify.






    OPTION THREE

    To Disable Lock Screen using a Task


    This option will not disable the lock screen at startup. It will disable the lock screen when a user locks the computersigns outand resume from sleep.


    1 Press the Win + R keys to open Runtype taskschd.msc into Runand click/tap on OK to open Task Scheduler.

    2 Click/tap on Task Scheduler Library in the left pane of Task Schedulerand click/tap on Create Task in the right Actions pane. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-1.png

    3 In the General tabtype a name (ex: "Disable Lock Screen") you want for this taskand type an optional description of the task. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-2.png

    4 In the General tabcheck the Run with highest privileges box. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-3.png

    5 In the General tabselect Windows 10 in the Configure for drop down menu. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-4.png

    6 Click/tap on the Triggers taband click/tap on the New button. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-5.png

    7 Select At log on in the Begin the task drop down menuand click/tap on OK. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-6.png

    8 Click/tap on the New button in the Triggers tab. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-7.png

    9 Select On workstation unlock in the Begin the task drop down menuand click/tap on OK. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-8.png

    10 Click/tap on the Actions taband click/tap on the New button. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-9.png

    11 Type reg in the Program/script field. Type the command below into the Add arguments fieldand click/tap on OK. (see screenshot below)

    By defaultthe AllowLockScreen DWORD is reset to 1 at log on to always have the lock screen enabled.

    This command for the task will keep the AllowLockScreen DWORD set to 0 instead to disable the lock screen.

    add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData /t REG_DWORD /v AllowLockScreen /d 0 /f

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-10.png

    12 You will now see this new action listed. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-11.png

    13 Click/tap on the Conditions tabuncheck the Start the task only if the computer is on AC power boxand click/tap on OK. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-12.png

    14 You will now see this new task (ex: "Disable Lock Screen") listed in the Task Scheduler Library. You can now close Task Scheduler if you like. (see screenshot below)

    To undo this task and enable the lock screen againyou would just need to delete this new task (ex: "Disable Lock Screen").

    Enable or Disable Lock Screen in Windows 10-disable_lock_screen_task-13.png

    15 Sign out and sign in to apply the task. The task will automatically be applied to all other users on the PC the next time they sign in.






    OPTION FOUR

    To Disable Lock Screen using Security Policy Rule


    This option will not disable the lock screen at startup. It will disable the lock screen when a user locks the computersigns outand resume from sleep.

    The Local Security Policy is only available in the Windows 10 Pro and Enterprise editions.


    1 Open Local Security Policy (secpol.msc).

    2 Expand open Software Restriction Policies and open Additional Rules in the left pane. (see screenshot below)

    If you do not have Additional Rules under Software Restriction Policiesthen right click on Software Restriction Policies and click on New Software Restriction Policies.

    Enable or Disable Lock Screen in Windows 10-secpol-1.jpg

    3 Do step 4 (disable) or step 5 (enable) below for what you want to do.


     4. To Disable Lock Screen

    A) Right click on Additional Rules in the left paneand click on New Path Rule. (see screenshot below step 2)

    B) Copy and paste C:\Windows\SystemApps\Microsoft.LockApp_cw5n1h2txyewy under Pathset Security level to Disallowedclick/tap on OKand go to step 6 below. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-secpol-2.png


     5. To Enable Lock Screen

    This is the default setting.

    A) Right click on the policy rule in the right pane of Additional Rulesand click on Delete. (see screenshot below step 2)

    B) Click/tap on Yes to confirmand go to step 6 below. (see screenshot below)

    Enable or Disable Lock Screen in Windows 10-secpol-3.png

    6 You can now close the Local Security Policy window if you like.


    That's it,
    Shawn Brink






  1. Posts : 575
    Windows 11 Pro
       #1

    Shawn
    The group policy edit has not worked for me for several builds. I think that ever since the Lock Screen went to XAML type the group policy edit is being ignored.
      My Computer
    Computer Type: Laptop
    System Manufacturer/Model Number: GE76 Dragon Tiamat 11UG-283US
    OS: Windows 11 Pro
    Motherboard: MS-17K3 Rev. 1.0
    Memory: Kingston Fury KF3200C2054/16G 32GB (16*2) 3200 Mhz
    Graphics Card: NVIDIA® GeForce® RTX 3070 Laptop
    Sound Card: Nahimic 4 / Hi-Res Audio
    Monitor(s) Displays: 17.3" FHD 360Hz 3msIPS-Level
    Screen Resolution: 1920x1080
    Keyboard: Steel Series per-Key RGB with Anti-Ghost key+ silver lining
    Cooling: MSI Cooler Boost 5
    Hard Drives: Sony 990 Pro 1 TB
    Internet Speed: Spectrum Ultra 500/20
    Browser: Chrome
    Antivirus: Windows Defender
    Other Info: Intel AX210 160 Mhz WIFI 6E Killer 3100G 2.5 GB Ethernet Controller BT 5.3


  2. Posts : 76,564
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Hey tracit,

    YeahI had some policies I found that don't do anything right now as well.

    This one still works though. At least for me it does in build 10130. :)
      My Computers
    Computer Type: PC/Desktop
    System Manufacturer/Model Number: Custom self built
    OS: 64-bit Windows 11 Pro for Workstations
    CPU: Intel i7-8700K 5 GHz
    Motherboard: ASUS ROG Maximus XI Formula Z390
    Memory: 64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card: ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card: Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays: 2 x Samsung Odyssey G75 27"
    Screen Resolution: 2560x1440
    Keyboard: Logitech wireless K800
    Mouse: Logitech MX Master 3
    PSU: Seasonic Prime Titanium 850W
    Case: Thermaltake Core P3 wall mounted
    Cooling: Corsair Hydro H115i
    Hard Drives: 1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, TerraMaster F8 SSD Plus NAS
    Internet Speed: 2 Gbps Download and 100 Mbps Upload
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium
    Other Info: Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, CyberPower CP1500PFCLCD, Galaxy S23 Plus phone

    View my PC Album
    Computer Type: Laptop
    System Manufacturer/Model Number: HP Spectre x360 2in1
    OS: 64-bit Windows 10 Pro build 21390
    CPU: i7-1065G7 3.9 GHz
    Memory: 16 GB LPDDR4-3200
    Graphics Card: Intel Iris Plus
    Sound Card: Intel SST
    Monitor(s) Displays: 13.3" 4K UWVA AMOLED multitouch
    Screen Resolution: 3840 x 2160
    Hard Drives: 512 GB PCIe NVMe M.2 SSD
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium


  3. Posts : 1
    Windows 10 Professional
       #3

    tracit99 said:
    Shawn
    The group policy edit has not worked for me for several builds. I think that ever since the Lock Screen went to XAML type the group policy edit is being ignored.
    Have you tried running the gpupdate.exe /force command after modifying the policy?
    Sometimes Windows doesn't react to GP changes automatically.
      My Computer
    Computer Type: PC/Desktop
    System Manufacturer/Model Number: Custom
    OS: Windows 10 Professional


  4. Posts : 148
    Windows 10 1607
       #4

    I used the Group Policy on my 64-bit desktop Windows 10and it works fine.But on my 32-bit tablet with Windows 10 Homethe registry key does not work. This is after doing gpupdate.exe /force.
      My Computer
    Computer Type: PC/Desktop
    OS: Windows 10 1607
    CPU: AMD APU
    Motherboard: F2A85-PRO
    Memory: 8GB
    Screen Resolution: 1920x1080
    Hard Drives: 2 x SSD1 x HDD
    Browser: EdgeIE
    Antivirus: Windows Defender


  5. Posts : 76,564
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #5

    Hello Mark:)

    Did you also test to see if restarting Windows on the tablet may help?
      My Computers
    Computer Type: PC/Desktop
    System Manufacturer/Model Number: Custom self built
    OS: 64-bit Windows 11 Pro for Workstations
    CPU: Intel i7-8700K 5 GHz
    Motherboard: ASUS ROG Maximus XI Formula Z390
    Memory: 64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card: ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card: Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays: 2 x Samsung Odyssey G75 27"
    Screen Resolution: 2560x1440
    Keyboard: Logitech wireless K800
    Mouse: Logitech MX Master 3
    PSU: Seasonic Prime Titanium 850W
    Case: Thermaltake Core P3 wall mounted
    Cooling: Corsair Hydro H115i
    Hard Drives: 1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, TerraMaster F8 SSD Plus NAS
    Internet Speed: 2 Gbps Download and 100 Mbps Upload
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium
    Other Info: Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, CyberPower CP1500PFCLCD, Galaxy S23 Plus phone

    View my PC Album
    Computer Type: Laptop
    System Manufacturer/Model Number: HP Spectre x360 2in1
    OS: 64-bit Windows 10 Pro build 21390
    CPU: i7-1065G7 3.9 GHz
    Memory: 16 GB LPDDR4-3200
    Graphics Card: Intel Iris Plus
    Sound Card: Intel SST
    Monitor(s) Displays: 13.3" 4K UWVA AMOLED multitouch
    Screen Resolution: 3840 x 2160
    Hard Drives: 512 GB PCIe NVMe M.2 SSD
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium


  6. Posts : 172
    Windows 10
       #6

    I found that the registry edit works wellso I avoided changing the policy altogether.
      My Computer
    Computer Type: PC/Desktop
    System Manufacturer/Model Number: homemade in 2010
    OS: Windows 10
    CPU: Core i7 870
    Motherboard: Gigabyte P55A-UD3
    Memory: 16 GB G.Skills
    Graphics Card: ASUS GeForce GTX 680
    Sound Card: on-board audio
    Monitor(s) Displays: Samsung 23"
    Screen Resolution: 2048x1152
    Keyboard: Das Keyboard 4 Ultimate
    Mouse: ASUS Republic of Gamers
    PSU: Corsair 650W
    Case: Cooler Master full tower
    Cooling: stock CPU fan
    Hard Drives: OCZ Vertex 3 OCZ Vertex 2 Western Digital
    Browser: Chrome
    Other Info: third computer built in the past ten years


  7. Posts : 76,564
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    satchmo said:
    I found that the registry edit works wellso I avoided changing the policy altogether.
    Hello Satchmo:)

    I'm glad to hear it's working well for you.

    I hate to be the one that breaks the bad news to youbut the registry edit is the same thing that group policy sets. I just like having different options for doing the same thing in the tutorials in case one option (ex: group policy) is not an available option in say Windows 10 Home.
      My Computers
    Computer Type: PC/Desktop
    System Manufacturer/Model Number: Custom self built
    OS: 64-bit Windows 11 Pro for Workstations
    CPU: Intel i7-8700K 5 GHz
    Motherboard: ASUS ROG Maximus XI Formula Z390
    Memory: 64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card: ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card: Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays: 2 x Samsung Odyssey G75 27"
    Screen Resolution: 2560x1440
    Keyboard: Logitech wireless K800
    Mouse: Logitech MX Master 3
    PSU: Seasonic Prime Titanium 850W
    Case: Thermaltake Core P3 wall mounted
    Cooling: Corsair Hydro H115i
    Hard Drives: 1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, TerraMaster F8 SSD Plus NAS
    Internet Speed: 2 Gbps Download and 100 Mbps Upload
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium
    Other Info: Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, CyberPower CP1500PFCLCD, Galaxy S23 Plus phone

    View my PC Album
    Computer Type: Laptop
    System Manufacturer/Model Number: HP Spectre x360 2in1
    OS: 64-bit Windows 10 Pro build 21390
    CPU: i7-1065G7 3.9 GHz
    Memory: 16 GB LPDDR4-3200
    Graphics Card: Intel Iris Plus
    Sound Card: Intel SST
    Monitor(s) Displays: 13.3" 4K UWVA AMOLED multitouch
    Screen Resolution: 3840 x 2160
    Hard Drives: 512 GB PCIe NVMe M.2 SSD
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium


  8. Posts : 148
    Windows 10 1607
       #8

    Brink said:
    Hello Mark:)

    Did you also test to see if restarting Windows on the tablet may help?
    I didand it didn't!

    Howeverwhat I then did was download the same .reg file as you have herebut from another sourceand import that. For some reason that did it.
    Nothing changed - I had already created the correct key and DWORD. But it didn't take effect until I imported that .reg file.
    Weird!
      My Computer
    Computer Type: PC/Desktop
    OS: Windows 10 1607
    CPU: AMD APU
    Motherboard: F2A85-PRO
    Memory: 8GB
    Screen Resolution: 1920x1080
    Hard Drives: 2 x SSD1 x HDD
    Browser: EdgeIE
    Antivirus: Windows Defender


  9. Posts : 76,564
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #9

    Mark,

    Odd. Are the contents of that .reg file the same as this one?

    If sothen I suppose that it may just not have successfully fully merged last time.
      My Computers
    Computer Type: PC/Desktop
    System Manufacturer/Model Number: Custom self built
    OS: 64-bit Windows 11 Pro for Workstations
    CPU: Intel i7-8700K 5 GHz
    Motherboard: ASUS ROG Maximus XI Formula Z390
    Memory: 64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card: ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card: Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays: 2 x Samsung Odyssey G75 27"
    Screen Resolution: 2560x1440
    Keyboard: Logitech wireless K800
    Mouse: Logitech MX Master 3
    PSU: Seasonic Prime Titanium 850W
    Case: Thermaltake Core P3 wall mounted
    Cooling: Corsair Hydro H115i
    Hard Drives: 1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, TerraMaster F8 SSD Plus NAS
    Internet Speed: 2 Gbps Download and 100 Mbps Upload
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium
    Other Info: Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, CyberPower CP1500PFCLCD, Galaxy S23 Plus phone

    View my PC Album
    Computer Type: Laptop
    System Manufacturer/Model Number: HP Spectre x360 2in1
    OS: 64-bit Windows 10 Pro build 21390
    CPU: i7-1065G7 3.9 GHz
    Memory: 16 GB LPDDR4-3200
    Graphics Card: Intel Iris Plus
    Sound Card: Intel SST
    Monitor(s) Displays: 13.3" 4K UWVA AMOLED multitouch
    Screen Resolution: 3840 x 2160
    Hard Drives: 512 GB PCIe NVMe M.2 SSD
    Browser: Google Chrome
    Antivirus: Windows Defender and Malwarebytes Premium


 

Tutorial Categories

Enable or Disable Lock Screen in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


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

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




Windows 10 Forums