Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7662475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:48:46+00:00 2026-05-31T13:48:46+00:00

Im making a client-server application so i need to shutdown the remote pc Silently

  • 0

Im making a client-server application so i need to shutdown the remote pc Silently .. i’ve read about shutdown arguments in Commands Prompt shutdown/? .. but i still don’t know the right arguments to do the commands below.

  • shutdown
  • restart
  • hibernate
  • stand by
  • log off
  • lock (switch user)

    so how do i do those commands locally without (/m) ?

    void ShutDown(string cmd)
    {
        Process.Start("shutdown", cmd);
    }
    

    thanks in advance.

    • 1 1 Answer
    • 0 Views
    • 0 Followers
    • 0
    Share
    • Facebook
    • Report

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    • Random
    1. Editorial Team
      Editorial Team
      2026-05-31T13:48:47+00:00Added an answer on May 31, 2026 at 1:48 pm

      Try this:

      To ShutDown : shutdown -s

      To Restart : shutdown -r

      To Logoff : shutdown -l

      To Hibernate :%windir%\system32\rundll32.exe PowrProf.dll,SetSuspendState

      To Lock : Rundll32.exe User32.dll,LockWorkStation

      To Sleep : rundll32.exe powrprof.dll,SetSuspendState 0,1,0

      Note:While using cmd for Sleep Need to off Hibernation else sys will be hibernated.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
        • Report

    Sidebar

    Related Questions

    im making a Server-Client application.. chat sends commands file-transfer i was wondering if it
    I'm making a file transfer application between (client-server) and have the tools I need
    I am making simple one on server side & one on client side application
    I'm making server-client application. Client can manage server files (rename/copy/delete etc.) When I select
    i making a file transfer (server-client) application .. i have two listviewS to explore
    I'm making two programs; a server application (single instance), and a client application (multiple
    Well I'm making a Client-Server application and I can send messages to my client
    I have a question about python mechanize's proxy support. I'm making some web client
    I am making an application which has j2me in client side and dotnet on
    I am currently working on a silverlight client, making use of a web server,

    Explore

    • Home
    • Add group
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help
    • SEARCH

    Footer

    © 2021 The Archive Base. All Rights Reserved
    With Love by The Archive Base

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.