TechSupp Posted April 5, 2011 Posted April 5, 2011 One of my servers has misbehaved and is not printing or allowing me to remore desktop in to it, although I can browse its files and folders and ping it. Can I reboot it remotely from a command prompt as cant get out to it (its in another school) just yet and dont really want to use the alternative of getting someone to press and hold the power button to force it off!
Dos_Box Posted April 5, 2011 Posted April 5, 2011 Can't you do a ACPI power down i.e. press the on\off button and see if that triggers Windows shutdown routine?
strawberry Posted April 5, 2011 Posted April 5, 2011 open dos prompt, do shutdown /? will give you the syntax.
chazzy2501 Posted April 5, 2011 Posted April 5, 2011 shutdown -i in the run command. then pick server... If you have an apc ups with webinterface you can tell the servers copy of apc to shutdown as well.
Steve21 Posted April 5, 2011 Posted April 5, 2011 shutdown -m \\"pc name" /r Is other option, but all the above work just as well really Steve
TechSupp Posted April 5, 2011 Author Posted April 5, 2011 Thanks for all the quick replies, looked at the shutdown -i but no computers appeared in the list (was doing it from the other main domain server), its the print/backup domain server thats playing up. Did shutdown /r /m \\servername just awaiting results of that.
Hightower Posted April 5, 2011 Posted April 5, 2011 If that doesn't work, try a /f trigger too on the end
TechSupp Posted April 5, 2011 Author Posted April 5, 2011 Well it didnt reboot, just sat there allowing me to browse the files via My Computer! Anyway had a brainwave and used GenControl (vnc in the background) and ity connected to the server. Everything looked OK apart from Sophos had some error messages (used to those!), so just rebooted it from the menu as normal. Now awaiting to see if someone will check to see if my test print has appeared!
chazzy2501 Posted April 5, 2011 Posted April 5, 2011 with shutdown -i you can use the add button then type the servers name OR ipaddress. You could also try kicking it and holding the powerbutton in for ages. (this may destroy the server if actually attempted)
TechSupp Posted April 5, 2011 Author Posted April 5, 2011 That last option was tried earlier on this year! Thats why we bought the new domain controller server. Not printing is not a priority but logging on and getting to files is so we left the prinetrs and sphos and wsus on the old server for the moment. Anyway ist come back online and now remote desktops in to it so fingers crossed. Boy and I glad of this forum!
TechSupp Posted April 5, 2011 Author Posted April 5, 2011 Whooohooo! We have lift off, printing is back on line :-) Dont know what happend there, yet another mystery as nothing jumps out at me from the event viewer.
oxide54 Posted April 5, 2011 Posted April 5, 2011 for future reference, if shutdown.exe doesn't work you can use pskill.exe to kill winlogon.exe
mac_shinobi Posted April 6, 2011 Posted April 6, 2011 psshutdown or psexec to launch a remote cmd on the server and then from there try the shutdown command which will run it locally on the server ? WMIC OS Where Primary=TRUE Call Shutdown Batch files - Shutdown and Reboot 1
oxide54 Posted April 6, 2011 Posted April 6, 2011 psshutdown or psexec to launch a remote cmd on the server and then from there try the shutdown command which will run it locally on the server ? WMIC OS Where Primary=TRUE Call Shutdown Batch files - Shutdown and Reboot i find quite often you can issue a shutdown, and it is in progress and you can't rdesktop the machine but the shutdown is waiting for you to click something on an app. you can't use the shutdown.exe option to cancel the shutdown, pskill.exe against winlogon.exe normally gets round this.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now