I’m new to superuser, hello!
I’m trying to block apps on my Windows 10 Home laptop, and this does work with .exe apps:
- Open regedit
- Go to ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
- Add a DWORD with DisallowRun with value 1
- Go to ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerDisallowRun
- Add a string value with as name 1 and as string the .exe name (like notepad.exe)
- Add strings with as name 2, 3, 4, etc. for more
But i can’t get it to work with UWP apps
(for example Camera, which appears as ‘MicrosoftCamera.exe’ in ‘C:Program FilesWindowsAppsMicrosoft.WindowsCamera_2021.105.10.0_x64__8wekyb3d8bbweMicrosoftCamera.exe’ but I can’t run it by opening that .exe and it doesn’t work when added to registry)
and can’t find the solution for this online.
Please note that I have Windows 10 Home, not a version like Enterprise