Solved Mapping OneDrive Business to a drive letter
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
With the wonderful help of @JackCPickup, we were able to use the script previously mentioned that I thought broke. One of my coworkers has been able to confirm that it works for them as well, as is. Perfect!
Now, next task is to automate the execution of the script when the user logs in.
SUCCESS!!!
I threw the script into my SysVol. Then threw this little snippit into my batch file
@start powershell.exe -Command ". '\\<AD Server>\sysvol\<Domain>\scripts\OneDriveMapper.ps1'"
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
@nerdydad said in Mapping OneDrive Business to a drive letter:
With the wonderful help of @JackCPickup, we were able to use the script previously mentioned that I thought broke. One of my coworkers has been able to confirm that it works for them as well, as is. Perfect!
Now, next task is to automate the execution of the script when the user logs in.
SUCCESS!!!
I threw the script into my SysVol. Then threw this little snippit into my batch file
@start powershell.exe -Command ". '\\<AD Server>\sysvol\<Domain>\scripts\OneDriveMapper.ps1'"
Is it a sync, or does it map it without synchronizing all the OneDrive contents locally? A remote-only mapping would be great, or did I miss that somewhere above?
-
I've seen issues with users who have multiple devices, where their OneDrive would fill up their hard drive on another device with less disk space.
And it's impossible to go around to hundreds of computers to customize OneDrive folder content sync settings.
-
These are all just webDAV pointers without synchronizing OneDrive to all of the computers.
You are correct. We couldn't afford the storage that it would take for us to sync up everybody's OneDrive profiles across all of our servers, plus the backups that it would cost us. Dedup would help, but wouldn't be enough.
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
These are all just webDAV pointers without synchronizing OneDrive to all of the computers.
You are correct. We couldn't afford the storage that it would take for us to sync up everybody's OneDrive profiles across all of our servers, plus the backups that it would cost us. Dedup would help, but wouldn't be enough.
Onedrive has gotten better with Files on Demand but I would only recommend for user's individual files, not file shares. There is no file locking, and its just a mess for larger data sets. Those webdav scripts are a joke, wasted a lot of time on it. Your users will hate you.
For situations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
You are correct. We couldn't afford the storage that it would take for us to sync up everybody's OneDrive profiles across all of our servers, plus the backups that it would cost us. Dedup would help, but wouldn't be enough.
Why would you back it up more than once?
-
@bigbear said in Mapping OneDrive Business to a drive letter:
ituations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
For that, I would recommend enabling Recycle Bin of the whole Sharepoint Share and also users will get versioning instead of locking as you stated.
-
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
ituations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
For that, I would recommend enabling Recycle Bin of the whole Sharepoint Share and also users will get versioning instead of locking as you stated.
Sharepoint versioning doesn’t help in an excel spreadsheet that is constantly being updated, there would just be versions with disparate data.
Azure Files on a decent internet connection feels just like a file server. Was skeptical at first but haven’t had any issues yet.
-
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
ituations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
For that, I would recommend enabling Recycle Bin of the whole Sharepoint Share and also users will get versioning instead of locking as you stated.
Sharepoint versioning doesn’t help in an excel spreadsheet that is constantly being updated, there would just be versions with disparate data.
Azure Files on a decent internet connection feels just like a file server. Was skeptical at first but haven’t had any issues yet.
Oh believe me, a real file server is way better and yes it would render better results.
-
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
ituations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
For that, I would recommend enabling Recycle Bin of the whole Sharepoint Share and also users will get versioning instead of locking as you stated.
Sharepoint versioning doesn’t help in an excel spreadsheet that is constantly being updated, there would just be versions with disparate data.
Azure Files on a decent internet connection feels just like a file server. Was skeptical at first but haven’t had any issues yet.
Oh believe me, a real file server is way better and yes it would render better results.
Nothing like telling customers they are getting upgraded to the cloud only to realize their synced folder sucks compared to their 10 year old file server lol.
-
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
ituations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
For that, I would recommend enabling Recycle Bin of the whole Sharepoint Share and also users will get versioning instead of locking as you stated.
Sharepoint versioning doesn’t help in an excel spreadsheet that is constantly being updated, there would just be versions with disparate data.
Azure Files on a decent internet connection feels just like a file server. Was skeptical at first but haven’t had any issues yet.
Oh believe me, a real file server is way better and yes it would render better results.
Nothing like telling customers they are getting upgraded to the cloud only to realize their synced folder sucks compared to their 10 year old file server lol.
Yeah, and a lot of special characters limitations.
-
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
ituations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
For that, I would recommend enabling Recycle Bin of the whole Sharepoint Share and also users will get versioning instead of locking as you stated.
Sharepoint versioning doesn’t help in an excel spreadsheet that is constantly being updated, there would just be versions with disparate data.
Azure Files on a decent internet connection feels just like a file server. Was skeptical at first but haven’t had any issues yet.
Oh believe me, a real file server is way better and yes it would render better results.
Nothing like telling customers they are getting upgraded to the cloud only to realize their synced folder sucks compared to their 10 year old file server lol.
Synced folders should have local speed. That sounds like a Windows syncing problem if they aren't screaming fast.
-
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
@dbeato said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
ituations like these I have been using Azure Files. The SMB 3.0 stuff allows you to map drives directly to the cloud and you get the usual SMB features (and file locking). You can also install a premise server for caching of larger active datasets. SMB 3.0 includes all the good stuff from the Storsimple acquisition. Combine with Azure Domain Servers and Azure Active Directory, lots of options.
For that, I would recommend enabling Recycle Bin of the whole Sharepoint Share and also users will get versioning instead of locking as you stated.
Sharepoint versioning doesn’t help in an excel spreadsheet that is constantly being updated, there would just be versions with disparate data.
Azure Files on a decent internet connection feels just like a file server. Was skeptical at first but haven’t had any issues yet.
Oh believe me, a real file server is way better and yes it would render better results.
Nothing like telling customers they are getting upgraded to the cloud only to realize their synced folder sucks compared to their 10 year old file server lol.
Synced folders should have local speed. That sounds like a Windows syncing problem if they aren't screaming fast.
Not talking about speed, that’s fine. The lack of file locking for many small businesses the use excel heavily is insurmountable. Opening in multi user mode is a possible solution but even for me has been unreliable.
Also no support for virtual desktops without profile containers is a deal breaker for me as you know love my Remote Desktop Servers...
-
@bigbear said in Mapping OneDrive Business to a drive letter:
Also no support for virtual desktops without profile containers is a deal breaker for me as you know love my Remote Desktop Servers...
Not sure how OneNote does it, but we use NextCloud with remote desktop and it works great.
-
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@bigbear said in Mapping OneDrive Business to a drive letter:
Also no support for virtual desktops without profile containers is a deal breaker for me as you know love my Remote Desktop Servers...
Not sure how OneNote does it, but we use NextCloud with remote desktop and it works great.
It has to do with RDSH where evern dropbox.com can not run in multiple sessions. Or is you deploy RDS where images and profiles assemble and boot up for login, it requires something like profile containers from fslogix to work.
RDP itself to a windows 10 machine is not problem.
Unless I am not catching your meaning...
-
-
ODfB is SharePoint.
In Win10 make sure the Web Client service is enabled and running.
Open the SharePoint site in Internet Explorer. Browse to a library folder. Under the Library "tab" Open With Windows Explorer".
Authenticate if prompted with O365 credentials.
Once complete, in File Explorer click and hold the folder icon at the head of the address bar and pull it down to Quick Access/Favourites.
Once the shortcut is there, right click on it and Properties.
That's the WebDAV URI/URL to use for whatever script or even persistent drive mapping needed.
-
@phlipelder said in Mapping OneDrive Business to a drive letter:
ODfB is SharePoint.
In Win10 make sure the Web Client service is enabled and running.
Open the SharePoint site in Internet Explorer. Browse to a library folder. Under the Library "tab" Open With Windows Explorer".
Authenticate if prompted with O365 credentials.
Once complete, in File Explorer click and hold the folder icon at the head of the address bar and pull it down to Quick Access/Favourites.
Once the shortcut is there, right click on it and Properties.
That's the WebDAV URI/URL to use for whatever script or even persistent drive mapping needed.
That's a lot of steps to find the webdav URL.
-
@phlipelder said in Mapping OneDrive Business to a drive letter:
ODfB is SharePoint.
In Win10 make sure the Web Client service is enabled and running.
Open the SharePoint site in Internet Explorer. Browse to a library folder. Under the Library "tab" Open With Windows Explorer".
Authenticate if prompted with O365 credentials.
Once complete, in File Explorer click and hold the folder icon at the head of the address bar and pull it down to Quick Access/Favourites.
Once the shortcut is there, right click on it and Properties.
That's the WebDAV URI/URL to use for whatever script or even persistent drive mapping needed.
Yeah, ask a user to do all of that.
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
@phlipelder said in Mapping OneDrive Business to a drive letter:
ODfB is SharePoint.
In Win10 make sure the Web Client service is enabled and running.
Open the SharePoint site in Internet Explorer. Browse to a library folder. Under the Library "tab" Open With Windows Explorer".
Authenticate if prompted with O365 credentials.
Once complete, in File Explorer click and hold the folder icon at the head of the address bar and pull it down to Quick Access/Favourites.
Once the shortcut is there, right click on it and Properties.
That's the WebDAV URI/URL to use for whatever script or even persistent drive mapping needed.
Yeah, ask a user to do all of that.
Microsoft products are rarely user friendly. Not the route you go if you want it to be easy.