AlphamaleZed Posted January 22 Posted January 22 Hi All, Over the next few months i would like to migrate our redirected folders and users H Drive to onedrive in the background silently feel like i am falling behind lol! First this then next would be moving staff shares to onedrive/sharepoint next. I just wanted to ask about your experiences and tips and tricks to get it as slick as possible so be keen to hear your experiences. Let me know!
itskdog Posted January 22 Posted January 22 Microsoft have a built-in migration tool available from the SharePoint Admin Centre. As a bonus it can also migrate your file shares to SharePoint sites. Migrate file shares to SharePoint and OneDrive - Migrate to Microsoft 365 | Microsoft Learn
3s-gtech Posted January 22 Posted January 22 I’m on this path currently. I have a set of GPOs which allow me to smoothly switch between the two for some test users - the GPOs have inheritance blocked so that I can completely separate them. I have not gone the route of moving the content - that’s left to the users - so their H: drive is still mapped to the server, but Onedrive for their Documents, Desktop etc. Plan is to move everyone (staff) across this summer, after extensive testing. It’s going fine.
AlphamaleZed Posted January 22 Author Posted January 22 33 minutes ago, itskdog said: Microsoft have a built-in migration tool available from the SharePoint Admin Centre. As a bonus it can also migrate your file shares to SharePoint sites. Migrate file shares to SharePoint and OneDrive - Migrate to Microsoft 365 | Microsoft Learn Yeah ive tested that and works well to be honest, im ready to do this but need the known folder stuff and auto silent first. then how they are mapped on PCs.
AlphamaleZed Posted January 22 Author Posted January 22 33 minutes ago, 3s-gtech said: I’m on this path currently. I have a set of GPOs which allow me to smoothly switch between the two for some test users - the GPOs have inheritance blocked so that I can completely separate them. I have not gone the route of moving the content - that’s left to the users - so their H: drive is still mapped to the server, but Onedrive for their Documents, Desktop etc. Plan is to move everyone (staff) across this summer, after extensive testing. It’s going fine. do you mind sharing the GPOs? so far i have set these through intune. but GPO will have some bits attached too.
3s-gtech Posted January 22 Posted January 22 User Configuration Policies Windows Settings Folder Redirection Desktop Setting: Not configured Documents Setting: Not configured Music Setting: Not configured Pictures Setting: Not configured Preferences Windows Settings Registry Personal (Order: 1) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name Personal Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Documents Desktop (Order: 2) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name Desktop Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\Desktop {F42EE2D3-909F-4907-8871-4C22FC0BF756} (Order: 3) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {F42EE2D3-909F-4907-8871-4C22FC0BF756} Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Documents My Pictures (Order: 4) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name My Pictures Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Pictures {0DDD015D-B06C-45D5-8C4C-F59713854639} (Order: 5) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {0DDD015D-B06C-45D5-8C4C-F59713854639} Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Pictures {35286A68-3C57-41A1-BBB1-0EAE73D76C95} (Order: 6) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {35286A68-3C57-41A1-BBB1-0EAE73D76C95} Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\My Videos {374DE290-123F-4565-9164-39C4925E467B} (Order: 7) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {374DE290-123F-4565-9164-39C4925E467B} Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\Downloads {A0C69A99-21C8-4671-8703-7934162FCF1D} (Order: 8) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {A0C69A99-21C8-4671-8703-7934162FCF1D} Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\My Music I have these set as the main 'switchover' GPO. It unsets the redirection and changes the registry entries directly. You wouldn't need to do these on a new machine, but if logging onto an existing profile this will switch it over (or, it should).
AlphamaleZed Posted January 22 Author Posted January 22 1 hour ago, 3s-gtech said: User Configuration Policies Windows Settings Folder Redirection Desktop Setting: Not configured Documents Setting: Not configured Music Setting: Not configured Pictures Setting: Not configured Preferences Windows Settings Registry Personal (Order: 1) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name Personal Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Documents Desktop (Order: 2) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name Desktop Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\Desktop {F42EE2D3-909F-4907-8871-4C22FC0BF756} (Order: 3) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {F42EE2D3-909F-4907-8871-4C22FC0BF756} Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Documents My Pictures (Order: 4) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name My Pictures Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Pictures {0DDD015D-B06C-45D5-8C4C-F59713854639} (Order: 5) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {0DDD015D-B06C-45D5-8C4C-F59713854639} Value type REG_EXPAND_SZ Value data %USERPROFILE%\OneDrive - xx\Pictures {35286A68-3C57-41A1-BBB1-0EAE73D76C95} (Order: 6) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {35286A68-3C57-41A1-BBB1-0EAE73D76C95} Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\My Videos {374DE290-123F-4565-9164-39C4925E467B} (Order: 7) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {374DE290-123F-4565-9164-39C4925E467B} Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\Downloads {A0C69A99-21C8-4671-8703-7934162FCF1D} (Order: 8) General Action Update Properties Hive HKEY_CURRENT_USER Key path SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Value name {A0C69A99-21C8-4671-8703-7934162FCF1D} Value type REG_EXPAND_SZ Value data %USERPROFILE%\Onedrive - xx\My Music I have these set as the main 'switchover' GPO. It unsets the redirection and changes the registry entries directly. You wouldn't need to do these on a new machine, but if logging onto an existing profile this will switch it over (or, it should). Legend Thanks. Do you know how to get the autostart on login by any chance? struggling with that lol! i have gpos and intune polcies non conflicting in place but just not running my last resort is the reg below but have not tested yet. HKCU\Software\Microsoft\Windows\CurrentVersion\Run Name: OneDrive Type: REG_SZ Data: "C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background
3s-gtech Posted January 22 Posted January 22 Hmmm, not sure. As you're using Intune I guess they're Hybrid joined - that is one of the requirements for it to auto-login. I install the Onedrive per-machine app as an MSI. This is in a Computer settings GPO: Computer Configuration (Enabled) Policies Administrative Templates OneDrive Exclude specific kinds of files from being uploaded Enabled Keywords: .pst .lnk Prevent users from redirecting their Windows known folders to their PC Enabled Require users to confirm large delete operations Enabled Silently move Windows known folders to OneDrive Enabled Tenant ID: xx Show notification to users after folders have been redirected: No Folder Options: Desktop Enabled Documents Enabled Pictures Enabled
MYK-IT Posted January 22 Posted January 22 (edited) We install (latest) MS OneDrive client as part of build process, but can be deployed similar using: Quote OneDriveSetup.exe /silent /allusers Our Intune (Settings Catalog) configuration is as follows: Quote OneDrive ------------------------------------------------------------------------ Allow syncing OneDrive accounts for only specific organizations - Enabled Tenant ID: (Device) - XXXXX-XXXXX-XXXXX-XXXXX-XXXXX Coauthor and share in Office desktop apps (User) - Enabled Convert synced team site files to online-only files - Enabled Enable sync health reporting for OneDrive - Enabled Prevent users from redirecting their Windows known folders to their PC - Enabled Prevent users from syncing libraries and folders shared from other organizations - Enabled Prevent users from syncing personal OneDrive accounts (User) - Enabled Prompt users to move Windows known folders to OneDrive - Disabled Silently move Windows known folders to OneDrive - Enabled Desktop (Device) - False Documents (Device) -True Pictures (Device) - True Show notification to users after folders have been redirected: (Device) - Yes Tenant ID: (Device) - XXXXX-XXXXX-XXXXX-XXXXX-XXXXX Silently sign in users to the OneDrive sync app with their Windows credentials - Enabled Use OneDrive Files On-Demand - Enabled Also, I suspect your devices are Hybrid Joined, as you mentioned using a combination of GPO & Intune Policies. Therefore, your devices may be set as a 'Shared PC'. (E.g. Shared PC Policy is applied, which disables the MS OneDrive client from working). If that is the case, you will need to make a couple of changes to re-enable OneDrive Client as follows (e.g. Intune > Device Configuration > Templates > Custom): Quote Name: OneDrive File Sync Description: Disable OneDrive File Sync OMA-URI: ./Device/Vendor/MSFT/Policy/Config/System/DisableOneDriveFileSync Data Type: Integer Value: 0 Name: MDM Policy Supersedes Description: MDM Policy Supersedes Local Group Policy OMA-URI: ./Device/Vendor/MSFT/Policy/Config/ControlPolicyConflict/MDMWinsOverGP Data Type: Integer Value: 1 And finally, we enable StorageSense, especially for Shared PCs (with appropriate retention periods etc) to ensure the local storage is kept under control (e.g. local cached profiles etc) We also used the SharePoint Migration Tool, as @itskdog mentioned when we migrated everything over to OneDrive (and SharePoint) etc. Hope this helps! Edited January 22 by MYK-IT
AlphamaleZed Posted January 22 Author Posted January 22 I have got it working, had a policy conflict on intune with shared pc mode. you have to have "Enable Shared PC Mode With One Drive Sync" and not the other enabled. This is my setup for anyone who needs it. Allow users to contact Microsoft for feedback and support Disabled Silently sign in users to the OneDrive sync app with their Windows credentials Enabled Start OneDrive automatically when signing in to Windows (User) Enabled Use OneDrive Files On-Demand Enabled Shared PC ------------------------------------------------------------------------ Account Model Domain Deletion Policy Delete immediately Disk Level Caching 50 Disk Level Deletion 25 Enable Account Manager true Enable Shared PC Mode With One Drive Sync Enabled Inactive Threshold 1 Kiosk Mode AUMID Kiosk Mode User Tile Display Text Maintenance Start Time 0 Max Page File Size MB 1024 Restrict Local Storage false Set Edu Policies true Set Power Policies true Sign In On Resume false Sleep Timeout 300 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now