EGOvoruhk Posted August 19, 2008 Share Posted August 19, 2008 Is there a way to do it through command prompt?Right now, I'm just using Remote Desktop, and doing a shutdown /r command there. It would be so much easier if I could do it through command prompt, that way I could set up some batch files for the PCs that I need to reboot oftenI've been looking into the net command, and it looks like it might be possibleThanks in advance guys Link to comment Share on other sites More sharing options...
cogumel0 Posted August 19, 2008 Share Posted August 19, 2008 You can use shutdown command to shutdown a remote computer.Normally what I do is "shutdown -f -m \\machine -t 00 -r"-f = force switch, causes applications to close down without asking for confirmation (such as, there is unsaved data, do you want to save)-m = specifies remote machine, ie: -m \\192.168.0.1-t = specified, in seconds, how soon the command will be executed, 00 means it gets executed immediately-r = restart command, you can also do -s to shutdown (just don't use -r and -s at the same time, of course). You cannot, however, do a remote logout using this command.Hope this helps at all Link to comment Share on other sites More sharing options...
GrofLuigi Posted August 20, 2008 Share Posted August 20, 2008 Another alternative, if needed.GL Link to comment Share on other sites More sharing options...
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