From: Windows 7 bug prevents users from shutting down or rebooting computers | ZDNet
A weird bug of unknown origins has been hitting Windows 7 computers this week, according to multiple reports online.
Windows 7 users have been reporting that they are receiving a popup message that reads "You don't have permission to shut down this computer" every time they attempt to shut down or reboot their systems.
The cause of the bug remains unknown at the time of writing.
For the past two days, users have been scratching their heads for solutions around the problem. The good news is that they've found at least one temporary workaround and one unofficial fix to resolve the issue.
A simple workaround was found by a user on Reddit. The workaround doesn't require any scripting or OS system hacks, and could be executed by any Windows 7 user.
The downside is that they have to go through these steps every time they wish to shut down or reboot their PCs.
Step 1: Create another admin account.
Step 2: Log into that account (or another admin account that was already on the system).
Step 3: Log back into the default admin account.
Step 4: Shut down or reboot normally.
"This isn't a solution tho, just a workaround," the user warned on Reddit.
A more permanent way to go around this bug has been put forward by several users on Reddit and by IT support firm Quick Heal.
The fix has been confirmed to work by numerous users and goes like this:
Step 1: Press Windows+R to open the Run window.
Step 2: Type gpedit.msc and press Enter.
Step 3: In the Group Policy Editor window go to: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
Step 4: In the right panel of the Security Options option,search and double-click on "User Account Control: Run all administrators in Admin Approval Mode."
Step 5: In the new window, select Enable.
Step 6: Reopen the Run window, but this time type "gpupdate /force" and press Enter. This will update all group policies.
Step 7: Restart or shut down your system normally.
Windows 7 reached official end of life (EOL) on January 14, 2020 and is not scheduled to receive new fixes.
Last month, Microsoft made an exception to this rule when it provided a fix for a bug that broke wallpaper display for Windows 7 users.
Seeing that rebooting or shutting down your computer is a more important OS feature than wallpaper support, Microsoft will most likely need to make a another exception and deliver a second post-EOL update pretty soon.
One of the fixes I saw was using the shutdown/restart option from the Ctrl+Alt+Del screen. Makes me wonder how effective UAC is, since this is apparently the cause, when it can be bypassed this easily. Part of me wonders too if this is due to security mitigations against the S n a t c h ransomware which reboots PCs into safe mode to bypass AV/AM software, since another article I read on this issue stated some users were blaming BitDefender, and perhaps this mitigation was also delivered through Windows Defender/MSE as well.
black_zion wrote:
One of the fixes I saw was using the shutdown/restart option from the Ctrl+Alt+Del screen. Makes me wonder how effective UAC is, since this is apparently the cause, when it can be bypassed this easily. Part of me wonders too if this is due to security mitigations against the S n a t c h ransomware which reboots PCs into safe mode to bypass AV/AM software, since another article I read on this issue stated some users were blaming BitDefender, and perhaps this mitigation was also delivered through Windows Defender/MSE as well.
windows 10 is hardened against all those threats
That is a completely false statement. To quote Sophos:
https://www.news.sophos.com/en-us/2019/12/09/snatch-ransomware-reboots-pcs-into-safe-mode-to-bypass-protection/
that have been flogging their software for months but redmond has been working hard on security too