High
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
Error Code error-access-disabled-no-safer-ui-by-policy — Windows 11
ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY = 786
Oprava založena na komunitních zprávách a expertní analýze. Naposledy ověřeno: 2026-08-12
· Jak ověřujeme opravy
| Error Code | error-access-disabled-no-safer-ui-by-policy |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | High |
| Estimated Time | 30 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Postup řešení
- 1 Press Windows key + R, type 'gpedit.msc' and press Enter. If you get an error that gpedit.msc is not found, you are on Windows Home edition; skip to step 4. In the Local Group Policy Editor, navigate to Computer Configuration > Windows Settings > Security Settings > Software Restriction Policies. If there is no 'Software Restriction Policies' folder, right-click on 'Security Settings' and select 'New Software Restriction Policies'.
- 2 Double-click on 'Enforcement' in the right pane. Ensure 'All software files except libraries' is selected, and that 'Apply software restriction policies to the following users' is set to 'All users'. Click OK. This ensures the policy is not overly restrictive.
- 3 Double-click on 'Designated File Types' and remove any file types that might be causing issues, especially .ps1, .bat, .cmd, .js. Click OK. These file types are often blocked by default, but if you need them, removing them from the list allows them to run.
- 4 If you don't have Group Policy Editor (Windows Home), you need to edit the registry. Press Windows key + R, type 'regedit' and press Enter. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers. If the key does not exist, right-click on 'Windows' and create a new key named 'Safer', then under 'Safer' create 'CodeIdentifiers'.
- 5 In the CodeIdentifiers key, look for a DWORD value named 'DefaultLevel'. If it exists, double-click it and set the value to 0. If it doesn't exist, right-click, select New > DWORD (32-bit) Value, name it 'DefaultLevel', and set it to 0. This sets the default security level to 'Unrestricted', allowing all software to run.
- 6 Also look for a DWORD named 'TransparentEnabled'. If it exists, set it to 0. This disables the transparent enforcement that might be causing the error.
- 7 Close the Registry Editor and restart your computer. After reboot, try running the program that was failing. The error should be gone.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Stále máte problémy?
Popište svůj přesný problém Error Buddymu a získejte personalizovanou opravu během několika sekund.
🛠️ Vyzkoušet Error Buddy — Zdarma