Introduction: Simple Batch Commands.
In this Instructable I will show you some simple yet effective Batch Commands. I will also treat my computer like it is a school computer and limit what I can do.
Step 1: The Shutdown Command
So with this command I can shut down the computer by its name or by its IP address. So first thing I will do is open the Command Prompt, I do this by Clicking on run. For vista users you can Hold down the Windows Key and press R. But there is a problem. The command prompt HAS to be run as an administrator for it too function to its best. But for this command, it should be fine. So I just type in CMD into Run and press enter or "OK".
Step 2: The Command
So now that Command Prompt is open, you can do more with your computer, or school computer. The command prompt itself looks complicated but its not, once you get use to it. So, the shutdown command is simply "shutdown -i", type that and press enter.
Step 3: Shutdown -i Box
So now you have pressed enter, another new window should of opened, this is where the "magic" happens. So, first of all you need to add the computer via its IP or Name. Click the add button then a new window will open that says "Add Computers" so go ahead and enter an IP/Computer Name and press "OK".
Then you can just go and put in whatever you want, what you want these computers to do, for example shutdown or restart. Then you can add how much time you can give the user to save there work, put in "0" for no time. Then go and fill in the other options. The comment section is what message comes up on screen when you indicate the shutdown, for Restart and Shutdown, the comment HAS to be filled in, but with the Unexpected shutdown, you can leave it blank. So in the comments section I put in something very "scary" "Virus Detected, Your computer is been shutdown to protect files"
Then you can just go and put in whatever you want, what you want these computers to do, for example shutdown or restart. Then you can add how much time you can give the user to save there work, put in "0" for no time. Then go and fill in the other options. The comment section is what message comes up on screen when you indicate the shutdown, for Restart and Shutdown, the comment HAS to be filled in, but with the Unexpected shutdown, you can leave it blank. So in the comments section I put in something very "scary" "Virus Detected, Your computer is been shutdown to protect files"
Step 4: Finished
Now that the basic information on how you want your victims computer to shutdown has been added, you just need to press OK and watch as the computer shuts down "magically".
Step 5: So How Do I Do This on Schools?
Most school networks have blocked the CMD application from been accssed to stop things like this from happening, but you can get around it very, very easly.
So your school computer has a bunch of programs installed, I bet somewhere you can find one that has a readme folder. So go ahead and look for one.
In this case, I found a ReadMe file on my Printer installation folder. So open up that readme and it should open up by default as a Notepad application window.
So your school computer has a bunch of programs installed, I bet somewhere you can find one that has a readme folder. So go ahead and look for one.
In this case, I found a ReadMe file on my Printer installation folder. So open up that readme and it should open up by default as a Notepad application window.
Step 6: The Command
So go ahead and press CTRL+A so all the boring stuff inside is selected, then delete it. Then type:
"command.com" without the "" and press Save As. BUT STOP THERE.
"command.com" without the "" and press Save As. BUT STOP THERE.
Step 7: Saving As a Command Prompt Application
Delete the file name and same it as cmd.bat<<<<< The .bat HAS to be there. Then click the drop down arrow of "Save as type:" and click "all files". The save it to somewhere and make sure that your teacher isn't watching your screen or you could get into big shit.
Step 8: Open It.
Now you have saved it, open it up and you have your own CMD application, just make sure you don't let anyone see it which brings me onto....
DISCLIMER: I AM NOT RESPONSABLE FOR ANYTHING YOU DO WITH THIS FOLDER AND COMMAND AND ANYTHING YOU DO DO IS AT YOUR OWN RISK AND I WILL NOT BE HELD RESPONSABLE.
DISCLIMER: I AM NOT RESPONSABLE FOR ANYTHING YOU DO WITH THIS FOLDER AND COMMAND AND ANYTHING YOU DO DO IS AT YOUR OWN RISK AND I WILL NOT BE HELD RESPONSABLE.
Step 9: Thanks
Thanks for reading this instructable and I hope it comes into some use. Please comment on it for anything I may of missed out on. Thanks again!