You must be signed into Windows using an administrative account in order to run the Command Prompt as an administrator.
To see a complete list of shutdown commands, type shutdown /? in the Command Prompt.
Note: The user may lose unsaved work if programs are forced to close without saving. Continue to the next step to learn how to alert the user and give them a few seconds to save their work before the computer or shuts down or restarts. The entire command so far should look something similar to this: shutdown \workspace1 /r /f. Press ↵ Enter to restart the computer immediately. Continue to the next step to add a timer with a comment.
If you receive a message that says Access Denied, make sure you are signed in to an administrative account and that you have administrative access to the target computer. See Method 3 to learn how to enable File and Printer Sharing on both computers and allow it through the Windows Firewall. If you are unable to connect to the registry on the target computer, see Method 4 to learn how to edit the registry on the target computer.
You must be signed into Windows using an administrative account in order to run the Command Prompt as an administrator.
If you are not sure what the Private IP address is for the target computer, you can find it using that computer.
If you are not sure what the Private IP address is for the target computer, you can find it using that computer.
If you receive a message that says Access Denied, make sure you are signed in to an administrative account and that you have administrative access to the target computer. See Method 3 to learn how to enable File and Printer Sharing on both computers and allow it through the Windows Firewall. If you are unable to connect to the registry on the target computer, see Method 4 to learn how to edit the registry on the target computer.
Click the Windows Start menu. Type Control Panel. Click the Control Panel.
Skip to the next step if you don’t see this option.
Warning: Editing or deleting items in the Registry Editor can cause permanent damage to your operating system. Proceed at your own risk!
Double-click the HKEY_LOCAL_MACHINE folder. Double-click the SOFTWARE folder. Double-click the Microsoft folder. Double-click the Windows folder. Double-click the CurrentVersion folder. Double-click the Policies folder. Double-click the System folder.
Right-click a black spot in the window to the right of the folders in the sidebar. Hover over New. Click DWORD (32-bit) Value.