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

How do I check which version of .NET Framework I have installed?

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Use PowerShell to Detect .NET Versions

gci ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP’ -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match ‘^(?!S)\p{L}’} | select PSChildName, Version

 

manual way of checking

is to look in the folders where most of the .NET program files are stored to see what’s in there. The location is in the C:\Windows\Microsoft.NET\Framework folder and also the Framework64 folder for 64-bit systems
Read More: https://www.raymond.cc/blog/how-to-check-what-version-of-microsoft-net-framework-is-installed-in-computer/2/

 

Find .NET Framework version from command prompt

wmic product get description | findstr /C:.NET

or
You can check the version of .NET Framework installed on a computer by opening a command prompt,
navigating to \%windir%\Microsoft.NET\FrameWork, and then navigating to the directory with the latest version number.
Once in the directory with the latest version number, run the command .\MSBuild.exe -version

You can list older .NET versions running on your computer by running a simple command shown below.
dir  /b  %windir%\Microsoft.NET\Framework\v*

-----

Using the following table, you can establish a correspondence between the release number and the version of the .NET Framework 4.5.

Release Value .NET Framework version
378389 .NET Framework 4.5
378675 NET Framework 4.5.1 on Windows 8.1 / Windows Server 2012 R2
378758 .NET Framework 4.5.1 on Windows 8, Windows 7 SP1, Windows Vista SP2
379893 .NET Framework 4.5.2
393273 .NET Framework 4.6 on Windows 10
393297 .NET Framework 4.6
394254 .NET Framework 4.6.1 on Windows 10 November Update
394271 .NET Framework 4.6.1
394802 .NET Framework 4.6.2 on Windows 10 Anniversary Update
394806 .NET Framework 4.6.2
460798 .NET Framework 4.7 on Windows 10 Creators Update
460805 .NET Framework 4.7
461308 .NET Framework 4.7.1 on Windows 10 Fall Creators Update
461310 .NET Framework 4.7.1
461808 .NET Framework 4.7.2 on Windows 10 April 2018 Update
461814 .NET Framework 4.7.2


Search