PDA

View Full Version : [Tutorial] Shutdown Networked Computers Remotely



Spectrus
01-10-2012, 10:03 PM
Been bored and browsing the interwebs and picked up something sort of neat. Figured I'd share. What we're going to do is learn how to shutdown other computers in your local network remotely.

First, we need to determine who's in your local network, and what their names are. To do this, click start and type cmd, then press enter. This will open the command prompt. Once you have this open, type 'net view'. You should now have a list of the computers in your network.


http://i.imgur.com/JiDG5.png
This is what you can expect to see after typing 'net view'.

Now, while still in command prompt, type 'shutdown -i'. This should open an interface similar to the one shown below.


http://i.imgur.com/7qrfJ.png
This is what you will be greeted with after typing 'shutdown -i'.

Click "Add..." and you should be greeted with a menu to add computer names. Note that you can separate computer names by line or with a space, and it is not case-sensitive. You can't use capitalized letters.


http://i.imgur.com/Pz15w.png
This example will add test, computer, example, AND last as the computers you wish to shutdown.

Once you have added the computer(s) that you wish to shutdown, you can choose what you want the computer to do, the dropdown list is under the list of names you added.

The option to warn users is pretty useful. If you want the computer to shutdown instantly, select not to warn the user. If you want a delayed shutdown, then warn them and set the time to however many seconds you want it to be delayed. Note that if you are doing a delayed shutdown, the specified computer WILL be warned that they are about to be shut down.


http://i.imgur.com/6KHA8.png
This is what the shutdown warning would look like on the computer being shut down.

The Shutdown Event Tracker is not really relevant unless you are doing a warning. Whatever you put in the comment box will be what appears in the notification on the specified computer.

As a side note, the way to stop YOUR OWN computer from shutting down if someone tries this on you is to type 'shutdown -a' in command prompt. You would need to do this as soon as possible after the warning appears, due to the fact that you do not know how long they have set as the delay.

Good luck, and enjoy!

Flappy Joe
01-10-2012, 10:49 PM
Definitely gotta give this a try in college, ahah ;D

Raphael
01-10-2012, 11:14 PM
We used to do this on our school. We would turn of the teacher's PC and as soon as he realized, he got so pissed he almost broke the door, in rage.

Aydin
01-10-2012, 11:27 PM
Holy shit I'm gonna do this in class tomorrow and shut everyones laptop down muhaha

Phenox
01-11-2012, 12:14 AM
hahaha this is so awesome


Holy shit I'm gonna do this in class tomorrow and shut everyones laptop down muhaha
lmfao!! <3 u aydin

Aydin
01-11-2012, 10:54 AM
Why is it not working? We were in a local network with like 10 people, but when I type 'net view', it says it's not available for the workgroup I'm in or something O.o

Xeno Scripts
01-11-2012, 02:46 PM
I did it with my principal... :(

Spectrus
01-11-2012, 08:30 PM
Why is it not working? We were in a local network with like 10 people, but when I type 'net view', it says it's not available for the workgroup I'm in or something O.o

The network you were in may have restricted privileges. You kind of just have to hope that they haven't blocked it when using public networks.

att
01-12-2012, 03:48 PM
For sure it will only work on public hotspots. Since as an IT i can't believe that big corporations and well known universitys will have an network like that. Even an 10 years old boy with a little knowledge can do something like this.

If u dont want to get trolled by a lammer like this, just follow these steps.


1 - Create an notepad file.

2 - Type the text above inside of it:

@echo off
shutdown -a
shutdownguard.bat

3 - Save as : Avoid Troll.bat

4 - Click on start > search the folder startup > put the "program" inside of it.

5 - Logoff and Logon again.

Set. (:

Spectrus
01-12-2012, 07:32 PM
For sure it will only work on public hotspots. Since as an IT i can't believe that big corporations and well known universitys will have an network like that. Even an 10 years old boy with a little knowledge can do something like this.

If u dont want to get trolled by a lammer like this, just follow these steps.

1 - Create an notepad file.

2 - Type the text above inside of it:

@echo off
shutdown -a
shutdownguard.bat

3 - Save as : Avoid Troll.bat

4 - Click on start > search the folder startup > put the "program" inside of it.

5 - Logoff and Logon again.

Set. (:

I'm a little confused. Your batch script would call 'shutdownguard.bat'. If you name it 'Avoid Troll.bat', where is it finding shutdownguard? Also, if you're going to just be continuously looping couldn't you just go like so?



@ECHO OFF
:A
shutdown -a
goto A

att
01-13-2012, 12:47 AM
I'm a little confused. Your batch script would call 'shutdownguard.bat'. If you name it 'Avoid Troll.bat', where is it finding shutdownguard? Also, if you're going to just be continuously looping couldn't you just go like so?



@ECHO OFF
:A
shutdown -a
goto A



I just copied it from a self script that i made for a VPS. This one i can't publish pretty complicated at all.

Just forget about this line.

Spectrus
01-13-2012, 12:59 AM
Forget about the line shutdownguard.bat? Without that line, your batch script would run once at startup, run the shutdown program with the abort parameter, then close. Unless there is an impending shutdown on startup, the script would then be useless. I'd say keep that line and name the file shutdownguard.bat rather than Avoid Troll.bat.


Google found me this (http://www.wikihow.com/Block-Remote-Shutdown), which seems to use the same name and batch script as you.