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

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • Mobile devices, social business apps, and business analytics are converging with the Cloud to create the most substantial changes in technology since the Internet revolution. Businesses have to change the way they think and operate, and with rising budgets for technology, they need someone to provide the services that will keep them competitive in this environment. Learn more about the important technology trends you need to stay on top of to ensure your business doesn't get left behind.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds