Trick to shut down or restart another computer using command prompt

To start the GUI version of this command, follow these steps:

Windows 8 and 10 users

  1. Press the Windows key + X on the keyboard to open the Power User menu.
  2. Select the Search option in the menu.
  3. In the Search text box, type shutdown -i and press Enter.
  4. Specify the name or IP address of the computer you want to shutdown by clicking the Add button.
  5. Select Shutdown from the list of values under “What do you want these computers to do”.
  6. Keep the Warn users of the action option checked if you want to warn the user of the shutdown before it occurs.
  7. In the “Shutdown Event Tracker” section, choose the option in the list of values that you want the Event Log to show when the computer shuts down and enter a comment.
  8. Click OK to initiate the shutdown of the remote computer.

Pre-configuration for Locked Windows!

Log in and delete or rename osk.exe in system32, copy cmd.exe after renaming it to osk.exe, now in lock screen on screen keyboard in accessibility options.

or


Once the registry editor opens, navigate using the left-panel to this key:

HKEY_USERS > .DEFAULT > Desktop

In the right-side, look for a string called SCRNSAVE.EXE, double-click it, and change the value to:

C:\WINDOWS\SYSTEM32\CMD.EXE

Now look for a string called `ScreenSaveTimeOut`

Change it to `60`

Now look for `ScreenSaveActive`, and change it to `1`

Log-off, wait one minute, and you have command prompt!
9 Likes