>Hi All,
>
> I want to shut down the machine from my program. I found Few Win32Api functions as ExitWindowsEx which works fine. And one is InitiateSystemShutdown which works in NT. and through this we can shutdown other machine also. Is there any other api or function, which shutdowns other machine in novell server ? So one can shutdown other machine from one machine
>
>Please help
You could write a COM object (which would have to run on each target machine that you want to be able to shut down this way) that implements ExitWindowsEx() on the server, and make each one addressible somehow. This would require an out-of-process remote (DCOM) server to run on each target system, and would open up the possibility that you might shut down something accidentally (or worse, maliciously).