You don’t have permission shut down and restart this computer

To apply the fix, we will have to change or apply a Group Policy “Run all administrators in Admin approval,” so it can run for all users. Another method is to make changes to the registry. We will cover the following topics: Since Windows Home users do not have access to Group Policy, follow the Windows Registry method. Also, make sure to create a restore point before you begin.

1] Group Policy Method

Open the Run dialog by hitting the Win+R combo, type gpedit.msc and hit OK.Navigate to Computer Settings > Windows Settings > Security Settings > Local Policies > Security OptionsSearch User Account Control: Run all administrators in Admin approval and set it to ENABLEOpen Run prompt and execute the command gpupdate /force. It will force update all group policy to reflect the recent change you madeRestart 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 restart Explorer.exe using the Run dialog

2] Registry Method to Enable LUA

Open Registry Editor Navigate to the following location where the registry key for this is available. Locate EnableLUA, and double click to edit the value Set the value as 1 to set as Enabled. If you use 0, then it is treated as disabled.

What is the use of the policy User Account Control: Turn on Admin Approval Mode?

This policy setting controls the behavior of all User Account Control (UAC) policy settings for the computer. When you enable it, to allow the built-in Administrator account and all other users who are members of the Administrators group to run in Admin Approval Mode. In simple words, it should enable admin users to do everything an Administrator account is allowed to do on the computer. When disabled or misconfigured, the Security Center of Windows will notify about overall reduced functionality. In our case, it was the restriction to shut down the computer or restart it. To what I have seen in the forums, it is not only the issue with restart that can be fixed with this solution but a bunch of problems. It includes saving files from third-party apps, restarting the computer, shutdown, and more. Related read: Prevent users from shutting down or restarting Windows computers.