Re: Security Excetion while Rebooting a remote computer using WMI



i remember vaguely that you have to explicitly enable the shutdown privilege for such an operation - look at the "connection string" syntax for WMI.

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com

Hi,

I am trying to rebbot a remote computer using WMI in c# but it failes
and riases an exception called "Security Exception". What seeting i
need for code level security which gives me an access to use the
System.Managent namespace.



.