How to Remotely Shutdown/ Restart/ Logoff Any Computer (Prank)




About: Game Nox is a Computer Game Company run by...who else? Me and a few friends and family. Visit my site!!

I DO NOT recommend doing this at school. First off, you can get yourself in to big crap if you do.
Second, Administrators block cmd.exe so you can't do stuff like this.(Easy to pass though. They already have a bunch of Instructables on how.)

Also, I dont know if this is considered hacking or not, so only do it to people who wouldn't care.

Now that I am done being Mr. Strict, the boring old normal teacher, lets get started!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Steal the IP Adress!

To shudown or whatever you want to do, you first need your victim's IP adress. This is the computer's connection to the Internet. The easist and fastest way to is to run cmd.exe (Command Prompt) on your victim's computer. Click start and then run. Type in cmd.exe and click the RUN button. Type in this afrer Command Prompt opens (NO QUOTES!):


Copy the IP down on a piece of paper.

Step 2: Run Back to Your Computer!!!

Get away from your victim's computer before they catch you!!!!

Step 3: The Fun Part

Ok, once you get back to your computer, you should wait until you know your victim is on his/her computer. Run cmd.exe on your computer (Wow, you can do a lot with Command Prompt, huh?). Type in (Without quotes):

"shutdown -i"

This opens up a window called Remote Shutdown Dialog. Click on the "Add" button and type in your victim's IP adress (Yes, you can prank multiple victims at one time.). Click OK and choose what you want to do to thier computer (Shutdown, Restart, Logoff) If you want to rub it in thier face, check Warn Users of Action and set the time that it will take for them to save thier stuff. MAKE SURE YOU CHECK THE PLANNED BOX!!! If you don't it can mess up thier computer (Well, they can when it turns back on.) And if you really want to rub it in thier face, you can add a comment like: "Haha loser you just got PRANKED!!! You have exactly 20 seconds to save your stuff! What an idiot!!". You know, someting really sutle and light.

Be the First to Share


    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    84 Discussions

    Tanmay Das

    7 years ago on Introduction

    Nice one,
    But try this:
    1) Open Notepad and type:
    @echo off
    set /p vic= Enter the IP of your victim :
    shutdown -m \\%vic% -r -c "You R just H4CK3D. Sucker. Shutdown in 20 secs. HA HA...." -t 60
    echo Victim Hacked....

    2) Save it as anything.bat.
    3) When you run it, it'll ask for your victim's IP. Enter it and you are done.

    It's not perfect, It's just v1.0, v2.0 will come soon.
    Have fun.

    6 replies

    It seems I made a mistake there. A lot of times the IP address might not work so you have to enter the hostname of the pc.

    Sorry for the mistake.

    Tanmay DasKembavov_game

    Reply 1 year ago

    Finding the host name is a little tough because most pcs block that information.

    You can use the IP address too.


    4 years ago on Introduction

    i got 4 week detention for doing this and got suspended forever on the pc because i did this to a teacher wow stupid me

    2 replies

    Reply 1 year ago

    its ok. We all know what it is like. Almost got caught when I deleted the logoff option on someone elses computer. Phew!


    3 years ago

    it says access denyed, how do i fix that after i typed all the stuff in

    4 replies

    Reply 3 years ago

    Run the command prompt or console in admin mode. Right click on the command prompt icon when you search it and click run as administrator.


    Reply 1 year ago

    Look at other instryctables that get you an admin account.


    Reply 3 years ago

    That didnt work i still got sys error 5


    2 years ago

    I think a much smarter way to get the victim's ip rather take the chance your victim will catch you is to get the ip remotely by first typing in your cmd "net show" to bring up computers on your network, and then type "tracert [computer name]" and it will bring up its ip.

    1 reply

    1 year ago

    If i get my friends IP using Whireshark and put it in the Remote Shutdown Dialog will it work?


    2 years ago

    cant you just look up the IP adress on google coz i found that quick and easy and if you find i hard to find the ip adress in cmd