Forum Discussion

WilsonSu's avatar
WilsonSu
Icon for Microsoft rankMicrosoft
Mar 01, 2019

OneDrive for Business | Known folder silently redirection not work

Hi Everyone,

 

Recently, one of my customers meet the issue on "Silent move Windows Known folders to OneDrive".

When we configure the correct registry in local machine as following KB, the policy will not work as expected. And we have no redirection policy or <Prohibit User from manually redirecting Profile Folders> policy in Group Policy Result. 

Official Document: https://docs.microsoft.com/en-us/onedrive/use-group-policy#silently-move-windows-known-folders-to-onedrive

 

The root cause is that the silent KFM function will be only triggered in the first time. It is supposed to avoid repeating request when we open the OneDrive every time. It has a corresponding registry <KfmIsDoneSilentOptIn> in “Computer\HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1”.

 

Here is the solution.
1. Step1. Delete registry key from below path:

Path: Computer\HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1
Key: KfmIsDoneSilentOptIn: 2

2. Close the OneDrive and open it again
3. You will see that the notification on “Silent KFM” automatically start to work again.

27 Replies

  • msmyth's avatar
    msmyth
    Copper Contributor

    WilsonSu So we are trying to achieve the same thing using group policy, we have moved all the personal folders back to the C drive, (they were on a windows server), checking the 'Shell folders' & 'user shell folders' registry keys and there are no values containing a server path.

    Still no redirect, just the warning that the administrator has enforced a policy.

     

    We have destroyed the OneDrive Registry key completely and re-launched OneDrive, the personal folders fail to move/backup.

    We have the same problem on many PCs but we can't work out what setting/registry key is stopping this work. 

    • WilsonSu's avatar
      WilsonSu
      Icon for Microsoft rankMicrosoft

      msmyth 

      The issue might be still related to the conflict of Known Folder redirection in Group Policy. Here are two conflict policies in my experience as below.

      The first path of the GPO is “User Config -> Policies -> Administrative Templates -> Desktop -> Prohibit User from manually redirecting Profile Folders”.

      The second path of the GPO is “User Configuration -> Policies -> Windows Settings -> Folder Redirection -> Desktop/Documents/Pictures”.

       

      Another point is that KFM GPO needs to input your <tenant ID> and only be available in OneDrive for Business. Otherwise, to confirm whether it is the conflict of GPO cause this issue, you could try to use a PC to manually backup your known folders in settings to see whether it has error message. 

      • Mario Pastora's avatar
        Mario Pastora
        Brass Contributor
        Thanks so much, In fact we were able to find which GPO had us cornered and in fact we were redirecting the Documents folder to a local network drive letter. once we disabled that we were able to move on and made it past to a new issue which prevents us from enabling Silent Sign On. Whenever a Windows 10 user's profile gets recreated OneDrive will get stuck complaining that this folder already exists and won't make it past unless you right click on OneDrive blue icon break OneDrive and then Launch OneDrive from the user's profile and Sign in manually only then the OneDrive stays.. has anyone else experience this? perhaps knows a work around to this?
  • Mario Pastora's avatar
    Mario Pastora
    Brass Contributor

    WilsonSu  I am glad you have made it past this error in my case we are stuck in the looping error:  your IT department wants you to backup your important folders:

     

    • WilsonSu's avatar
      WilsonSu
      Icon for Microsoft rankMicrosoft

      Mario Pastora It seems that your domain has configured group policy to redirect your three known folder to other location rather than default one. Then it will show this error message. You could check the registry on your local to confirm. (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders)

Resources