“You Need Permission to Perform This Action”
In Windows 11, “You need permission to perform this action” means your account isn’t allowed to delete, move or rename that file or folder, or something still has it open. Close the app using it, restart and try again. If the file is on a network drive, OneDrive or SharePoint, ask its owner or IT for edit access.
Try these quick fixes first
- Save and close the file, close the app it was open in, and try again.
- Restart your PC, then try again before you open other apps.
- Read who the message says you need permission from, and check the table below.
- If the file is on a network drive, OneDrive or SharePoint, ask the person who shared it or IT for edit access.
- If a coworker has the file open, ask them to close it.
- Don’t take ownership or change permissions on a work PC. Ask IT.
Close the file, then restart your PC
Windows can’t delete, move or rename a file while an app still has it open, and a restart closes every app and background task that might be holding it.
- Save your work in the file and close it. Then close the app it was open in, including its other windows.
- If Windows says “The action can’t be completed because the file is open in” an app, close that app and try again.
- If it still fails, save your work and select Start > Power > Restart. Microsoft suggests a restart when an app wrongly thinks a file is still open, for example after a crash.
- After you sign back in, try the delete, move or rename again before you open other apps.
- If the same file stays stuck, your IT team can use Microsoft’s File Locksmith tool to see which app is holding it.
Is the file on a network drive, OneDrive or SharePoint?
Permissions for shared files are set where the files are stored, by the owner or IT, so nothing you change on your own PC can override them.
- Check the path in File Explorer. One that starts with
\\, or a mapped drive letter such as S:, is a network share. Folders named after your company hold your work OneDrive and synced SharePoint and Teams libraries. - For a network share, ask IT for access. Tell them the folder path and what you need to do: delete, move or rename.
- If a coworker has a shared file open, Office may say it’s locked for editing. Ask them to close it, or wait until they do.
- In a synced OneDrive or SharePoint folder, a lock icon on a file means it syncs read-only. You might not have permission to edit it, and changes you make on your PC won’t sync.
- Ask the person who shared the file or folder for edit permission. For a SharePoint or Teams library, ask IT.
- Before you delete anything in a synced folder, make sure no one else needs it. Microsoft says deleting a synced file removes it from the cloud and from all devices.
Who does the message say you need permission from?
The message’s second line, “You require permission from … to make changes to this file” (or folder), names the account that controls the item, which tells you who can fix it.
- Find the name after “You require permission from” in the table below.
- Follow the last column. If it’s a Windows file or folder, leave it alone, and to free up disk space, use Start > Settings > System > Storage > Cleanup recommendations instead of deleting Windows folders.
| The message names | What it means | Who can fix it |
|---|---|---|
| SYSTEM or TrustedInstaller | The item belongs to Windows, which protects its own files so Windows and your apps keep working | No one needs to. Leave it alone. |
| Administrators, or the computer’s administrator | The change needs administrator rights | IT |
| Another person’s name | The item belongs to another account | That person or IT |
| Your own name | You own the item, but something is using it or its permissions don’t allow this change | A restart, then IT |
| A long code starting with S-1-5-21 | An account Windows can’t match on this PC, such as one from an old computer or a deleted account | IT |
Is the file read-only or blocked?
A file marked read-only can’t be changed until you clear that setting, and Windows flags some files that came from another computer as blocked to help protect your PC.
- Right-click the file and select Properties.
- On the General tab, if Read-only is checked next to Attributes and it’s your own file, clear it and select OK.
- If the bottom of the General tab says “This file came from another computer and might be blocked to help protect this computer,” select Unblock and OK, but only if you trust the file and where it came from.
- If you didn’t expect the file or aren’t sure where it came from, leave it blocked and ask IT.
Use Safe Mode for a file a background app is holding
Safe Mode starts Windows with only the essential services and drivers, so most background apps that could keep a file open don’t load.
- Use this only for a file on your own PC, not on a network drive or in a OneDrive or SharePoint folder.
- Save your work. Select Start > Settings > System > Recovery, then Restart now next to Advanced startup.
- On the Choose an option screen, select Troubleshoot > Advanced options > Startup Settings > Restart.
- If Windows asks for a BitLocker recovery key, stop and call IT.
- Press 4 or F4 to start in Safe Mode, then sign in.
- Delete, move or rename the file in File Explorer. Then select Start > Power > Restart to go back to normal Windows.
Ask IT to take ownership or change permissions
Taking ownership and changing permissions need administrator rights, and a wrong change can lock coworkers out, expose private files or stop Windows and apps from working, so on a work PC they’re a job for IT.
- Copy the full path of the file or folder from the File Explorer address bar, and take a photo of the message.
- Tell IT what you need to do (delete, move or rename) and why.
- Your IT team can take ownership with the Security tab or the
takeowncommand and adjust permissions withicacls. This needs administrator rights. At work, ask your IT team. - Skip forum fixes that give Everyone full control or take ownership of a whole drive or a Windows folder. Microsoft notes that taking ownership of a folder can replace its permissions with full control for one account.
- Don’t turn off User Account Control or your security software to get past the message. That doesn’t change who owns the file.
Why does this happen?
- Every file and folder has an owner and a list of who can read, change or delete it, and your account isn’t allowed this change.
- The item belongs to another account or to Windows itself, which keeps most of its own files under the TrustedInstaller account.
- The file is on a network share, OneDrive or SharePoint, and you have view-only access.
- An app, a sync or a background task still has the file open.
- The files came from another computer, and their permissions name accounts this PC doesn’t know.
- Being an administrator isn’t enough on its own. Microsoft says even administrators run apps with standard rights until they approve an administrator prompt.
When should you call IT?
- The message names SYSTEM, TrustedInstaller, Administrators or an S-1-5-21 code, and you still need the change.
- You need edit access to a network share or a SharePoint or Teams library.
- Several people suddenly can’t change files in the same shared folder.
- Files are missing or renamed with odd extensions, or you see a ransom note. Stop working on the PC and call right away.
- A drive from another computer needs its permissions fixed.
- A website or video told you to take ownership of a drive or a Windows folder.
If your team keeps running into SharePoint and OneDrive permission problems, read about our Microsoft 365 support.
OAC Technology’s IT support team fixes problems like this for businesses across the Twin Cities. Clients can call 952-548-5558, Monday to Friday, 8 a.m. to 6 p.m. Central. Not a client yet? Call the same number or send us a message.
Common questions
How do I fix “You need permission to perform this action”?
Close any app that has the file open, restart your PC and try again. If the file is on a network drive, OneDrive or SharePoint, ask its owner or IT for edit access, and if the message names SYSTEM or TrustedInstaller, it’s a Windows file to leave alone.
Why does Windows say I need permission when I’m the administrator?
Because being an administrator doesn’t give your account every permission. Microsoft says administrators run apps with standard rights until they approve a prompt, and items owned by Windows or another account don’t allow the change until someone with the right access changes their permissions.
How do I get permission to perform this action?
Ask whoever controls the item. For shared OneDrive and SharePoint files, that’s the person who shared them; for network drives, Windows folders and anything that needs administrator rights, it’s your IT team.
Can I turn off “You need permission to perform this action”?
No. The message is Windows enforcing a file’s permissions, and turning off User Account Control or security tools doesn’t change who owns the file. Fix the cause instead: close the app using it, or get access from the owner or IT.
Why can’t I delete files on an external drive?
If the drive came from another computer, its files can still carry permissions for accounts on that computer, which Windows can’t match on yours. If you can open the files, copy what you need to your own folders, and ask IT to fix the drive’s permissions.









