Fix: Verify directory access error in Windows 10/11

Reading time icon 4 min. read


Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

windows 10 background cover

The Verify that you have access to that directory error is one that arises for some users when they try to install certain software. The full error is Error 1310, Error writing to file: (folder path). Verify that you have access to that directory. Users can’t install the required software in Windows when that error message pops up.

How do I fix Verify that you have access to that directory error when installing programs? For starters, make sure you’re logged in with your Admin account. Installing programs requires administrative permissions. Alternatively, you can restore folder permissions with Permissions Time Machine or reregister Windows Installer.

Read below for thorough step-by-step instructions for each solution.

How can I fix Verify that you have access to that directory error on Windows 11?

This issue is similar to Access denied Windows 11 error, and it usually appears if you don’t have the necessary privileges to access certain directories.

In case this happens, you might have to change the owner, and to do that, read our how to take ownership of a folder on Windows 11 guide.

The solutions to this problem are same like the ones in our You don’t have permission to open this file guide, so be sure to check it out.

Fix Verify that you have access to that directory error

  1. Log In to an Admin Account
  2. Restore Folder Permissions With Permissions Time Machine
  3. Reregister the Windows Installer

1. Log In to an Admin Account

The Verify that you have access to that directory error is often a folder permission issue. Some users might need to install the required software within an admin account instead of a standard one to fix the error. Users can activate a built-in admin account to log in to as follows.

  1. First, click the Type here to search button to open Cortana’s search box.
  2. To open the Command Prompt, enter ‘cmd’ in the search box.
  3. Right-click Command Prompt and select Run as administrator.
  4. Then input ‘net user administrator /active:yes’ and press Enter to activate the built-in admin account.net user administrator /active:yes cmd
  5. Close the Command Prompt, and log out of Windows.
  6. Thereafter, users can select the new Administrator account to log in to.
  7. Press the Windows key + E hotkey to open File Explorer.
  8. Open the folder that includes the installer for the software that the error arises for.
  9. Then right-click the installer and select the Run as administrator context menu option.

2. Restore Folder Permissions With Permissions Time Machine

The Verify that you have access to that directory error states that users need to verify that they have access to the installation directory. Users can restore folder permissions for the installation folder path included within the error message with Permissions Time Machine. Follow the guidelines below to restore folder permissions with the freeware version of the software.

  1. First, open the Permissions Time Machine page.
  2. Click Download > Here to save a Permissions Time Machine ZIP file.
  3. Open the Permissions Time Machine ZIP in File Explorer.
  4. Click Extract all to open the Extract Compressed window.extract compressed folders
  5. Click Browse to select a folder path, press the Extract button.
  6. Then click the Permissions Time Machine setup wizard in the extracted folder to install the software.
  7. Open the Permissions Time Machine window shown below.permission time machine
  8. Click the button on the File System tab to select the folder path you tried to install the software to (referenced in the error message).
  9. Click the red Select Users And Group button.permission time machine users or groups
  10. Then select a user to reset folder permissions for and click OK.
  11. Select Full Control on the drop-down menu.
  12. Press the Reset button, and select Reset Now to confirm.

3. Reregister the Windows Installer

  1. Some users might need to reregister the Windows Installer module to fix the verify directory error. To do that, enter ‘msiexec /unregister’ in Run and press Return.
  2. Then input ‘msiexec /regserver’ in the Open box, and click the OK button.msiexec /regserver run
  3. Restart Windows after reregistering Windows Installer.

The above resolutions will usually resolve Verify that you have access to that directory error. In addition to those fixes, selecting an alternative installation directory for the software the error occurs for might also fix the issue.

More about the topics: windows 10 fix