Restarting a computer using the command line Log in as an administrator. Open Command Prompt from the Start menu. Type 'shutdown /i' in the Command Prompt window and then press ↵ Enter. A window will open with the option to restart the remote computer.
Procedure. Use the Restart Desktop command. Select Options > Restart Desktop from the menu bar. Right-click the remote desktop icon and select Restart Desktop.
You can use the services console, clicking on the left hand side and then selecting the "Connect to another computer" option in the Action menu.
If you wish to use the command line only, you can use
sc \\machine stop <service>
You can use mmc:
At that point you will be able to manage services as if they were on your local machine.
You can use System Internals PSEXEC command to remotely execute a net stop yourservice, then net start yourservice
Using command line, you can do this:
AT \\computername time "NET STOP servicename"
AT \\computername time "NET START servicename"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With