Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: shutdown another PC through Ms-Dos?  (Read 3754 times)

0 Members and 1 Guest are viewing this topic.

Google

    Topic Starter


    Mentor

    Thanked: 2
    • Certifications: List
    • Experience: Experienced
    • OS: Windows 7
    shutdown another PC through Ms-Dos?
    « on: March 28, 2006, 10:21:05 AM »
    How do you shutdown another persons PC through Ms-Dos or a batch file?(I am connected through the same network. I've heard that you can shut down by doing something like this:
    Code: [Select]
    Shutdown-p

    Backdated

    • Guest
    Re: shutdown another PC through Ms-Dos?
    « Reply #1 on: March 28, 2006, 11:11:04 AM »
    Looking at your other questions, I think you're in the wrong place. If you want to play tricks on other school network users, then you'd probably be better off looking elsewhere.

    Google

      Topic Starter


      Mentor

      Thanked: 2
      • Certifications: List
      • Experience: Experienced
      • OS: Windows 7
      Re: shutdown another PC through Ms-Dos?
      « Reply #2 on: March 28, 2006, 12:07:52 PM »
      I'm not playing tricks, I want to be logged on to two computers and on one of them I have net send on and send a message to myself before and after shutdown and other experiments! ::)

      muhammed75

      • Guest
      Re: shutdown another PC through Ms-Dos?
      « Reply #3 on: April 06, 2006, 02:59:00 PM »
      Hello, im new to this forum.
      Anyways, if you want to shutdown a computer, you should use the 'shutdown' command.
      Some extensions are used, to control how you would shutdown.
      To see the extensions, run cmd.exe, and type:

      shutdown /?


      Now you see a list of extensions...
      Hope i helped...
      « Last Edit: April 06, 2006, 02:59:44 PM by muhammed75 »

      Mindwr@ck



        Rookie
        Re: shutdown another PC through Ms-Dos?
        « Reply #4 on: April 20, 2006, 09:12:20 PM »
        This is how I do it to my front office computer.

        Code: [Select]
        shutdown /s /m \\computer_1 -c "Powering Off" -t 10 -f
        I will break it down for you..

        shutdown (obvious)
        /s = Shutdown the computer (Powers off)
        /m \\computer_1 = Remote computer to shutdown/restart/abort
        -c "Powering Off" =  Shutdown comment (maximum of 127 characters)
        -t 10 = Set timeout for shutdown to xx seconds
        -f =  Forces running applications to close without warning

        You can see the full list at http://www.computerhope.com/shutdown.htm.

        I use this as a batch file that runs when I shutdown my laptop to go home so that the front office PC gets shutdown also without me having to manually do it.

        Couple of things to note (or should I say things I found out when hitting my head on the desk).
        1: This does work on a peer to peer network this is what I have set up and it worked fine. Both PC's are WinXP Pro so that might be something there also.
        2: Make sure you have an account on the PC you are going to shut down. I kept getting access denied because I forgot that the front office PC had a different password for my user account than my laptop.
        3: Sometimes you will still have an issue with this, if so go to the computer you are wanting to shutdown. Go to start>run and type gpedit.msc and hit enter. Go to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options find 'Network access: Sharing and security model for local accounts" and make sure it is set to "Classic - local users authenticate as themselves"

        If it still doesn't work I don't know what to say other than hit your head on your desk a few times and it may come to you... ;D
        « Last Edit: April 20, 2006, 09:30:29 PM by Mindwr@ck »
        Mindwr@ck

        Dilbert

        • Moderator


        • Egghead

        • Welcome to ComputerHope!
        • Thanked: 44
          Re: shutdown another PC through Ms-Dos?
          « Reply #5 on: April 20, 2006, 09:40:06 PM »
          That's a cool command. I'm going to make use of this to benefit myself and a teacher!

          Teacher's benefit: Three kids are always goofing off in Geometry, playing Solitaire and using IE, and such. However, since remote computers may be shut down.....

          My benefit: I get to see the look on their faces! ;D

          (Using comps like that during class time is against the rules...)
          "The geek shall inherit the Earth."

          GX1_Man

          • Guest
          Re: shutdown another PC through Ms-Dos?
          « Reply #6 on: April 20, 2006, 10:07:38 PM »
          Is Armando in your class?

          Dilbert

          • Moderator


          • Egghead

          • Welcome to ComputerHope!
          • Thanked: 44
            Re: shutdown another PC through Ms-Dos?
            « Reply #7 on: April 20, 2006, 10:31:41 PM »
            LOL ;D I dunno, depends on what his real name is.
            "The geek shall inherit the Earth."

            Mindwr@ck



              Rookie
              Re: shutdown another PC through Ms-Dos?
              « Reply #8 on: April 20, 2006, 10:59:51 PM »
              I also use it when my nephew doesn't listen to his mom at the office. It's a great way to get his attention. Also I have a buddy that uses it to boot his kids from their PC when they wont get off of it.
              Mindwr@ck