Set default onedrive folder location for entire domain

%3CLINGO-SUB%20id%3D%22lingo-sub-1193128%22%20slang%3D%22en-US%22%3ESet%20default%20onedrive%20folder%20location%20for%20entire%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1193128%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20using%20roaming%20profiles%20(%20%25USERPROFILE%25%20is%20a%20network%20location)%20and%20the%20onedrive%20folders%20being%20placed%20here%20is%20causing%20the%20obvious%20issues.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20have%20the%20following%20question%3A%20Can%20I%20override%20the%20default%20%25userprofile%25%20Onedrive%20folder%20location%20through%20a%20gpo%20or%20registry%20key%20setting%20using%20a%20group%20policy%3F%20(or%20possibly%20another%20method).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20set%20up%20the%20latest%20gpo%20(and%20found%20a%20lot%20of%20usefull%20settings)%20but%20don't%20see%20the%20default%20folder%20location%20setting%20on%20that%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20any%20trouble%20to%20be%20taken%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1193128%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDomain%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1233990%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20default%20onedrive%20folder%20location%20for%20entire%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1233990%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F75564%22%20target%3D%22_blank%22%3E%40Jesse%20Veentjer%3C%2FA%3E%26nbsp%3B-%20Hi%2C%20the%20setting%20is%20in%20the%20GPO%20-%20here's%20the%20documentation%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fuse-group-policy%23set-the-default-location-for-the-onedrive-folder%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fuse-group-policy%23set-the-default-location-for-the-onedrive-folder%3C%2FA%3E.%26nbsp%3B%20I%20believe%20the%20defined%20location%20has%20to%20be%20on%20the%20local%20drive%2C%20and%20not%20a%20mapped%20drive.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hey Everyone,

 

We're using roaming profiles ( %USERPROFILE% is a network location) and the onedrive folders being placed here is causing the obvious issues.

 

So I have the following question: Can I override the default %userprofile% Onedrive folder location through a gpo or registry key setting using a group policy? (or possibly another method).

 

I've set up the latest gpo (and found a lot of usefull settings) but don't see the default folder location setting on that list.

 

Thank you in advance for any trouble to be taken

1 Reply

@Jesse Veentjer - Hi, the setting is in the GPO - here's the documentation https://docs.microsoft.com/en-us/onedrive/use-group-policy#set-the-default-location-for-the-onedrive....  I believe the defined location has to be on the local drive, and not a mapped drive.