How to wipe Folder Redirection remants from user profile?

Denis Payne 156 Reputation points
2022-11-30T10:46:20.893+00:00

Folder Redirection GPO has been deleted.
The user's Documents folder is pointing to the correct location being C:\Uses\John.Smith\Documents.

However, OneDrive fails to backup the Documents folder and the Documents folder Location tab is missing the 'restore default', 'move...' and 'find target...' options so I presume a Folder Redirection remnant is stuck somewhere.

Ran gpupdate /v
The 'Applied Group Policy Objects' section shows no GPO's relating to folder redirection.
Yet the 'Resultant Set Of Policies for User>Folder Redirection' section shows the deleted Folder Redirection policy.

I think this stuck Folder Redirection policy is the reason Documents>Location tab is missing those options AND also why OneDrive sync client is unable to backup the Documents folder.

265654-image.png

265625-image.png

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2022-12-02T09:18:28.977+00:00

    Hi,

    Thank you for posting your query.

    Kindly follow the steps provided below to resolve your issue.

    Ran gpupdate /force command on DC as well as on the workstation where user 99 was logged in.

    Checked and found that the group policy of folder redirection was successfully getting applied to the user.

    We removed “user99” from the “staff” OU and placed it in a different OU where there was no folder redirection policy being applied.

    We then executed the following commands on the DC

    Gpupdate /force

    Repadmin /syncall /AeP

    Repadmin /syncall /AePdq

    Gpupdate /force

    We executed the command “gpupdate /force” on the workstation where the user was logged in and rebooted the system.

    Reference and other troubleshooting procedures https://learn.microsoft.com/answers/questions/560682/turning-off-folder-redirection.html

    ------------------------------------------------------------------------------------------------------------------------------------

    If the answer is helpful kindly click "Accept as Answer" and up vote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.