win10 Shift + Right on the command line -cmd evokes, rather than powershell

Original article addresses: https://blog.csdn.net/weixin_42217154/article/details/85326795  (  )

      https://www.lmdouble.com//0111352518.html         (lmdouble

 

With the popularity of Microsoft win10 system, more powerful powershell emerge, using .net framework written in Powershell more powerful performance, the functions are also abundant. At this slightly aged CMD strong heart is weak. Microsoft also try to use various methods to make PowerShell replace the current CMD.

Cmd but also has its own advantages, probably only take up about less than 1M of memory when running, while powershell occupy about 20M, contrast, cmd higher fluency, start faster.

From the beginning Win10Build14971, the user can no longer by holding down Shift, right-click the blank space explorer to select "Open Command Prompt Here", but there are ways cmd will get it back, and this time we should use universal the registry.

1. Open the operation window, type "regedit" with "windows + R" Enter, open the registry manager.

2. Navigate to the "computer \ HKEY_CLASSES_ROOT \ Directory \ Background \ shell \ Powershell \ command", a position

 

 

 

The identification cmd to display hidden states (operation method is changed to the right HideBasedOnVelocityId ShowBasedOnVelocityId, so that both the right CMD and Powershell). It can also display the status changed to hide the identity of powershell (the \ HKEY_CLASSES_ROOT \ Directory \ Background \ shell \ ShowBasedOnVelocityId to the right of the Powershell into HideBasedOnVelocityId).

Note: The permissions problem may occur when modifications can not be edited, prompt an error when typing a new value of the content. Solutions are as follows:

Right-cmd or powershell, select the "Permissions", select the bottom of the "Advanced" in the window that appears.

 

 

 

If your owner to TrustedInstaller, then first click on the top "change" to add into the current user account name, such as "xxxxxx" (see below), then click on the rear "Check Names" - "OK." When finished, under the current user's privileges from read to read "full control" can be. So that it can modify the normal registry keys.

 

 If you use an existing file renaming, rather than modifying

HideBasedOnVelocityId (hidden identity)

ShowBasedOnVelocityId (Display Identification)

 

 

The key is "639bc8".

 

Guess you like

Origin www.cnblogs.com/shichenzi/p/11730256.html