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

  • Managing your company's financials is the backbone of your business and is vital to the long-term health and viability of your company. To continue applying the necessary financial rigor to support rapid growth, the accounting department needs the right tools to most efficiently do their job. Read this white paper to understand the 10 essentials of a complete financial management system and how the right solution can help you keep up with the rapidly changing business world.

  • Hybrid cloud platforms need to think in terms of sweet spots when it comes to application platform interface (API) integration. Cloud Velocity has taken a unique approach to tight integration with the API sweet spot; enough to support the agility of physical and virtual apps, including multi-tier environments and databases, while reducing capital and operating costs. Read this case study to learn how a global-level Fortune 1000 company was able to deploy an entire 6+ TB Oracle eCommerce stack in Amazon Web …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds