Zapobiegaj dostępowi do narzędzi edycji rejestru: wartość rejestru DisableRegistryToolsUżytkownikHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

Identyfikator zasady
DisableRegedit
Zakres
Konfiguracja użytkownika
Obsługiwane w systemach
System Windows 2000 lub nowszy
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
System

Rejestr

DisableRegistryTools

REG_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
Czy wyłączyć pracę programu regedit w trybie cichym?
Opcje
PozycjaZapisana wartość
Tak2
Nie1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]

; Opcje (użyj tylko jednej)
; Tak
"DisableRegistryTools"=dword:00000002
; Nie
"DisableRegistryTools"=dword:00000001
CMD
:: Opcje (użyj tylko jednej)

:: Tak
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableRegistryTools" /t REG_DWORD /d 2 /f
:: Nie
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableRegistryTools" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Tak
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'DisableRegistryTools' -PropertyType DWord -Value 2 -Force | Out-Null
# Nie
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'DisableRegistryTools' -PropertyType DWord -Value 1 -Force | Out-Null