reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableRegistryTools /t REG_DWORD /d 0 /f
start regedit
UnlockReg.bat,類型選「所有檔案」 → 存檔。

修改 DisableRegistryTools 為 0(預設 1 為鎖定),並直接啟動 regedit。適用於被惡意軟體/群組原則鎖定 regedit 的情況。