Fix Windows that has permission that is denied
We'll take ownership, grant permissions, and close locking processes—or tell you when to call a pro.
What you'll need
- Administrator account
Step-by-step diagnostic
Quick triage — pick your path
Get started
Choose the option that matches what you see. You can jump straight to that section.
Show full guide
Steps
Goal: Take ownership, grant permissions, and close programs that lock files.
- Run as Administrator. Close programs using the file. Take ownership and grant full control.
- Good: Access granted. You are done.
- Bad: Try Safe Mode or icacls from Command Prompt.
Take ownership
Goal: Make your account the owner of the file or folder.
- Right-click, Properties, Security, Advanced. Change owner to your account. For folders, check Replace owner on subcontainers.
- Good: You are now owner. Grant full control.
- Bad: Run File Explorer as Administrator and try again.
Close locking programs
Goal: Release files that are in use.
- Close all programs. Task Manager, end related processes. Retry the action.
- Good: File released. Action succeeds.
- Bad: Boot in Safe Mode and try again.
When to get help
Call a technician if:
- You cannot take ownership of system files.
- The disk shows errors.
- You are unsure about changing permissions.
Verification
- You can open, edit, or delete the file or folder.
- No “Access denied” or “Permission denied” errors.
- Properties, Security shows your account with Full control.
Escalation ladder
Work from the device outward. Stop when the problem is fixed.
- Run as Administrator Right-click program, Run as administrator.
- Close programs End processes that may be using the file.
- Take ownership Properties, Security, Advanced, Change owner.
- Grant full control Properties, Security, Edit, Full control.
- Call a pro System files; disk errors.
What to capture if you need help
Before calling support or posting for help, have these ready. It speeds everything up.
- File or folder path
- Exact error message
- Whether run as Administrator
- Steps already tried
Is the file open in another program?
Open files cannot be modified or deleted.
Close all programs that might use the file. Task Manager, end related processes. Good: File released—try the action. Bad: File still locked—try Safe Mode.
You can change your answer later.
Close the program
Close the program. Task Manager, end the process. Try again.
Did you take ownership?
Taking ownership grants you control.
Right-click, Properties, Security, Advanced. Change owner to your account. For folders, check Replace owner on subcontainers. Good: Ownership changed—grant full control. Bad: Run as Administrator first.
You can change your answer later.
Take ownership
Properties, Security, Advanced. Change owner. Apply. Then Edit, add your account, Full control.
Grant full control
Properties, Security, Edit. Your account, Full control, Allow. Apply. Try the action again.
Reviewed by Blackbox Atlas
Frequently asked questions
- Why would I get permission denied on Windows?
- File owned by another user or system, folder has restricted permissions, or a program has the file open. Take ownership or close the program.
- How do I take ownership of a file?
- Right-click the file, Properties, Security, Advanced. Next to Owner, click Change. Enter your username, Check names, OK. Check "Replace owner on subcontainers" for folders.
- When should I call a technician?
- When you cannot take ownership, system files are involved, or you see errors that suggest disk or OS damage.
Rate this guide
Was this helpful?
Thanks for your feedback.