OneDrive Silent Configure Process broken - Will not spawn new process

%3CLINGO-SUB%20id%3D%22lingo-sub-254005%22%20slang%3D%22en-US%22%3EOneDrive%20Silent%20Configure%20Process%20broken%20-%20Will%20not%20spawn%20new%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-254005%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20having%20a%20few%20issues%20with%20OneDrive%20Autoconfigure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20followed%20the%20documentation%20to%20set%20up%20the%20GPOs%20for%20silent%20config.%20my%20config%20is%20below%20(tenant%20IDs%20and%20usernames%20hidden%20to%20protect%20the%20innocent)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EComputer%20GPOS%20-%3C%2FP%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20405px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F50072i3B079AC39B96605F%2Fimage-dimensions%2F405x281%3Fv%3D1.0%22%20width%3D%22405%22%20height%3D%22281%22%20alt%3D%22Computer1.png%22%20title%3D%22Computer1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ewith%20the%20following%20GPPs%20in%20to%20set%20some%20registry%20keys%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F50073i5764687F73962870%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22computer2.png%22%20title%3D%22computer2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUser%20GPOs%20-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F50074i405D2D0D6C84C0F5%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22User%201.png%22%20title%3D%22User%201.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20GPP%20for%20EnableADAL%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F50075i3E0C9E002781C7AE%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22user%202.png%22%20title%3D%22user%202.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20problem%20is%20that%20on%20user%20login%2C%20OneDriveSetup.exe%20launches%20as%20expected%20and%20spawns%20child%20processes%20to%20set%20the%20client%20up.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eit%20then%20creates%20a%20%22OneDrive%22%20node%20in%20explorer%20(rather%20than%20%22OneDrive%20-%20ClientName%22)%20and%20the%20Onedrive.exe%20process%20terminates.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eit%20does%20not%20spawn%20the%20OneDrive%20for%20Business%20process.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20then%20click%20on%20the%20%22OneDrive%22%20node%20in%20explorer%2C%20it%20spawns%20a%20new%20OneDrive.exe%20process%20which%20removes%20the%20%22OneDrive%22%20node%2C%20restarts%20explorer%20and%20replaces%20it%20with%20%22OneDrive%20-%20ClientName%22%20fully%20configured%20and%20working...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebelow%20is%20the%20process%26nbsp%3Bflow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20928px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F50078iC525E17D087C9240%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22OneDriveIssue.PNG%22%20title%3D%22OneDriveIssue.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20seen%20this%20issue%20before%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStephen%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-254005%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-340122%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Silent%20Configure%20Process%20broken%20-%20Will%20not%20spawn%20new%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-340122%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F17172%22%20target%3D%22_blank%22%3E%40Stephen%20McGuigan%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F223997%22%20target%3D%22_blank%22%3E%40Stefan%20van%20der%20Busse%3C%2FA%3E%26nbsp%3Band%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F279138%22%20target%3D%22_blank%22%3E%40RobinPengilley%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk%2C%20so%20OneDriveSetup%2019.2.107.8%20from%20the%20production%20ring%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fnew-onedrive-sync-client-release-notes-845dcf18-f921-435e-bf28-4e24b95e5fc0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fnew-onedrive-sync-client-release-notes-845dcf18-f921-435e-bf28-4e24b95e5fc0%3C%2FA%3E%3C%2FP%3E%3CP%3Eseems%20to%20work.%20I%20can%20see%202%20choices%20-%20mess%20with%20the%20default%20user%20registry%2C%20or%20mess%20with%20SysWOW64.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E**%20WARNING%20-%20don't%20mess%20with%20either%20of%20these%20unless%20you%20know%20what%20you're%20doing.%20Always%20make%20backups%20and%20test%20first!!%20**%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ERegistry%20method%3A%20Load%20the%20Default%20Profile%20hive%20%26gt%3B%20Software%5CMicrosoft%5CWindows%5CCurrentVersion%5CRun%3C%2FP%3E%3CP%3EChange%20the%20OneDriveSetup%20entry%20and%20point%20it%20to%20the%2019.2.107.8%20setup%20version%20instead.%20Unload%20hive.%20Restart%20and%20test.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESysWOW64%20method%3A%20Change%20the%20permissions%20of%20OneDriveSetup.exe%20so%20you%20can%20replace%20it%20with%20the%2019.2.107.8%20version.%20Restart%20and%20test%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20find%20an%20easier%2Fbetter%20way%2C%20feel%20free%20to%20comment.%20Note%20-%20this%20was%20for%20an%20Azure%20AD%20joined%20environment.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELoftey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-340055%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Silent%20Configure%20Process%20broken%20-%20Will%20not%20spawn%20new%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-340055%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stephen%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20been%20trawling%20the%20net%20for%20the%20same.%20Everything%20worked%20fine%20on%20Win%2010%201709%20and%201803.%20Once%20we%20moved%20over%20to%201809%2C%20OneDrive%20only%20signs%20the%20user%26nbsp%3Bin%26nbsp%3Bafter%20the%20second%20time%20they%20log%20in.%20Unfortunately%20a%20large%20portion%20of%20our%20customer's%20computers%20are%20set%20up%20as%20Kiosks%2C%20which%20means%20all%20data%20are%20reset%20as%20soon%20as%20you%20restart.%20Therefore%20they%20require%20OneDrive%20to%20sign%20the%20user%20in%20the%20first%20time.%3C%2FP%3E%3CP%3ESo%20after%20investigating%2C%20this%20is%20what%20I%20found%3A%3C%2FP%3E%3CP%3EIn%20Win%2010%201809%2C%20the%20OneDriveSetup.exe%20version%2018.143.717.2.%26nbsp%3Bsits%20under%20C%3A%5CWindows%5CSysWOW64.%20When%20a%20new%20user%20logs%20in%2C%20the%20registry%20runs%20OneDriveSetup.exe%20%2Fthfirstsetup%3C%2FP%3E%3CP%3EThis%20overwrites%20whatever%20version%20of%20OneDrive%20the%20user%20has%20under%20%25UserProfle%25%5CAppdata%5CLocal%5CMicrosoft%5COneDrive.%20This%20also%20takes%20a%20while%20to%20complete.%20Once%20it's%20done%20after%20about%205%20minutes%2C%20the%20registry%20entry%20changes%20to%3A%20%22C%3A%5CUsers%5CUserProfileName%5CAppData%5CLocal%5CMicrosoft%5COneDrive%5COneDrive.exe%22%20%2Fbackground%3C%2FP%3E%3CP%3EHence%20it%20only%20runs%20OneDrive%20for%20business%20properly%20after%20the%20restart%2C%20and%20apply%20the%20Group%20Policies%20accordingly.%3C%2FP%3E%3CP%3EI'm%20in%20the%20process%20of%20testing%20overwriting%20the%20installer%20with%20the%20new%2019%2C%20or%20older%2017%20version%20(Win%2010%201803%20has%2017.3.6816.313).%20If%20anyone%20got%20it%20working%20so%20far%2C%20please%20let%20us%20know%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELoftey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331549%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Silent%20Configure%20Process%20broken%20-%20Will%20not%20spawn%20new%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331549%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stephen%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20having%20the%20same%20issue%20-%20however%20it%20has%20only%20cropped%20up%20for%20us%20when%20testing%201809%20build%20of%20Windows%2010.%201803%20works%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20link%20anywhere%20to%20the%20specific%20bug%20Microsoft%20have%20logged%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-267798%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Silent%20Configure%20Process%20broken%20-%20Will%20not%20spawn%20new%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-267798%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stefan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20at%20msignite%20last%20week%20and%20showed%20it%20to%20a%20couple%20of%20the%20one%20drive%20developers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20has%20been%20logged%20as%20a%20bug.%20I%20am%20working%20with%20them%20to%20resolve.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStephen%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-267740%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Silent%20Configure%20Process%20broken%20-%20Will%20not%20spawn%20new%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-267740%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stephen%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20seeing%20the%20same%20in%20a%20customer%20environment.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20second%20login%2C%20OneDrive%20silently%20configures%20fine%20(and%20in%20my%20case%2C%20kicks%20of%20KFM).%3C%2FP%3E%3CP%3EIf%20I%20do%20any%20of%20the%20following%3A%3C%2FP%3E%3CUL%3E%3CLI%3EGo%20into%20OneDrive's%20settings%20and%20click%20%22add%20an%20account%22%20-%20silent%20config%20completes%20-%20without%20prompt%20for%20credentials.%3C%2FLI%3E%3CLI%3EEnd%20the%20OneDrive.exe%20process%20-%20and%20restart%20-%20silent%20config%20completes%26nbsp%3B%3C%2FLI%3E%3CLI%3ELog%20off%20and%20log%20back%20in%20again%20-%20silent%20config%20completes%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20get%20to%20the%20bottom%20of%20this%3F%20I%20don't%20want%20to%20script%20around%20it%2C%20but%20given%20the%20nature%20of%20the%20shared%20devices%20i'm%20deploying%2C%20i%20may%20have%20to.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi All

 

