ExitWindowsEx from asp.net

P

Paul Dumais

I am trying to call the function ExitWindowsEx from ASP.NET but I get
the error 1314, ERROR_PRIVILEGE_NOT_HELD. I have enabled the
SeShutdownPrivilege token. I cannot use WMI since WMI is not able to
reboot the local machine.

Does anyone have any ideas why this does not want to work, or any
ideas of other ways of rebooting the local machine from asp.net?

Thank you,
Paul.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top