Remote Remote of XP Clients

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am struggling to remotely reboot my customers computers when they have
locked the desktop.

The account I am using has full admin rights on the domain and PCs.

The shutdown timer comes on the screen and counts down but then nothing
happens. I think the users may have unsaved work open and am wandering if
this could be causing the failure of the reboot.

Any ideas as I need to force a reboot as I need to install some mandatory
software

Thanks

Tim
 
Tim said:
I am struggling to remotely reboot my customers computers when they
have locked the desktop.

The account I am using has full admin rights on the domain and PCs.

The shutdown timer comes on the screen and counts down but then
nothing happens. I think the users may have unsaved work open and
am wandering if this could be causing the failure of the reboot.

Any ideas as I need to force a reboot as I need to install some
mandatory software

Logged in as this administrator?

shutdown.exe -r -f -m \\fqdn_of_computer -t 30 -c "System will reboot in 30
seconds. Save all work NOW."

Not logged in as this administrator but want to do it to all machines in a
list using a domain account?

--- Start copy below here ---
for /f %%u in (PCs.txt) do (
start psexec \\%%u -u "DOMAIN\ADMIN_USERNAME" -p "%1"
c:\windows\system32\shutdown.exe -r -f -t 30 -c "System will reboot in 30
seconds. Save all work NOW."
)
--- Stop copy above here ---

Save that as Whatever.CMD, create a text file with computer names (one per
line) in it and save it as PCs.txt in the same directory. Download PSEXEC
from sysinternals.com and put it in the same directory as well. Watch for
word-wrapping in this message. Then when you run it, the syntax is:

NameofBatch.cmd Admin_User_Password

And away it goes.
 
Back
Top