Clique com o botão direito e adicione “cmd_here” e clique com o botão direito e adicione “PowerShellAsAdmin”

Clique com o botão direito e adicione “cmd_here” 

Editor de Registro do Windows Versão 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Diretório\background\shell\cmd_here]

@=”cmd_aqui”

“Ícone”=”cmd.exe”

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Diretório\background\shell\cmd_here\comando]

@=”\”C:\\Windows\\System32\\cmd.exe\””

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Pasta\shell\cmdPrompt]

@=”cmd_aqui”

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Pasta\shell\cmdPrompt\comando]

@=”\”C:\\Windows\\System32\\cmd.exe\” \”cd %1\””

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Diretório\shell\cmd_here]

@=”cmd_aqui”

“Ícone”=”cmd.exe”

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Diretório\shell\cmd_here\comando]

@=”\”C:\\Windows\\System32\\cmd.exe\””

Clique com o botão direito e adicione “PowerShellAsAdmin”

Editor de Registro do Windows Versão 5.00

; Criado por: Shawn Brink
; Criado em: 13 de agosto de 2016
; Atualizado em: 20 de dezembro de 2023
; Tutorial: https://www.tenforums.com/tutorials/60177-add-open-powershell-window-here-administrator-windows-10-a.html

[HKEY_CLASSES_ROOT\Diretório\Background\shell\PowerShellAsAdmin]
@=”Abra a janela do PowerShell aqui como administrador”
“Estendido”=-
“TemLUAShield”=””
“Ícone”=”powershell.exe”

[HKEY_CLASSES_ROOT\Diretório\Fundo\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).\\\”\\\”\\\”(padrão)\\\”\\\”\\\”; ri hkcu:\\software\\_dir'”

[HKEY_CLASSES_ROOT\Diretório\shell\PowerShellAsAdmin]
@=”Abra a janela do PowerShell aqui como administrador”
“Estendido”=-
“TemLUAShield”=””
“Ícone”=”powershell.exe”

[HKEY_CLASSES_ROOT\Diretório\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).\\\”\\\”\\\”(padrão)\\\”\\\”\\\”; ri hkcu:\\software\\_dir'”

[HKEY_CLASSES_ROOT\Drive\shell\PowerShellAsAdmin]
@=”Abra a janela do PowerShell aqui como administrador”
“Estendido”=-
“TemLUAShield”=””
“Ícone”=”powershell.exe”

[HKEY_CLASSES_ROOT\Drive\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).\\\”\\\”\\\”(padrão)\\\”\\\”\\\”; ri hkcu:\\software\\_dir'”

[-HKEY_CLASSES_ROOT\PastaDeBiblioteca\Fundo\shell\PowerShellAsAdmin]

; Para permitir que unidades mapeadas estejam disponíveis no PowerShell elevado
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Políticas\Sistema]
“Habilitar conexões vinculadas”=dword:00000001

 

Protocolo ModBus em Roteadores Industriais
« Postagem anterior 11/30/2024 14:25
Como escolher o protocolo VPN certo
Próximo post » 11/30/2024 14:25
pt_PTPortuguese