How to Allow or Deny Apps Access to File System in Windows 10
Universal Windows Platform (UWP) apps can access certain file system locations by default. Apps can also access additional locations through the file picker, or by declaring capabilities.
Starting with Windows 10 build 17093, you can now allow or deny apps access to the file system on your device (PC) for all users.
Starting with Windows 10 build 17101, Microsoft is giving you more control so you can now decide which UWP apps can access your full file system. Particular UWP apps will be granted permission to have broad file system access. This capability will be granted on a per app basis by Microsoft. If a UWP app has the broad file system access restricted capability, you will receive a consent dialog prompting you to accept or deny the request. If at any time you change your mind about the decision, you can go to Settings > Privacy where you’ll find a new Settings page for File System Access. On this page, you can turn access on or off globally, and if it’s on you can also turn it on or off for each app that has requested the capability. UWPs with broad file system access will not appear in the Photos, Videos, or Documents privacy settings pages. If you grant broad file system access, this includes Photos, Videos and Documents.
If you allow access, users on your PC will be able to turn on or off if their apps have access to all their files, including their documents, pictures, videos, and local OneDrive files. If you turn on to allow apps access to your file system, you can choose to turn on (allow) or off (deny) access for individual apps.
See also: File access permissions | Microsoft Docs
This tutorial will show you how to change Privacy settings to allow or deny apps access to the file system for all users or only your account in Windows 10.
Contents
- Option One: Allow or Deny Apps Access to File System for All Users in Settings
- Option Two: Allow or Deny Apps Access to File System for All Users using a REG file
- Option Three: Turn On or Off Allow Apps Access to Your File System in Settings
- Option Four: Turn On or Off Allow Apps Access to Your File System using a REG file
- Option Five: Turn On or Off Allow Specific Apps Access to Your File System in Settings
You must be signed in as an administrator to be able to do this option.
1 Open Settings, and click/tap on the Privacy icon.
2 Click/tap on File system on the left side, click/tap on the Change button on the right side, and turn On (default) or Off File system access for this device for what you want. (see screenshots below)
![]()
You must be signed in as an administrator to be able to do this option.
The downloadable .reg files below will modify the string value in the registry key below.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\broadFileSystemAccess
Value string value
Deny = Off
Allow = On
1 Do step 2 (on) or step 3 (off) below for what you would like to do.
This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Turn_ON_apps_acecss_to_file_system_for_device.reg
Download
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Turn_OFF_apps_acecss_to_file_system_for_device.reg
Download
4 Save the .reg file to your desktop.
5 Double click/tap on the downloaded .reg file to merge it.
6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.
7 You can now delete the downloaded .reg file if you like.
The setting in this option will be grayed out unless File system access for this device is turned on from Option One or Option Two above.
1 Open Settings, and click/tap on the Privacy icon.
2 Click/tap on File system on the left side, turn On (default) or Off Allow apps to access your file system on the right side for what you want. (see screenshot below)
This option will not get applied until File system access for this device is turned on from Option One or Option Two above.
The downloadable .reg files below will modify the string value in the registry key below.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\broadFileSystemAccess
Value string value
Deny = Off
Allow = On
1 Do step 2 (on) or step 3 (off) below for what you would like to do.
This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Turn_ON_apps_access_to_file_system_for_current_account.reg
Download
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Turn_OFF_apps_access_to_file_system_for_current_account.reg
Download
4 Save the .reg file to your desktop.
5 Double click/tap on the downloaded .reg file to merge it.
6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.
7 You can now delete the downloaded .reg file if you like.
The settings in this option will be grayed out unless Allow apps to access your file system is turned on from Option Three or Option Four above.
The settings for this option are stored in the subkeys in the registry key below. Each subkey represents a listed app.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\broadFileSystemAccess
1 Open Settings, and click/tap on the Privacy icon.
2 Click/tap on File System on the left side, turn On or Off apps (if available) you want under Choose which apps can access your file system on the right side. (see screenshot below)
Note that each legacy app will not appear individually in the list like Store apps do, but they will respect the toggle.
That's it,
Shawn