Hi!
You could use ExitWindowsEx API using PInvoke to get the work done!.
Regards,
--------------------------------------------------
Kumar Gaurav Khanna Microsoft
MVP - C#, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
"Joe Longo" <jo*******@chcsii.com> wrote in message
news:OF**************@TK2MSFTNGP12.phx.gbl...
I have a service in written in vb dotnet. During execution of this
service, I want it to Reboot the system it runs on. How can I do this with or
without the framework.