{"id":701,"date":"2017-02-02T18:57:28","date_gmt":"2017-02-02T18:57:28","guid":{"rendered":"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/?p=701"},"modified":"2017-02-02T19:05:29","modified_gmt":"2017-02-02T19:05:29","slug":"disabling-the-lock-screen-in-windows-10-anniversary-update-for-ptfb-pro","status":"publish","type":"post","link":"https:\/\/ptfbpro.com\/automate\/disabling-the-lock-screen-in-windows-10-anniversary-update-for-ptfb-pro\/","title":{"rendered":"Disabling the lock screen in Windows 10 Anniversary Update for PTFB Pro"},"content":{"rendered":"<p>A while back I wrote an <a href=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/?p=701\" target=\"_blank\">article about a registry tweak you could make in Windows 10 that disabled the lock screen<\/a>; this forced Windows 10 to show only the login screen when the workstation was locked, and allowed PTFB Pro&#8217;s special &#8220;Unlock computer to press targets&#8221; feature to do its thing. BTW, if you weren&#8217;t even aware that PTFB had such a thing, check it out. You&#8217;ll find the feature in Options -&gt; Configure; it enables PTFB to very briefly unlock a workstation to handle a screen that&#8217;s waiting for a response, then automatically relock your computer afterwards. It&#8217;s a great way to keep things running smoothly on your machine when you&#8217;re not in attendance.<\/p>\n<p>Anyway, it&#8217;s now (finally) come to my attention that the Anniversary Update to Windows 10 broke the registry tweak, bringing the lock screen right back and in your face. Happily there is a new registry tweak that once again keeps that pesky (and in my opinion, largely redundant) lock screen from getting in the way; less happily, Windows 10 keeps resetting the tweak behind your back.<\/p>\n<p>A guy called <a href=\"http:\/\/winaero.com\/blog\/disable-lock-screen-in-windows-10-anniversary-update-version-1607\/\" target=\"_blank\">Sergey Tkachenko on the WinAero site<\/a> wrote an article showing how to get Windows&#8217; built-in Task Scheduler to reapply the registry tweak as often as necessary to keep the lock screen at bay. It&#8217;s an elegant solution, and for your convenience I&#8217;ll include the guts of the procedure here.<\/p>\n<ol>\n<li>Open up Task Scheduler (just type &#8220;Task Sched&#8221; into the search box on your taskbar; it should be the top find)<\/li>\n<li>Choose &#8220;Create Task&#8230;&#8221; from the right-hand &#8220;Actions&#8221; pane. (Note it is &#8220;Create Task&#8221; you want, rather than &#8220;Create Basic Task&#8221;)<\/li>\n<li>On the General tab of the resulting Create Task dialog, give your new task a meaningful name, tick the option marked &#8220;Run with highest privileges&#8221; and choose &#8220;Windows 10&#8221; from the &#8220;Configure for&#8221; dropdown list.<a href=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/General.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-704\" src=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/General-300x228.png\" alt=\"\" width=\"300\" height=\"228\" srcset=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/General-300x228.png 300w, https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/General.png 632w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\n<\/a><\/li>\n<li>Switch to the Triggers tab and two new triggers: &#8220;At logon&#8221; and &#8220;On workstation unlock&#8221;. Set them both to fire for &#8220;Any user&#8221; and take the defaults for everything else.\n<p><a href=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Triggers.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-706\" src=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Triggers-300x228.png\" alt=\"\" width=\"300\" height=\"228\" srcset=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Triggers-300x228.png 300w, https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Triggers.png 632w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\n<\/a><\/li>\n<li>Switch to the Actions tab, and set &#8220;reg.exe&#8221; as the program, then paste the following into the &#8220;Add Arguments&#8221; field (all one line):<br \/>\n<code><code><code>add HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Authentication\\LogonUI\\SessionData \/t REG_DWORD \/v AllowLockScreen \/d 0 \/f<\/code><\/code><\/code>&nbsp;<\/p>\n<p><a href=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Actions.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-705\" src=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Actions-272x300.png\" alt=\"\" width=\"272\" height=\"300\" srcset=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Actions-272x300.png 272w, https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/02\/Actions.png 454w\" sizes=\"(max-width: 272px) 100vw, 272px\" \/><br \/>\n<\/a><\/li>\n<li>On the Conditions tab, you may wish to turn OFF the two power options that restrict the task to AC power if you&#8217;re using a portable device.<\/li>\n<li>Click OK to save your changes, then select your new task and choose &#8220;Run&#8221;from the actions pane to run it once.<\/li>\n<\/ol>\n<p>The registry tweak that disables the lock screen (a setting &#8220;AllowLockScreen&#8221; with a value of zero) has now been applied. The next time you lock your PC, the lock screen won&#8217;t appear; instead you&#8217;ll just see the login screen. When you sign into your PC to unlock it, Windows will undo the registry tweak, but then the task will run (remember the &#8220;On workstation unlock&#8221; trigger?) and set it right back.<\/p>\n<p>I&#8217;m going to try adding this tweak to PTFB Pro&#8217;s workstation unlock service component; if successful, the next release of PTFB will render the above lock screen task unnecessary. For right now however, the above process is an effective and elegant workaround.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A while back I wrote an article about a registry tweak you could make in Windows 10 that disabled the lock screen; this forced Windows 10 to show only the <a class=\"more-link\" href=\"https:\/\/ptfbpro.com\/automate\/disabling-the-lock-screen-in-windows-10-anniversary-update-for-ptfb-pro\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-701","post","type-post","status-publish","format-standard","hentry","category-eliminate-workflow-interuptions"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/701"}],"collection":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/comments?post=701"}],"version-history":[{"count":0,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/701\/revisions"}],"wp:attachment":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/media?parent=701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/categories?post=701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/tags?post=701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}