How to Remotely Restart Windows Server 2008 R2 and Windows Server 2012 via CMD | drLafo’s Blog

Each Administrator has experienced at least one clock time that he can not access the waiter to restart it, except physically. This can be very torment, in this article, I will try to describe how to configure Windows Server 2008 R2 and Windwos Server 2012 for remote control resume using the command prompt ( CMD ) .
You can find assorted tutorials of this type on the Internet, but most of them are useless because it is not complete. This distant operate choice works on Windows Server 2008 and Windows Server 2012 OS. First, you need to go on the Control Panel – Network and Sharing Center, Change Advanced Sharing settingsTurn on file and printer sharing and Turn on network discovery .
Turn On Local File And Print SharingTurn On Local File And Print Sharing
After that, you type regedit.exe in the run, and after the window opens, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System path and create a NEWDWORD file named LocalAccountTokenFilterPolicy and assign it a value of 1 to look like in the picture below.

Local Account Token Filter PolicyLocal Account Token Filter Policy
Since we have done the register separate, it is necessary to define which drug user will be able to access this character of server restraint. We do this by defining roles in Group Policy Management. On the Security SettingsLocal PoliciesUser Rights Assignment, we need to edit Force shutdown from a remote system. On the Force shutdown tab from a remote system Properties we need to add a user or group that can access the server shutdown or restart remotely .
Group Policy Management EditorGroup Policy Management Editor
If everything is set up by rights, we can start testing. Started Command Prompt with Administrator privileges on a calculator that is on the lapp network as the server and then type the come commands :

net use \\serverip\ipc$ /user:domain\usename password 

After typing the command, crush Enter. If everything is OK, you will be seen a message
“The command complete successfully”  after which, you can start using the shutdown option. Below you will find the most normally used options and some examples how to use shutdown .
thus for remotely shutting down another machine on your network, you would type into the command prompt the trace commands :

shutdown /m \\computerip /r /f

This command will restart the computer and force all programs that are still running to close .

shutdown –m \\computerip –s –f –c “The computer will restart, please save all work.” –t 60

This instruction will shutdown the calculator, force all programs that are running to close, show a message to the drug user and countdown 60 seconds before it shuts down .
here are a pair of the most common control :
/s:  Shuts down the calculator

/r: Restarts the calculator
/m \\computerip The target remote computer to shut down
/f:  Forces programs to close immediately
/t:  Will wait a sealed measure of time in seconds before shutting down or restarting
/c “comment”:  This closure instruction option allows you to leave a comment describing the argue for the closure or resume .

Like this:

Like

Loading…

beginning : https://thefartiste.com
Category : Tech

About admin

I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

Check Also

articlewriting1

Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.