Thursday, July 2, 2026

Redirect Local Folders to OneDrive

From time to time I am asked about the use of OneDrive in business and that some users have embraced it and some haven’t. Well the easy way for them to get to use it is to divert all their normal folders, Documents / Pictures etc away from the normal location and in to OneDrive. They still work exactly the same way but mean they are accessible everywhere and provides a much better experience for the user. This is what you need to do. First step is to get into Group Policy Management on your DC.

Right click, (in this case on Light Blue Frog) and select ‘Create a new GPO’. Then give it a meaningful name.

Now you have the basic framework in place, we need to give it some options. So right click the GPO and edit it.

Then Navigate down to User Configuration | Policies | Windows Settings | Folder Redirection | Documents. Right click and select ‘Properties’, then put the following values in.

Do the same for the Pictures item as well, but with these settings. You will get a warning about it not being a UNC path but just ignore that.


The next part is to add the environment variable to binds it all together. Go down to User Configuration | Preferences | Environment, and add a new Environment variable. Make it look like this. (Now you will obviously have to substitute the company name out)

At the end of it all, your GPO should look like this.

Now log a user off and bring them back on. You may need to wait for the normal GPO propagation to occur but the best thing is this.

IF YOU HAVE A USER WITH DOCUMENTS AND PICTURES ALREADY ON THEIR DESKTOP, THE SYSTEM WILL AUTOMATICALLY MIGRATE THE DATA TO ONEDRIVE. HOW FREAKING COOL IS THAT!!

And with that, you are done.

Mark Rochester
Mark Rochesterhttps://thecloudgeezer.com
Mark currently works in the cloud space assisting large companies to migrate from either on premises to the cloud, or cloud to cloud. His experience with Enterprise migrations spans more than 25 years which basically makes him old. However, with all the oldness creeping up he still finds technology massively exciting. Please reach out for a chat anytime you would like. :-)

Related Articles

OneDrive Sharing Report – June 2026

Take Control of OneDrive Sharing Across Your Entire Microsoft 365 Tenant Let's be honest — Microsoft's built-in sharing reports are pretty underwhelming. They show you...

SharePoint Discovery Tool

Know exactly who has access to what across your entire SharePoint Online environment. Managing SharePoint permissions at scale is one of the most time-consuming and...

Microsoft 365 Discovery Report

How long does a full Microsoft 365 tenant assessment take you? For me, it used to be half a day. Clicking through Exchange admin, SharePoint...

Stay Connected

88FansLike
36,999FollowersFollow
70,704SubscribersSubscribe
- Advertisement -

Latest Articles