Haga clic derecho y agregue “cmd_here”
Editor del Registro de Windows versión 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Clases\Directorio\background\shell\cmd_here]
@=”cmd_aquí”
“Icono”=”cmd.exe”
[HKEY_LOCAL_MACHINE\SOFTWARE\Clases\Directorio\fondo\shell\cmd_aquí\comando]
@=”\”C:\\Windows\\System32\\cmd.exe\””
[HKEY_LOCAL_MACHINE\SOFTWARE\Clases\Carpeta\shell\cmdPrompt]
@=”cmd_aquí”
[HKEY_LOCAL_MACHINE\SOFTWARE\Clases\Carpeta\shell\cmdPrompt\comando]
@=”\”C:\\Windows\\System32\\cmd.exe\” \”cd %1\””
[HKEY_LOCAL_MACHINE\SOFTWARE\Clases\Directorio\shell\cmd_aquí]
@=”cmd_aquí”
“Icono”=”cmd.exe”
[HKEY_LOCAL_MACHINE\SOFTWARE\Clases\Directorio\shell\cmd_here\comando]
@=”\”C:\\Windows\\System32\\cmd.exe\””
Haga clic derecho y agregue “PowerShellAsAdmin”
Editor del Registro de Windows versión 5.00
; Creado por: Shawn Brink
; Creado el: 13 de agosto de 2016
; Actualizado el: 20 de diciembre de 2023
Tutorial: https://www.tenforums.com/tutorials/60177-add-open-powershell-window-here-administrator-windows-10-a.html
[HKEY_CLASSES_ROOT\Directorio\Fondo\shell\PowerShellAsAdmin]
@=”Abrir ventana de PowerShell aquí como administrador”
“Extendido”=-
“Tiene LUAShield”="”
“Icono”=”powershell.exe”
[HKEY_CLASSES_ROOT\Directorio\Fondo\shell\PowerShellAsAdmin\comando]
@="cmd /c reg add hkcu\\software\\_dir /d \"%v\" /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\\software\\_dir).\\\"\\\"\\\"(predeterminado)\\\"\\\"\\\"; ri hkcu:\\software\\_dir'"
[HKEY_CLASSES_ROOT\Directorio\shell\PowerShellAsAdmin]
@=”Abrir ventana de PowerShell aquí como administrador”
“Extendido”=-
“Tiene LUAShield”="”
“Icono”=”powershell.exe”
[HKEY_CLASSES_ROOT\Directorio\shell\PowerShellAsAdmin\comando]
@="cmd /c reg add hkcu\\software\\_dir /d \"%v\" /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\\software\\_dir).\\\"\\\"\\\"(predeterminado)\\\"\\\"\\\"; ri hkcu:\\software\\_dir'"
[HKEY_CLASSES_ROOT\Unidad\shell\PowerShellAsAdmin]
@=”Abrir ventana de PowerShell aquí como administrador”
“Extendido”=-
“Tiene LUAShield”="”
“Icono”=”powershell.exe”
[HKEY_CLASSES_ROOT\Unidad\shell\PowerShellAsAdmin\comando]
@="cmd /c reg add hkcu\\software\\_dir /d \"%v\" /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\\software\\_dir).\\\"\\\"\\\"(predeterminado)\\\"\\\"\\\"; ri hkcu:\\software\\_dir'"
[-HKEY_CLASSES_ROOT\Carpeta de biblioteca\Fondo\shell\PowerShellAsAdmin]
; Para permitir que las unidades asignadas estén disponibles en PowerShell elevado
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Versión actual\Políticas\Sistema]
“Habilitar conexiones vinculadas”=dword:00000001