How do i shutdown a computer on a network?

I was wondering, is there a way that i could shutdown a computer on a network without the other user being able to stop me. Also can this be done through a batch file? If so, what do i need to type in?

Thanks in advance.
Who is Participating?
Use the remote shutdown tool from MS.

The beef here:
Shutdown.exe uses the following syntax:
shutdown \\computername /l /a /r /t:xx "msg" /y /c
You can use the following switches with Shutdown.exe: • \\computername: Use this switch to specify the remote computer to shut down. If you omit this parameter, the local computer name is used.
• /l (Note that this is a lowercase "L" character): Use this switch to shut down the local computer
• /a: Use this switch to quit a shutdown operation. You can do this only during the time-out period. If you use this switch, all other parameters are ignored.  
• /r: Use this switch to restart the computer instead of fully shutting it down.
• /t:xx: Use this switch to specify the time (in seconds) after which the computer is shut down. The default is 20 seconds.
• "msg": Use this switch to specify a message during the shutdown process. The maximum number of characters that the message can contain is 127.
• /y: Use this switch to force a "yes" answer to all queries from the computer.
• /c: Use this switch quit all running programs. If you use this switch, Windows forces all programs that are running to quit. The option to save any data that may have changed is ignored. This can result in data loss in any programs for which data is not previously saved.

And I could care less about how you want to use it.
Good grief it isn't like it was top secret information or anything.
Asta CuTechnical consultant & graphic designCommented:
Please tell us why you'd want to do this; considering "works in progress, work unsaved and so on".....
Asta CuTechnical consultant & graphic designCommented:
Also tell us about your environment, your authority and more..... I just don't understand the value of responding here without knowing more.
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Asta CuTechnical consultant & graphic designCommented:
Thanks for the details.  It's family day and I'm a bit scattered, but don't want to be unresponsive.  The additional info and clarification is appreciated.  I'll return tomorrow and hopefully, in the interim,  others will step in here sooner to give you what you need.  Thanks for your patience.  ":0) Asta
Asta CuTechnical consultant & graphic designCommented:
No idea, TheLearnedOne, if the information provided by other expert helped; no response from Asker.  I surely expect zero points, personally.
Thanks for the cleanup work.
Asta CuTechnical consultant & graphic designCommented:
Sounds good to me.  ":0) Asta
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.