INFORMATICS

The Best

How do I shut down or restart my Windows computer via command prompt?

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Microsoft Windows offers several ways to shut down or restart your computer, one of which is via the command prompt.

To access the command prompt window from Windows 8, 10 or 11:
  1. Go to the Start menu
  2. Type cmd in the "Search field" and open them with administrator privileges
  3. Press Enter
From an open Administrator command prompt window:
Type shutdown, followed by the option you wish to execute:
  1. To shut down your computer, type shutdown /s
  2. To restart your computer, type shutdown /r
  3. To log off your computer type shutdown /l

For a complete list of options type shutdown /?

After typing your chosen option, press Enter. The computer will execute your desired task

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Windows appears with "\\ip_address\shared is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

Multiple connections to a server or shard resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again."

Apparently, first message has nothing to do with the problem.

I disconnect all previous connections.

I used the basic command
DISM .exe /Online /Cleanup-image /Restorehealth
sfc /scanow
net use * /d

  1. From the Command Prompt, type:
    net use /delete \\servername\foldername
    (where the servername\foldername is the drive that you wish to delete.)

The net use / delete command did not work for everyone, but the following commands do work:
net stop workstation /y
net start workstation

Search