Remote shutdown

  • Thread starter Thread starter Melon Head
  • Start date Start date
M

Melon Head

Hi. Can anyone tell me how to remotely shutdown an XP computer? I am
trying to have a computer shutdown when people leave their computer and
forget to turn them off. I figure if I can get the code to do it I can run
it as a scheduled program. I have heard of PSSHUTDOWN being used for this
task but whenever I run it I get a logon failure with bad user or Password,
when I know that they are the right ones. Any Idea's?
 
Melon Head said:
Hi. Can anyone tell me how to remotely shutdown an XP computer? I am
trying to have a computer shutdown when people leave their computer and
forget to turn them off. I figure if I can get the code to do it I can run
it as a scheduled program. I have heard of PSSHUTDOWN being used for this
task but whenever I run it I get a logon failure with bad user or Password,
when I know that they are the right ones. Any Idea's?

You need administrator access rights to shut down a computer
remotely.

Enter the following command:

psshutdown -u username -p password -k -f -t 00 \\computername

Replace username with the name of anybody with admin rights on
the target computer, password with his password, and
computername with the name of the target computer.

Hans-Georg
 
Back
Top