Shutting Down a Remote Machine on a Local Network

Environment: VC6

This is a simple, dialog-based application that allows a user to shut down a remote or local machine, using any domain or local account that has remote shut-down privileges. The downloadable code demonstrates how to create a thread that uses different account rights as the parent process.

Downloads

Download demo project - 20 Kb


Comments

  • Not run!!!

    Posted by lad on 08/09/2004 11:59pm

    I receive error: "A required privilege is not held by the client" Why that?

    Reply
  • Axpers Esi menak Hajastanuma ashxatum :))))))))))))))

    Posted by Legacy on 09/30/2003 12:00am

    Originally posted by: Armen

    :)))

    Reply
  • Shutdown.exe

    Posted by Legacy on 05/26/2003 12:00am

    Originally posted by: Russ Freeman

    Shipped with my copy of windows XP.

    Reply
  • Can not logon

    Posted by Legacy on 04/14/2003 12:00am

    Originally posted by: whymeantaisao

    Error: A required privilege is not held by the client. Can you show me how

    Reply
  • error

    Posted by Legacy on 04/10/2003 12:00am

    Originally posted by: gwyn

    I kept having the error below after compilation.
    "--------------------Configuration: ShutDWN - Win32 Debug--------------------
    Compiling...
    ShutDWNDlg.cpp
    c:\documents and settings\gwyn\local settings\temp\temporary directory 3 for shutdown.zip\shutdown\shutdwndlg.cpp(4) : fatal error C1083: Cannot open include file: 'ShutDWNDlg.h': No such file or directory
    Error executing cl.exe.

    ShutDWNDlg.obj - 1 error(s), 0 warning(s)
    "

    • solution of your error

      Posted by leojose on 10/29/2005 03:26am

      Either the file ShutDWNDlg.h is not present on the same path as the one you are compiling from or the path shutdwndlg.cpp is too long. Try placing the project on a directory with a shorter path name

      Reply
    • shutdown.zip\shutdown\shutdwndlg.cpp(4)

      Posted by newfmc on 12/22/2004 07:51am

      NO COMMENT

      Reply
    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • A majority of organizations are operating under the assumption that their network has already been compromised, or will be, according to a survey conducted by the SANS Institute. With many high profile breaches in 2013 occurring on endpoints, interest in improving endpoint security is top-of-mind for many information security professionals. The full results of the inaugural SANS Endpoint Security Survey are summarized in this white paper to help information security professionals track trends in endpoint …

  • Best-in-Class organizations execute on a strategy that supports the multi-channel nature of customer requests. These leading organizations do not just open up their service infrastructures to accommodate new channels, but also empower their teams to deliver an effective and consistent experience regardless of the channel selected by the customer. This document will highlight the key business capabilities that support a Best-in-Class customer engagement strategy.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds