Windows 10: Enable or Disable Lock Screen in Windows 10
I get why you suggest restoring the original DLL first. But why not have the script look at the MD5 of the current DLL, and if there's no match, look at the MD5 of the BAK? If that matches, then you're good. Already have a backup and it just means the script has been run before; replace the current DLL as usual and of course don't replace the BAK.
Thank you! Works as expected and without problems.
Hi there "meh"
The reason for that is because a user might have the patch in place, (And the corresponding LogonController.bak file)
He then updates his windows to a new version via WU.
Then the script might not recognize the new dll, but finds a match for the BAK file.
Simply replacing the original without making a backupfile would then be a bad idea.
Making a backupfile anyway would solve that issue, but a new one arises, and that is if a user hasn't updated Windows,
but simply want to run a new version patcher, then making a backup would overwrite the original.
I might add, If you update Windows to a new version dll, with the patch in place, you need to manually delete
the bak file to run the patcher again.
Believe me, I thought about this
If the original didn't match, the script would exit. Obviously. Did I suggest replacing a new, unrecognized DLL? No. Didn't think I needed to be that explicit. I get it. But never mind. Keep putting the onus on the user.
Thank You ! Great results with Windows 10 home 1607 from standby to desktop with no prompt.
Thanks Brink...I have not needed to use this but am sending other Windows 10 users here.*john
I'm glad it could help.
Yesterday: Installed Win10 over win8.1 on another laptop. Ran Patch V.2 and worked as expected!
Today: Automatic updates installed and the Lockscreen was back on.
I ran the Patch again and it said: Already Patched, worked fine after Hibernation, but not after re-boot. Still "suffering" from annoying LockScreen.
Found the solution: I am using Total Commander for File management. There is a registry "patch" called "Take Ownership". When running this patch it add's an option "Take Ownership" to the "Drop-Down Dialog Box".
After "Taking Ownership" of the LockScreen.dll file and running the Patch V.2 again it worked as it should.
This is the fore-mentioned reg file :
Last edited by Brink; 19 Oct 2016 at 08:56.
Reason: added tutorial link for more info
As a safety feature you can't apply a patch twice, as you would then overwrite the backup file.
The script looks for LogonController.bak in the system32
folder which is the backupfiles name.
If you update Windows via WU, and you got a patched dll, you have to manually delete the LogonController.bak
file from System32 if the LogonController.dll gets replaced, otherwise the patcher wont run again.
(access denied message if you try to restore, or Already Patched if you try to patch again )
I have updated linked #162 with this info not to cause confusion.
Last edited by dobbelina; 19 Oct 2016 at 21:22.
How to Enable or Disable Built-in Elevated Administrator Account in Windows 10
This tutorial will show you how to enable or disable the hidden built-in elevated Administrator account in Windows 10.
You must be signed in as an administrator...
How to Enable or Disable Sign-in Screen Background Image in Windows 10
Windows 10 has a new sign in screen that is more modern and touch friendly. By default, you need to dismiss the lock screen and enter your credentials on the Sign-in screen to...
How to Enable or Disable Hibernate in Windows 10
Hibernate is a power-saving state designed primarily for laptops, and might not be available for all PCs (PCs with InstantGo don't have the hibernate option). While sleep puts your work and...
Is there any way to disable the Lock Screen instead so it won't show on startup?
How to Enable or Disable Aero Shake in Windows 10
Your screen(s) can get cluttered if you have a lot of opened app windows. Aero Shake lets you quickly minimize all opened windows except the current active window by shaking its title bar....