How to Shut Down Windows Server 2012 / Windows 8 through Remote Desktop; Use New Security Accounts to Block Logons Through Remote Desktop Services. Connecting the remote machine. After making the above changes, you should be able to connect the remote machine and get full admin rights. You can connect the. Shutdown Computer / Laptop / Desktop when not in use and save energy. Create Shutdown Shortcut to issue shutdown command to computer (with / without alert or. How to Remotely Shutdown or Restart a Windows Computer. This article will show you how to use the remote shutdown command tool in Windows to remotely shutdown or restart a local or networked computer. This can be very useful sometimes if you have multiple computers at home or on your network that you want to quickly shutdown or restart. You can even remotely shutdown a computer over the Internet, but you would first have to either VPN into the network or into the target computer you want to shut down. I’m not going to cover VPNs in this article, but if that’s something you want to do, feel free to Google it. You can perform a remote shutdown from the command prompt using the shutdown command and its associated switches, from the remote shutdown dialog box, or from a batch file. ![]() ![]() I’ll go through all three methods in this article. Remote Shutdown Overview. In order to get this to work, there are a couple of steps you have to complete first otherwise you’ll constantly get an Access is Denied (5) error message and it will drive you mad. Step 1: Firstly, in order to remotely shutdown a computer on your network, you’ll need to make sure you have Administrative access to the target computer. If you’re on a home network, the best way to do this is to make sure all computers are in the same workgroup and that they all have at least one Administrator account with the same username and password. You don’t have to use the built- in administrator account on either computer for this to work, but the user account you do use on both computers has to be part of the Administrators group on the local computer. ![]() If you go to Control Panel and click on User Accounts and it says Administrator or Local Administrator, then you’re fine. Again, the names of the user accounts and the password have to be the same. If you’re in a corporate environment with a domain, you will probably want to login using the domain administrator account. Using those credentials, you should be able to shutdown any other computer on the network, even if they are logged in using different credentials. Step 2: The second step is to turn on File and Printer Sharing and to allow it through the Windows firewall. To do this, go to Control Panel and click on Network and Sharing Center first. Click on the Change advanced sharing settings link in the left menu and select the radio button for Turn on network discovery and Turn on file and printer sharing. Go back to the main Control Panel window and click on Windows Firewall. Click on the Allow a program or feature through Windows Firewall in the left menu. Make sure you only check the Home/Work (Private) box and not Public. You do not need to allow anything else through the firewall. You might read on other sites to allow WMI, Remote Shutdown, Network Discovery, etc, but I’ve tested it without any of those and it works just fine. Step 3: Lastly, if you are trying to target a Windows Vista, Windows 7 or Windows 8 computer remotely, you will need to modify the registry. Unless you do this, it simply won’t work. You will only get the Access is Denied message no matter what. ![]() Open the registry editor by going to Start and typing in regedit. Now navigate to the following key: HKEY. Change the name to Local. Account. Token. Filter. Policy and press Enter. Now double- click on it and change the value from 0 to 1. Click OK and close out of the registry. You don’t need to restart the computer as the changes should take effect immediately. This registry key is needed because in Windows Vista and higher, an administrator account is stripped of its credentials when connecting remotely. This will allow the account to remain with administrative privileges. ![]() But you might be wondering how to do the same thing when opening a remote connection on a Windows 7 box. As you can see, there’s only a Lock and Disconnect option.You’ll also read on other sites to start the Remote Registry service if that’s not running and to edit the local security policy by adding the Everyone group to Force shutdown from a remote system policy setting. In my testing on Windows 7 and 8, there was no need to complete these tasks and you really shouldn’t because it opens up your system to potential hackers. Obviously, you’ll also need to know all the names of the other computers on the network. You can do that by going to Control Panel and then clicking on System. Remote Shutdown via Command Prompt. The shutdown command is most flexible when using it from the command prompt because you can add a bunch of switches to it, which allow you to customize the behavior. Go to Start, then Run, and type in CMD. You can see the list of switches by typing shutdown /? Remote Server Administration Tools for Windows 8 enables IT administrators to manage roles and features that are installed on computers that are running Windows. Microsoft Windows 2000, XP (XP home users read section below) and later users can remotely shutdown another computer in their network by utilizing the shutdown command. Windows Server 2003 remote shutdown command. Shut down a machine with a command line program, alternatively, restart the server. If you've ever used the Remote Desktop Protocol to login to a remote Windows computer, you've probably noticed that the Start, Shutdown options you're used to seeing. ![]() Basically you would type in shutdown /x /y /z where x, y, z are letters in the list above. Here are a couple of the most common command switches and the actions they perform: /s: Shuts down the computer/r: Restarts the computer/m \\computername: The target remote computer to shut down/f: Forces programs to close immediately/t: Will wait a certain amount of time in seconds before shutting down or restarting/a: Aborts a shutdown if you used a previous shutdown command with /t. So for remotely shutting down another machine on your network, you would type into the command prompt the following commands: shutdown /m \\computername /r /f. This command will restart the computer named computername and force all programs that are still running to close. The computer will restart, please save all work.” –t 6. This command will shutdown the computer named computername, force all programs that are running to close, show a message to the user and countdown 6. Remote Shutdown via Shutdown Dialog. If you don’t like all those switches or using the command prompt in general, then you can bring up the shutdown dialog box. You can do that easily by just using the /i command switch for the shutdown command. The remote shutdown dialog will now appear as shown below. Click the Add or Browse button to add computers to the list. You can then run the commands on the entire batch of computers. If you click Add, you’ll need to enter in the network name of the computer in the format \\computername or just computername, either works. Of course, you need to know the actual computer name, which I mentioned how you can determine above. So add as many computers to the list as you like and then set your options. You can shutdown, restart or annotate unexpected shutdown. You can also display a warning, if you like, for however many seconds you choose and you can type in a comment at the bottom which will be displayed to users. That’s about it! Remote Shutdown via Batch File. Finally, you can create a batch file so that can do all of this by just running the file. Alternatively, you can schedule the batch file to be run at specific intervals or during specific events using Task Scheduler. Just go to Notepad and type in the commands you would have typed into the command prompt: shutdown –m \\computername. Then simply save the file with a . BAT file extension by choosing All Files for Save as type and add . This will restart three computers on my home network. You can put as many commands into the batch file as you like, so feel free to experiment! I’ve written an extensive post on how to use batch files in Windows, so read that if you are not familiar with batch files or task scheduler. How to Shut Down Windows Server 2. Windows 8 through Remote Desktop. If you've spent any time at all working with Windows Server 2. Windows 8, it's easy to find yourself stumped trying to accomplish a simple task that, in previous OS versions, was second nature. I thought I had all of the magic sequences figured out – until I attempted to shut down a system remotely through Remote Desktop. I've written previously about how to get around in Windows Server 2. Windows 8), and particularly about how to configure Remote Desktop Connection (mstsc. Winkey shortcuts work. What is not so obvious is shutting down a system remotely. In fact, it's not obvious at all. There's no Start button, so there's no Shutdown menu item. I hit CTRL+ALT+END (the equivalent of CTRL+ALT+DEL in a Remote Desktop session) and hit the little power button in the lower right- hand corner. Lo and behold, the usual choices of sleep, shutdown, and shutdown and restart were missing; the only choice available was to disconnect. I even tried Task Manager, but that didn't offer me a shutdown option. The first is through the command prompt with the shutdown command. You can simply shut down the system with this command: Shutdown –s. To reboot, you can use. Shutdown –r Shutdown has many options in addition to these basics; check out the shutdown Tech. Net reference for more details. Here's my favorite way to shut down a Windows Server 2. Windows 8 system through Remote Desktop: Go to the Desktop. Click on the desktop background (to make sure you don't have any window in focus). This brings up a simple dialog box (below): You can choose Disconnect, Sign out, Shut down, or Restart. The Alt- F4 keyboard shortcut has been around about as long as Windows has, as a shortcut to close the window that's in focus. You can use it today; I've begun using it regularly to shut down a Metro – sorry.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |