TUTOS.EU

Authoriser powershell avec des clés de registre

Comment authoriser powershell via la base de registre

Les 2 commandes ci-dessous éditent la base de registre pour autoriser powershell

Reg add "HKLM\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" /v ExecutionPolicy /t REG_SZ /d RemoteSigned /f
Reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" /v ExecutionPolicy /t REG_SZ /d RemoteSigned /f
Lien vers le fichier : cliquez ici Copier le code

Via une GPO cela donne


Article(s) en relation(s)

2