I am having a few issues with OneDrive Autoconfigure.

 

I have followed the documentation to set up the GPOs for silent config. my config is below (tenant IDs and usernames hidden to protect the innocent)

 

Computer GPOS -

 Computer1.png

with the following GPPs in to set some registry keys:

 

computer2.png

 

User GPOs -

 

User 1.png

 

and GPP for EnableADAL

 

user 2.png

 

My problem is that on user login, OneDriveSetup.exe launches as expected and spawns child processes to set the client up.

 

it then creates a "OneDrive" node in explorer (rather than "OneDrive - ClientName") and the Onedrive.exe process terminates.

 

it does not spawn the OneDrive for Business process.

 

If I then click on the "OneDrive" node in explorer, it spawns a new OneDrive.exe process which removes the "OneDrive" node, restarts explorer and replaces it with "OneDrive - ClientName" fully configured and working...

 

below is the process flow.

 

OneDriveIssue.PNG

 

Has anyone seen this issue before?

 

Thanks in advance

 

Stephen

5 Replies

Hi Stephen,

I'm seeing the same in a customer environment.

 

On second login, OneDrive silently configures fine (and in my case, kicks of KFM).

If I do any of the following:

  • Go into OneDrive's settings and click "add an account" - silent config completes - without prompt for credentials.
  • End the OneDrive.exe process - and restart - silent config completes 
  • Log off and log back in again - silent config completes

 

