How to allow / deny an application access to the file system in Windows 10
Starting with Windows 10 build 17093, you can now allow or deny apps access to your device's file system (PC) for all users.
This guide will show you how to change Privacy settings to allow or deny apps access to the file system for all users or just your account in Windows 10.
Allow or deny app access to the file system for all users in Settings
Note: You must be logged in as admin to be able to do this option.
Step 1. Open Settings and click the Privacy icon.
Step 2. Click File system on the left side, click the Change button on the right side and turn on (default) or turn off the File system access for this device option, depending on what you want.
Enable or disable the "Allow Apps Access to Your File System" option in Settings
The settings in this option will be greyed out, unless File system access for this device is enabled from method 1 above.
Step 1. Open Settings and click on the Privacy icon.
Step 2. Click File system on the left side, enable (default) or disable the Allow apps to access your file system option on the right side, depending on what you want.
Enable or disable the "Allow Specific Apps Access to Your File System" option in Settings
The settings in this option will be greyed out, unless Allow apps to access your file system is enabled in method 2 above.
Settings for this option are stored in the registry key subkeys below. Each subkey represents a listed application.
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionCapabilityAccessManagerConsentStorebroadFileSystemAccess
Step 1. Open Settings and click on the Privacy icon.
Step 2. Click File System on the left side, turn on or off (if any) the apps you want under Choose which apps can access your file system on the right side.
You should read it
- Which file system should be used for removable storage devices
- Here's how to use Resilient File System (ReFS) on Windows 10
- How to mount a Linux file system using WSL2 on Windows 10
- 3 simple ways to enable / disable the Encrypting File System
- Top 5 Best File Manager Apps on Android
- How to fix Windows file system errors with a single command
- Completely delete data in Windows
- How to create system information file in Windows 10
- How does the Raspberry Pi file system work?
- How to back up the EFS file encryption key and certificate in Windows 10
- What is file extension?
- The reason and how to edit sudoers file in Linux