
'Access denied' when opening folders you used before
Getting 'Access denied' on folders you used to access? Here's how to regain access and fix folder ownership issues in Windows.
What's Happening
You're trying to open a folder you've used before—maybe on an external drive, a network location, or even on your own computer—and Windows says "Access denied" or "You don't currently have permission to access this folder". This is especially frustrating because you know you created these files or accessed this folder before.
Common causes include: moving a hard drive from another computer, Windows updates changing permissions, upgrading Windows while keeping your files, user account changes, or folders that were encrypted by a previous user account.
Quick Checks
Before diving into fixes, check these:
- Make sure you're logged in as an Administrator account (Settings → Accounts → Your info)
- If this is an external drive, try unplugging and reconnecting it
- Check if the folder is from a different computer—if so, the previous owner's permissions are still attached to it
- If you recently reinstalled Windows, your old user account permissions won't match your new account
Step-by-Step Fixes
Fix 1: Click 'Continue' to Permanently Gain Access
Sometimes Windows just needs confirmation that you want access to the folder.
- Double-click the folder you can't access
- Windows will show an "Access denied" message with a Continue button
- Click Continue
- Windows will add your account to the folder's permissions automatically
- Wait a moment—it might take 10-30 seconds if the folder has many files
- The folder should now open normally
If there's no Continue button, move to the next fix.
Fix 2: Take Ownership of the Folder
This manually grants you ownership and full access to the folder and all its contents.
- Right-click the folder and select Properties
- Go to the Security tab
- Click Advanced
- At the top next to "Owner:", click Change
- In the "Enter the object name to select" box, type your Windows username
- Click Check Names—if it underlines your name, you typed it correctly
- Click OK
- Check the box Replace owner on subcontainers and objects (this applies to all folders and files inside)
- Click Apply
- You might see warnings—click Yes/OK to proceed
- This might take a few minutes if there are many files
- Click OK to close all windows, then try opening the folder again
Fix 3: Grant Yourself Full Control Permissions
After taking ownership, you might still need to explicitly give yourself permissions.
- Right-click the folder and select Properties
- Go to the Security tab
- Click Edit
- Look for your username in the list
- If it's there, click it and check Allow next to Full control in the bottom section
- If your username isn't in the list:
- Click Add
- Type your Windows username and click Check Names
- Click OK
- Select your username and check Allow next to Full control
- Click Apply, then OK
- Close the Properties window and try opening the folder
Fix 4: Use Command Prompt to Force Ownership (Advanced)
If the graphical method doesn't work, Command Prompt can forcibly take ownership.
- Press Windows Key + X and select Terminal (Admin) or Command Prompt (Admin)
- Click Yes when User Account Control asks
- Type this command (replace the path with your actual folder path):
takeown /f "C:\Path\To\Folder" /r /d y - Press Enter (this might take several minutes for large folders)
- Then type this command to grant permissions:
icacls "C:\Path\To\Folder" /grant YourUsername:F /t
(Replace "YourUsername" with your actual Windows username) - Press Enter and wait for it to complete
- Try accessing the folder again
Example: takeown /f "D:\My Documents" /r /d y
If Nothing Worked
If you still can't access the folder after trying these fixes:
- Check if the folder is encrypted: If the folder name appears in green, it's encrypted with EFS (Encrypting File System). If it was encrypted by a different user account, you won't be able to access it without the encryption certificate from that account.
- Try Safe Mode: Restart in Safe Mode (Settings → Recovery → Advanced startup) and try accessing the folder there. Safe Mode bypasses some permission restrictions.
- Check disk errors: Open Command Prompt as Admin and run
chkdsk D: /f(replace D: with your drive letter). Disk errors can cause permission problems. - Use a Linux Live USB: If you absolutely need the files and nothing else works, you can boot from a Linux USB drive and copy the files (Linux ignores Windows permissions).
When to Call a Pro
If the folder contains critical files (family photos, work documents, tax records) and you can't access them despite trying these fixes, don't keep experimenting—you risk permanently losing access or corrupting the data. A professional can use specialized tools to recover the files safely, especially if encryption is involved.
Also, if you're getting access denied errors on system folders (like C:\Windows or C:\Program Files), be very careful. You shouldn't need to access those folders normally, and forcing access could break Windows. If a program is asking you to access those folders, something else might be wrong that needs expert diagnosis.
Need Professional Help?
If you're in the Tampa Bay area and need hands-on assistance, Geeks in Sneaks provides friendly, on-site tech support in Clearwater, Clearwater Beach, and Dunedin.
Related Topics
Need Professional Help?
If you're still having trouble, our expert technicians can help.
Learn about our pc repair service