win10右键管理员/非管理员打开cmd

Posted pbblogs

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了win10右键管理员/非管理员打开cmd相关的知识,希望对你有一定的参考价值。

//管理员
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

[HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

[HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

 

 

//非管理员
Windows Registry Editor Version 5.00   
      
[-HKEY_CLASSES_ROOTDirectoryshell
unas]  
  
[HKEY_CLASSES_ROOTDirectoryshell
unas]  
@="Cmd as Admin"    
"HasLUAShield"="" 
"Icon"="cmd.exe" 
      
[HKEY_CLASSES_ROOTDirectoryshell
unascommand]     
@="cmd.exe /s /k pushd "%V""  
      
[-HKEY_CLASSES_ROOTDirectoryBackgroundshell
unas]  
      
[HKEY_CLASSES_ROOTDirectoryBackgroundshell
unas]  
@="Cmd as Admin"  
"HasLUAShield"=""  
"Icon"="cmd.exe"
      
[HKEY_CLASSES_ROOTDirectoryBackgroundshell
unascommand]  
@="cmd.exe /s /k pushd "%V""  
      
[-HKEY_CLASSES_ROOTDriveshell
unas]  
[HKEY_CLASSES_ROOTDriveshell
unas]  
@="Cmd as Admin"  
"HasLUAShield"=""  
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTDriveshell
unascommand]  
@="cmd.exe /s /k pushd "%V""

以上是关于win10右键管理员/非管理员打开cmd的主要内容,如果未能解决你的问题,请参考以下文章

win10安装系统怎么进cmd

Win10怎么以管理员身份运行CMD命令提示符

win10以管理员身份运行cmd方法

解决win10注册错误 错误代码0x8002801c

如何让cmd 默认 以管理员身份运行 win8.1

win 10怎么以管理员权限启动bat脚本