Create a new text file, copy the code below, select Save all files, select the encoding ANSI, file named PowershellAdmin.reg (file name can easily play as, select the file type, but the extension is needed .reg, that it files type registry entry), and then double-click PowershellAdmin.reg merge the registry, the following tips
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowershellAdmin]
"Extended"=""
"NoWorkingDirectory"=""
"ShowBasedOnVelocityId"=dword:00639bc8
@=""
"MUIVerb"="在此处打开管理员 Powershell 窗口(A)"
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowershellAdmin\command]
@="powershell.exe -command Start-Process powershell -ArgumentList \\\"-noexit\\\",\\\"Set-Location -literalPath '%V'\\\" -Verb runAs"