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

  • Confused by all the agile advice? Relax! With the Agile for Dummies eBook by your side you'll learn the fundamentals of agile and how to increase the productivity of your software teams while enabling them to produce higher-quality solutions that better fulfill customer needs much faster.

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds