Open joadoumie opened 4 months ago
@nieubank @bbonaby for visibility. I believe this only affects Windows Customization and Environments for the time-being.
hmm, its probably the use of shutdown.exe on some computers. @joadoumie, can you try opening command prompt or a terminal window (non-admin) on that machine and running the following command.
shutdown.exe -r -t 0
If you have permission the machine should restart.
if you get an access denied message can you tell me if you see your username or the Users group in this group policy?
Type in "group policy" the start menu and click the "Edit Group Policy" app -> In the app select "Local Computer Policy" -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment
Just looked in my Dev Box and yea, looks like the Users group isn't in this policy by default
I guess there are 3 things we can either do.
related #2954
Moving to P3 as this is a niche issue and the most that can be done here is show an additional message saying that the restart wasn't successful.
Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Expected result
Restart flow is initiated.
Actual result
Nothing happens -- there is no way to tell that the restart action has not worked. In this case I have an access denied error.
Included System Information
No response
Included Extensions Information
No response