This is a possible fix:
https://www.bleepingcomputer.com/news/microsoft/windows-7-users-suddenly-cant-shut-down-their-pcs-how-to-fix/1. Open the Run dialog by hitting the Windows+R combo, type gpedit.msc and hit OK.
2. Go to Computer Settings > Windows Settings > Security Settings > Local Policies > Security Options
3. Search User Account Control: Run all administrators in Admin approval and set it to ENABLE
4. Open Run again and do a gpupdate /force
5. Restart the system by opening the Run dialog again, type shutdown -r and hit OK
If you can't turn off after the gpupdate, then kill and rerun Explorer.exe from the Run dialog
Some people also claim that this issue is being caused by a recent Adobe update and that disabling their Windows services will fix the problem.
The services people state should be disabled are "Adobe Genuine Monitor Service", "Adobe Genuine Software Integrity Service", and "Adobe Update".