Did you get to the bottom of this? I don't want to script around it, but given the nature of the shared devices i'm deploying, i may have to.

 

Stefan

Hi Stefan

 

I was at msignite last week and showed it to a couple of the one drive developers.

 

It has been logged as a bug. I am working with them to resolve.

 

Stephen

Hi Stephen,

 

We are having the same issue - however it has only cropped up for us when testing 1809 build of Windows 10. 1803 works fine.

 

Is there a link anywhere to the specific bug Microsoft have logged?

Hi Stephen

 

I've been trawling the net for the same. Everything worked fine on Win 10 1709 and 1803. Once we moved over to 1809, OneDrive only signs the user in after the second time they log in. Unfortunately a large portion of our customer's computers are set up as Kiosks, which means all data are reset as soon as you restart. Therefore they require OneDrive to sign the user in the first time.

So after investigating, this is what I found:

In Win 10 1809, the OneDriveSetup.exe version 18.143.717.2. sits under C:\Windows\SysWOW64. When a new user logs in, the registry runs OneDriveSetup.exe /thfirstsetup

This overwrites whatever version of OneDrive the user has under %UserProfle%\Appdata\Local\Microsoft\OneDrive. This also takes a while to complete. Once it's done after about 5 minutes, the registry entry changes to: "C:\Users\UserProfileName\AppData\Local\Microsoft\OneDrive\OneDrive.exe" /background

Hence it only runs OneDrive for business properly after the restart, and apply the Group Policies accordingly.

I'm in the process of testing overwriting the installer with the new 19, or older 17 version (Win 10 1803 has 17.3.6816.313). If anyone got it working so far, please let us know :)

 

Cheers.

 

Loftey

Hi @Stephen McGuigan, @Stefan van der Busse and @RobinPengilley 

 

Ok, so OneDriveSetup 19.2.107.8 from the production ring here: https://support.office.com/en-us/article/new-onedrive-sync-client-release-notes-845dcf18-f921-435e-b...

seems to work. I can see 2 choices - mess with the default user registry, or mess with SysWOW64.

 

** WARNING - don't mess with either of these unless you know what you're doing. Always make backups and test first!! **


Registry method: Load the Default Profile hive > Software\Microsoft\Windows\CurrentVersion\Run

Change the OneDriveSetup entry and point it to the 19.2.107.8 setup version instead. Unload hive. Restart and test.

 

SysWOW64 method: Change the permissions of OneDriveSetup.exe so you can replace it with the 19.2.107.8 version. Restart and test

 

If you find an easier/better way, feel free to comment. Note - this was for an Azure AD joined environment.

 

Cheers

 

Loftey