Voorkeursuitbreiding Omgeving toestaan: registerwaarde Restrict_RunGebruikerHKCU\Software\Policies\Microsoft\MMC\{35141B6B-498A-4cc7-AD59-CEF93D89B2CE}

Beleids-ID
MMC_GPO_Environment
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2003 besturingssystemen of Windows XP Professional met SP2
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Microsoft Management Console (MMC) › Beperkte/toegestane modules › Groepsbeleid › Voorkeursextensies

Register

Restrict_Run

REG_DWORDGebruiker
Waarde bij ingeschakeld
0
Waarde bij uitgeschakeld
1
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC\{35141B6B-498A-4cc7-AD59-CEF93D89B2CE}]

; Opties (gebruik er maar één)
; Ingeschakeld
"Restrict_Run"=dword:00000000
; Uitgeschakeld
"Restrict_Run"=dword:00000001
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKCU\Software\Policies\Microsoft\MMC\{35141B6B-498A-4cc7-AD59-CEF93D89B2CE}" /v "Restrict_Run" /t REG_DWORD /d 0 /f
:: Uitgeschakeld
reg add "HKCU\Software\Policies\Microsoft\MMC\{35141B6B-498A-4cc7-AD59-CEF93D89B2CE}" /v "Restrict_Run" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\MMC\{35141B6B-498A-4cc7-AD59-CEF93D89B2CE}' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MMC\{35141B6B-498A-4cc7-AD59-CEF93D89B2CE}' -Name 'Restrict_Run' -PropertyType DWord -Value 0 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MMC\{35141B6B-498A-4cc7-AD59-CEF93D89B2CE}' -Name 'Restrict_Run' -PropertyType DWord -Value 1 -Force | Out-Null