How to write a notepad.exe file to remote shutdown computers via command prompt?

Posted by admin
Remote File Back Up
paintballer100 asked:


Hey, I am a senior in a web page publishing class at my local high school. There are some sophomores and juniors in my class that just found out about the “shutdown -i” command in command prompt, and are using it to remote shutdown eachothers computers. In part, that was my fault. Someone kept looking off my html code and copying it, so I shut him down, and they all figured it was me.

So it gets really annoying having people shut me down in the middle of me coding, without saving. So I decided to try and write a quick program in notepad, and save it as a .exe to remotely shutdown all of their computers.

This is what I came up with-

/run shutdown -s -f -m \\037JHSC20-48 -t 02 -c “a certain comment”
shutdown -s -f -m \\037JHSC20-49 -t 02 -c “a certain comment”
shutdown -s -f -m \\037JHSC20-50 -t 02 -c “a certain comment”
shutdown -s -f -m \\037JHSC20-51 -t 02 -c “a certain comment”

and I just had a line like that for every computer except for mine.

Our teacher doesn’t usually use a computer. He just sits down and tells us what to do. I tried to write that in notepad, and save it as a .exe, with the encoding set to ANSI. It didn’t work… Is there something I’m missing?

I also tried to write a program to abort shutdowns. Some of them haven’t found out how to remove the default 20 second timer, giving me enough time to go to run and type in “shutdown -a”, but some are putting 01 seconds and such, so I need to be able to just double click a quick exe file.

We are all logged in as “Student”, so we are all at the same level, with no one as an administrator.

Also, if any of you know how to block remote shutdowns, It’d be greatly appreciated.

So, in conclusion, can anyone help me make a quick executable that will shutdown each computer in my lab, besides my own? The teacher has tried to tell everyone to stop, but they wont. And I’m not going to be a tattle tale. So I figure just doing this will make them stop. Any help would be greatly appreciated!

Anna

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Comments are closed.