In a current project I was struggeling with the OneDrive Client in a VDI environment. OneDrive itself was working without problems, but I wasnt able to setup the protection of the important folders like Desktop,Documents and Pictures.
You always received the following message: “Your IT-administrators has set a policy that prevents changes to known folders. Please remove this policy and try again 0x201”
After checking all the OneDrive settings configured via ADMX we still couldnt get rid of the issue. After some trial and error we could find the root cause for this problem. In the Default User GPO we enabled the setting: “Prohibit User from manually redirecting Profile Folders”. This is blocking the OneDrive client moving the folders.
After disabling this setting via GPO everything was working as expected. Here is the affected registry key.
1 2 3 4 5 6 |
Registry Hive HKEY_CURRENT_USER Registry Path Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Value Name DisablePersonalDirChange Value Type REG_DWORD Enabled Value 1 Disabled Value 0 |
Muchas gracias , me salvaste llevaba horas investigando esto!
Thank you very much, you saved me time and nerves 🙂
I finally found it with “onedrive 0x201”.
To share it on Google, “Ihr IT-Administrator hat eine Richtlinie festgelegt die Änderungen an bekannten Ordnern verhindert”
Cheers, Fritz