Has something changed in Server 2019?
Under Server 2016 I was able to run this command in a non-elevated prompt:
shutdown /r /t 0
In Server 2019, however, when I attempt to do so I get:
Access is denied.(5)
The command works fine from an elevated prompt. I'm signed in as the same domain admin that I was under Server 2016 (same SID, same domain).
This Q&A asks a similar question, but the answer is proprietary.
Articles like this are readily available:
http://woshub.com/allow-prevent-non-admin-users-reboot-shutdown-windows/
...but I don't want to allow a non-admin user to run the commands. I'm the domain admin and I want that supreme power all to my itty-bitty self. I just don't want to have to wrangle with UAC in order to exercise it.
Under Server 2019, how can I successfully run this command from a non-elevated prompt as I did in Server 2016?