Results 1 to 3 of 3

Thread: Win NT remote shutdown API

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313

    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.

  2. #2
    Seeing as Windows NT doesn't support power management, that's pretty weird.

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
  •  



Click Here to Expand Forum to Full Width