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

  • On-demand Event Event Date: September 10, 2014 Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild." This loop of continuous delivery and continuous feedback is how the best mobile …

  • It's hardly surprising that half of small businesses fail within the first 1-5 years. It's not easy to launch a new product, single-handedly manage everything from IT to accounting, fend off the competition, and grow a customer base – all at the same time – even with a great concept. Offering awesome customer service can make the difference between a startup that flies and a startup that dies. Read this white paper to learn nine ways customer support can help you beat the competition and grow your …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds