|
-
Jul 16th, 2001, 12:57 AM
#1
Thread Starter
Hyperactive Member
Win NT remote shutdown API
I once saw a web page that had an API that could shut down a windows NT box remotely. It had like 4 paramiters, one was a time delay of how long you wanted the shut down box to appear on the NT computer, the other was what type of shutdown, and I forgot the others. Does someone know what that api is, and if it work on windows 2000, and what type of privilages you need to do it? Some one please help.
-
Jul 16th, 2001, 08:38 AM
#2
Member
Seeing as Windows NT doesn't support power management, that's pretty weird.
-
Jul 17th, 2001, 06:27 AM
#3
Black Cat
The API is InitiateSystemShutdown. Windows 2000 adds an InitiateSystemShutdownEx, but the older API will still work on W2K. You need Admin priviledges on remote computers, or SE_SHUTDOWN_NAME privilege.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|