Fix profile-based access issues after moving files
If access broke right after you moved files, the usual cause is that ownership changed, inheritance was broken, or the user’s profile now points to the old path. Start by confirming the files still exist, checking who owns them now, and restoring only the missing user or group access before you widen anything.
What the access problem usually looks like after a file move
The pattern is usually uneven access: one person can still open the files, but another gets denied, sees an empty folder, or gets a message that the location is unavailable. That often shows up right after a move, sync, restore, or copy between folders, drives, shares, or devices.
You may also see that the file itself opens for an admin account but not for the person who used it before. That usually means the file still exists, but the permissions attached to it changed. If the files disappeared entirely, or the account is locked out everywhere, you are probably dealing with a different problem than file permissions.
When this fix applies and when it doesn't
Use this approach when the files were moved and access broke because ownership changed, inherited permissions were lost, or a profile-based path now points somewhere else. It applies to local folders, shared folders, redirected folders, and files stored on common file servers or synced storage where permissions matter.
It does not fit cases where the files were deleted, encrypted by another tool, or the user account itself is disabled or locked out across the system. It also does not solve malware, broken passwords, or license problems that happen to look like access issues.
Before you start:
- Confirm the files or folder still exist at the new location.
- Check which user profile is failing and whether the same user can reach a different folder.
- Make sure you have an account with permission to inspect and change permissions, usually Administrator or an account with equivalent rights.
- If this is a shared folder or production file set, avoid broad changes until you know whether the problem is limited to one user, one group, or one path.
- A full backup is not always required for a permissions-only fix, but if you plan to change ownership on a shared location, having a current backup or snapshot is a good safety net.
Check who owns the files now
Start by checking ownership on the moved folder or on one file that used to work for the affected person. If the owner changed during the move, that can explain why access broke even when the permissions look close to what they were before.
On Windows, you can check ownership from the file’s Properties dialog on the Security tab, then Advanced. On Linux or other Unix-like systems, use ls -l or stat on the file or folder. Look for the owner and group that are attached now, and compare them with what should own the content.
Get-Acl "C:\Path\To\FileOrFolder" | Format-List Owner,AccessPowerShell
Expected result: the owner should be the account or admin group you expect, and the access list should show the user or group that needs access.
If the owner is different from what you expected, the move probably changed ownership. If the owner looks right but the user still gets denied, the issue is more likely inherited permissions, an overriding deny rule, or a profile-path change.
Restore the missing access the safest way first
The safest first fix is to give back the missing access to the affected user or, better, the group that user belongs to. Do that on the specific folder or file that broke, not on a higher parent folder unless the whole tree should share the same permissions.
- On Windows, open the Security settings for the file or folder, add the user or group, and give only the access level they need. On Linux or another Unix-like system, restore the right owner, group, or mode on the affected path. Keep the change narrow so you do not open the files to everyone.
icacls "C:\Path\To\FileOrFolder" /grant "DOMAIN\GroupName:(OI)(CI)M"PowerShell
Expected result: the group gets Modify access on that folder and its children, and the affected user can open the files again through group membership.
- If the access still fails, check whether the group or user entry was added to the right folder and whether a deny entry is still blocking the same path. If the permissions are still wrong after that, take ownership of the affected folder so you can repair the ACL without changing anything broader.
takeown /f "C:\Path\To\FileOrFolder" /r /d yPowerShell
Expected result: ownership changes on the affected folder or files, which lets you repair permissions.
If ownership changes but access still fails, the missing piece is usually inheritance or a profile-specific path problem.
Fix inheritance and profile-specific permission changes
If the move broke inheritance, the folder may no longer be using the permissions from its parent. That is a common reason one profile can still reach a file while another cannot, especially when the original folder got copied to a new location.
On Windows, open the folder’s Advanced Security settings and check whether inheritance is disabled. If it is, turn inheritance back on when the parent folder already has the correct permissions. If the folder should keep most of its existing entries, copy the inherited permissions from the parent rather than replacing everything blindly.
icacls "C:\Path\To\FileOrFolder" /inheritance:ePowerShell
Expected result: inherited permissions from the parent folder are active again.
If access still fails after turning inheritance back on, the parent folder may not have the right permissions either, or an explicit deny rule may still be present. In that case, inspect both the parent and the moved folder for deny entries, stale user accounts, or old group entries that no longer match the current profile.
If the user profile itself changed, the file permissions may be fine but the profile now points to the wrong place. That happens with redirected folders, mapped drives, network shares, roaming profiles, or application settings that store a hard-coded path.
Check the profile-specific path first. If the user’s Documents, Desktop, or app data location now points to the old folder, update the redirection, mapping, or configuration so it targets the new location. If a mapped drive letter changed, fix the mapping before you keep changing file permissions, because the user may simply be looking at the wrong path.
- Confirm the current share mapping for the affected profile.
Get-SmbMappingPowerShell
Expected result: the mapping should point to the current share path, not the old one.
- If the mapping is wrong, update the redirection, drive mapping, or login script so it points to the new location, then test the same profile again. If the mapping is correct and the user still lands in the wrong place, check the profile configuration or app settings that build the path at sign-in.
Confirm the right person can open the file again
Do not stop at an admin test. Confirm access from the same user profile, or by using the same group membership the user relies on, because admins often bypass the exact problem you are trying to fix.
Have the affected user sign out and sign back in, then open the same file or folder that failed before. If the user is off-site or you cannot use their session, test with a separate account that belongs to the same group and has the same expected rights.
File opens normally
Folder contents are visible
No access denied message appearsExpected output
If the admin can open the file but the affected user still cannot, the permission change was not applied to the right identity, or another rule is still overriding it. Check group membership, nested groups, deny entries, and any app-specific path or sync setting that the user profile depends on.
How to stop this from happening after the next move
The easiest way to avoid this problem is to keep permissions attached to the folder structure, not to individual files, and to move content in a way that preserves those settings. Before a move, check whether the destination is on the same volume, the same share, or a different system, because cross-volume moves are more likely to change ownership or inheritance.
A few practical habits help:
- Review owner and ACLs before and after the move.
- Move the folder as a unit instead of dragging scattered files into a new location.
- Preserve permissions during the move when the tool offers that option.
- Avoid copying to a new location and then deleting the source until you have verified access for the real users.
- If profile redirection or drive mapping is involved, update the path at the same time as the move.
If the same issue keeps coming back after sync or restore jobs, check whether those jobs are replacing ACLs, restoring old ownership, or recreating the folder with default permissions.
What to check if access still fails
If the fix looks right but access still fails, check the leftovers that commonly mask the real problem.
- Sync delay: the permissions changed locally, but the synced copy has not finished updating yet.
- Cached credentials: the user is still authenticated with an old token or stale session.
- Read-only source copy: the folder was restored from a source that preserved content but not the intended ACLs.
- Overriding rule: a deny entry, a higher-level parent folder, or a share permission is still blocking access.
- Wrong target: you fixed one copy of the files, but the user is opening a different path, shortcut, or mapped drive.
If you find an inherited rule or a second copy of the same folder, fix that source of truth first. Otherwise the problem will keep returning every time the files are moved, synced, or restored again.
Conclusion
If access is still broken, go back to the ownership, inheritance, and profile-path checks before changing anything broader. The next step is to compare the failing profile’s path with the working one and repair the exact folder the user opens.
Frequently Asked Questions
Why can I open the file as an admin but the user still gets access denied?
Admins often bypass the problem because they have extra rights. That usually means the file permissions, inheritance, or profile mapping are still wrong for the user’s own account or group.
Should I take ownership of the whole share?
Usually no. Take ownership only on the affected folder or file set unless the entire share was moved and truly needs a full repair. Broad ownership changes can create a bigger permissions mess.
What if the folder keeps losing access after sync or restore?
Check the sync job, restore process, or backup policy. Some tools preserve content but replace ownership or ACLs, so the same permissions problem returns each time.