Thursday, April 25, 2024

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

Migrate Microsoft 365 Mailboxes to Google Workspace

This is not a very common subject to talk about as most of the migrations that get performed are people moving into the Microsoft...

Microsoft 365 Discovery Report

If you are working with a Microsoft 365 tenant, whether it is for your own or for a client, it is often necessary to...

Batches Paused in ‘Needs Approval’ Status

When you are using the native Microsoft tools to migrate from Google Workspace (Gmail) into Microsoft 365 the tool works very well. It does...

Stay Connected

88FansLike
36,999FollowersFollow
32,381SubscribersSubscribe
- Advertisement -

Latest Articles