Files · Permissions
Fix a file that says you need permission from yourself to change it
The message says you need permission from your own account to move, rename, or delete your own file. That happens when the file's owner or permissions point at a different account, usually one from an old Windows install or another PC. Take ownership of the file in its Security settings, give your account full control, and the message goes away for good.
What you need
- An administrator account. Taking ownership needs an administrator account. If your account is a standard account, an administrator has to approve the change.
- The file's exact location. The fix is applied to that file or its folder, one place at a time.
- Five to ten minutes per file or folder. A whole folder tree takes a little longer because the change applies to everything inside it.
Read the problem before you touch it
- Understand whose permission it wants. Every file carries an owner and a list of which accounts may change it. A file copied from another PC, restored from an old drive, or left behind by a previous Windows install can be owned by an account that no longer exists here, and Windows phrases the refusal as needing permission from that account, even when the name looks like yours. How accounts and approval work is set out in How User Account Control works.
- Confirm your account is an administrator. Open Settings > Accounts and check what your account says under your name. The account types and how they are managed are covered in Manage user accounts in Windows. If yours is a standard account, the ownership steps below will ask for an administrator password at the prompt, that is expected, not a second fault.
The simple fixes, in order
- Close whatever might be using the file, then retry. A file open in a program can produce a permission message that sounds like an ownership problem. Close the app that created or edits the file, wait a few seconds, and try again before changing any permissions.
- Run the app as administrator once, if the file belongs to a program. If the file is a save, project, or settings file for one program, right-click that program and choose Run as administrator, then make the change from inside it. If that works, the file's permissions are set for administrators only, the advanced route fixes that permanently.
- Move the file out, if it sits in a protected folder. Files inside Program Files, Windows, or another account's user folder are protected on purpose. Copy the file to your Desktop or Documents, edit the copy there, and leave the protected original alone, for most documents, that is the whole fix.
The advanced route
- Take ownership in the file's Security settings. Right-click the file (or its folder) > Properties > Security > Advanced. Beside Owner, choose Change, enter your account name, and choose Check Names, then OK. Tick Replace owner on subcontainers and objects if it appears, then Apply. You now own the file, but ownership alone does not grant access, which is the next step.
- Give your account Full control. Back on the Security tab, choose Edit, select your account (add it with Add if it is missing), tick Full control under Allow, and choose Apply. For a folder, let the change apply to subfolders and files when asked. Retry the move, rename, or delete that was refused, it should now just work.
- Fix the folder, not each file, when a whole tree is affected. If every file from an old drive refuses, take ownership of the top folder once with Replace owner on subcontainers and objects ticked, and grant Full control the same way. You can fix one file at a time, but a restored drive can hold 10,000 files or more. Fix the top folder instead, and let the change apply to everything under it.
End state
- The file moves, renames, edits, or deletes with no permission message.
- The file's Advanced Security settings show your account as owner, with Full control allowed.
- Other files from the same source behave the same way after the folder-level fix.
When it goes wrong
- The Owner change fails with access denied. You are not running as an administrator, or the file is in a Windows system folder that even administrators should not take over. For system folders, stop, use the copy-out fix in the basics instead.
- The permission message names TrustedInstaller. That file belongs to Windows itself. Leave its ownership alone; changing it can break updates. Work on a copy outside the system folders.
- It worked, then the message came back. A program is resetting the file's permissions, usually the program that owns the file. Fix the folder the program writes to, rather than the single file, so new files inherit the right permissions.
Related fixes
-
Fix a file or folder that will not delete because it is open in another program
The 'open in another program' message means some process is holding the file open — often not the app you expect. Find the holder in Resource Monitor, close just that process or handle, and delete the file without a restart or a forced-delete tool.
-
Fix a drive that appears twice in File Explorer's navigation pane
A removable drive shows up twice in File Explorer's left pane — once on its own and once under This PC — so the list looks cluttered and clicking either entry opens the same place. Collapse it back to one entry by removing the duplicate registration, starting with the harmless checks.
-
Fix a drive that disappears from File Explorer after the PC sleeps
A drive that vanishes from File Explorer after sleep, then comes back after a restart, is usually being powered down and not woken cleanly, or Windows has marked it as removed. Check Disk Management first to see whether Windows still sees the drive at all, then fix the power and hot-swap settings that let it drop.
-
Fix an Ethernet connection that says 'network cable unplugged' when the cable is in
A 'network cable unplugged' message with the cable firmly in means the PC and the switch or router are failing to agree a link. Prove the cable and port first, then wake the adapter up and fix its speed and driver settings.
Sources
- Microsoft Learn, How User Account Control works, how administrator approval and account rights decide what an account may change.
- Microsoft Support, Manage user accounts in Windows, checking and managing account types, including administrator accounts.