Silently move Windows known folders to Onedrive using Intune

Windows Known folders are Desktop, Documents, and Pictures these are created by default for each user. Re-directing these folders to Onedrive provides two advantages:

  1. When you move/re-direct Windows Known folders to OneDrive, the data stored in those folders is automatically backed up.
  2. There is no change in the way users are working on these folders.

Intune Policies for Moving Known Folders to OneDrive

To Configure Known Folders Move to OneDrive using Intune, Configure below three settings:

  1. Prompt users to move Windows known folders to OneDrive – Use this setting to give users a prompt to move their Windows known folders.
  2. Silently move Windows-known folders to OneDrive – This will re-direct / move known folders without any user Interaction. If moving the known folders silently does not succeed, users will be prompted to fix the issue and continue. This prompt occurs due to the setting: “Prompt users to move Windows known folders to OneDrive.”
  3. Prevent users from redirecting their Windows known folders to their PC
    This setting forces users to keep their Documents, Pictures, and Desktop folders re-directed to OneDrive.

Steps for Moving Windows Known Folders to OneDrive Using Intune

  • Login on Microsoft Intune admin center
  • Click on Devices
  • Click on Configuration Profiles
  • Click on +Create Profile
  • Select Platform: Windows 10 and later
  • Profile type: Settings Catalog
  • Click Create

Basics

  • Name: Onedrive KFM Policy
  • Description: Provide a useful description.

Configuration

  • Click on + Add settings and Find OneDrive category.
Select Onedrive from settings picker
Select Onedrive from settings picker
  • Locate the following Three Policies and Enable them Using the Toggle Switch.
    • Prompt users to move Windows known folders to OneDrive.
    • Silently move Windows known folders to OneDrive.
    • Prevent users from redirecting their Windows known folders to their PC.

To configure these policies, you’ll need your Tenant ID. To obtain your Tenant ID, go to the Entra ID admin center > Identity > Overview.

Tenant ID
Onedrive known folder move settings on Intune
Onedrive known folder move settings on Intune

Assignments

Click on Add group to add an Azure AD group containing users or devices. You can also click on Add all users or Add all devices.

Assign Onedrive known folder move policy to devices
Assign Onedrive known folder move policy to devices

Review + Create

Review the deployment and click on Create to start the deployment process.

End-user Experience

Now, let’s inspect one of the user devices to verify if our device configuration profile has been successfully applied.

Windows known folder redirection to Onedrive
Windows known folder redirection to Onedrive
Your IT department wants you to back up your folders
Your IT department wants you to back up your folders
Your IT department wants you to back up your Important folders
Your IT department wants you to back up your important folders

FAQs

1. Where is the Tenant ID stored in the Registry for OneDrive?

The Tenant ID is stored in the Windows Registry at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive, specifically within the KFMOptInWithWizard registry entry.

KFMOptInWithWizard registry entry
KFMOptInWithWizard registry entry

3. Full List of OneDrive Policies available in Intune Settings Catalog

At the time of writing this blog post, there are approximately 40 settings in the OneDrive folder of the Settings Catalog within the Intune Device Configuration Profile. For more detailed information about each policy, you can refer to the Microsoft documentation.

  1. Allow OneDrive to disable Windows permission inheritance in folders synced read-only
  2. Allow syncing OneDrive accounts for only specific organizations
  3. Allow users to choose how to handle Office file sync conflicts (User)
  4. Always use the user’s Windows display language when provisioning known folders in OneDrive
  5. Always use the user’s Windows display language when provisioning known folders in OneDrive (User)
  6. Block file downloads when users are low on disk space
  7. Block syncing OneDrive accounts for specific organizations
  8. Cause sync client to ignore normal web proxy detection logic
  9. Coauthor and share in Office desktop apps (User)
  10. Configure team site libraries to sync automatically
  11. Configure team site libraries to sync automatically (User)
  12. Continue syncing on metered networks (User)
  13. Continue syncing when devices have battery saver mode turned on (User)
  14. Convert synced team site files to online-only files
  15. Disable the tutorial that appears at the end of OneDrive Setup (User)
  16. Enable automatic upload bandwidth management for OneDrive
  17. Exclude specific kinds of files from being uploaded
  18. Hide the “Deleted files are removed everywhere” reminder
  19. Limit the sync app download speed to a fixed rate (User)
  20. Limit the sync app upload rate to a percentage of throughput
  21. Limit the sync app upload speed to a fixed rate (User)
  22. Prevent the sync app from generating network traffic until users sign in
  23. Prevent users from changing the location of their OneDrive folder (User)
  24. Prevent users from moving their Windows known folders to OneDrive
  25. Prevent users from redirecting their Windows known folders to their PC
  26. Prevent users from syncing libraries and folders shared from other organizations
  27. Prevent users from syncing personal OneDrive accounts (User)
  28. Prompt users to move Windows known folders to OneDrive
  29. Prompt users when they delete multiple OneDrive files on their local computer
  30. Require users to confirm large delete operations
  31. Set the default location for the OneDrive folder (User)
  32. Set the maximum size of a user’s OneDrive that can download automatically
  33. Set the sync app update ring
  34. Silently move Windows known folders to OneDrive
  35. Silently sign in users to the OneDrive sync app with their Windows credentials
  36. Specify SharePoint Server URL and organization name
  37. Specify the OneDrive location in a hybrid environment
  38. Sync Admin Reports
  39. Use OneDrive Files On-Demand
  40. Warn users who are low on disk space

Leave a Comment