![]() You can download here > (you might need to create a free account). I have used Visual Basic 2010 express, purely because i’ve had it for years and i understand it a bit more than other languages. The code probably could be tidied up a little but as i said, its a quick fix and it works. Bat file silently and provide a progress bar to the end user so at least they see “something” happening.īefore we continue, i must stress this probably wont be the best way to do it, there may be even easier options out there but its a quick fix to a problem i had, it works for me, if it also helps you then great. I have written a small program in VB which will call the. If like me you don’t like the idea of a batch window being open on the users screen for a few mins while Onedrive installs, this may be the best option for you. At the end of the script it will create a blank file in their %USERPROFILE% folder and check against it to ensure it doesn’t run again. The script can be downloaded or copied from Pastebin below. The Batch script can be run manually but makes sense to add this as a logon script. You will need to enable the following GPO’s.Ĭomputer Config > Policies > Admin Templates > Onedrive > Silently configure OneDrive using the primary Windows account – EnabledĬomputer Config > Policies > Admin Templates > Onedrive > Enable Onedrive Files-On-Demand (Okay not needed but why wouldnt you?) In order for this to work i will assume you already have Azure SSO setup, (I was in the process of writing an article but got sidetracked, i’ll update the article here once i get a minute) and that you have a valid O365 subscription. Create ‘Completion’ file for step 1 to check against.Run first time setup (OneDriveSetup.exe).Once provisioned, wait 12 seconds to ensure its fully provisioned.Check to see if Onedrive.exe exists, if not keep checking.I haven’t yet found a way to speed up this process, so instead I’ve put together a small batch script that will do the following įirst Check if the setup had already run before, if so terminate Once Onedrive installs, the icon was greyed out (offline), users would have to manually Right Click > Settings > Account > Add Account before their files would sync. This can be a big pain in schools, especially with shared workstations. There doesn’t seem to be any indication that Onedrive is actually doing anything to the end user, and the ‘onedrive’ folder in Explorer displays, but doesn’t contain any files. Subsequent logons are fine, its just the very first logon that seems to take an age. I tried it with and without the system apps on W10-1809 and it didn’t seem to make much difference, onedrive would take around 3-4 minutes to install (per user) on first logon. I’m unsure if its just me, or other people are having the same issue of Onedrive for Business not ‘provisioning’ until around 3 minutes after first logon.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |