SOLVED
Home

Start OneDrive when using a RemoteApp in WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-481799%22%20slang%3D%22en-US%22%3EStart%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481799%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20testing%20with%20WVD%20in%20a%20Lab%20environment%2C%20and%20everything%20is%20working%20fine.%20I%20only%20have%20one%20thing%20that%20doesn't%20seem%20to%20work.%20OneDrive%20is%20starting%20when%20i'm%20using%20the%20%22Full%20Desktop%22%20mode%20in%20WVD%2C%20but%20when%20i%20start%20a%20RemoteApp%2C%20the%20OneDrive%20client%20isn't%20starting.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20a%20WVD%20%2F%20FSLogix%20related%20issue%3F%20And%20how%20can%20i%20solve%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELeon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-482865%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-482865%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F299526%22%20target%3D%22_blank%22%3E%40DjTjon01%3C%2FA%3E%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20go%20to%20C%3A%5CUsers%5Cusername%5CAppData%5CRoaming%5CMicrosoft%5CWindows%5CStart%20Menu%5CPrograms%2C%20can%20you%20find%20the%20OneDrive%20icon%20and%20start%20it%20when%20using%20the%20remote%20app%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20our%20troubleshooting%2C%20can%20you%20upload%20some%20screenshots%20about%20%E2%80%9COneDrive%20is%20starting%20when%20i'm%20using%20the%20%E2%80%98Full%20Desktop%E2%80%99%20mode%20in%20WVD%E2%80%9D%20and%20%E2%80%9Cwhen%20i%20start%20a%20RemoteApp%2C%20the%20OneDrive%20client%20isn't%20starting%E2%80%9D%20for%20our%20reference%3F%3C%2FP%3E%0A%3CP%3ENote%3A%20remove%20all%20private%20information%20before%20uploading%20the%20screenshots.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%3C%2FP%3E%0A%3CP%3ECliff%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-482763%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-482763%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F327433%22%20target%3D%22_blank%22%3E%40wprobasco%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWell%20i%20did%20install%20the%20OneDrive%20Machine%20install%2C%20but%20it%20still%20won't%20start%20when%20i%20use%20a%20RemoteApp.%20I%20checked%20the%20location%20and%20it%20is%20installed%20in%20the%20Program%20Files%20directory%2C%20so%20everything%20seems%20to%20be%20in%20order.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20thats%20not%20the%20solutions%20for%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-482753%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-482753%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F299526%22%20target%3D%22_blank%22%3E%40DjTjon01%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20having%20this%20issue%20as%20well.%20I%20found%20out%20that%20OneDrive%20did%20not%20install%20properly%20from%20the%20proplus%20deployment.%20Microsoft%20recently%20release%20the%20OneDrive%20machine%20install.%20This%20worked%20for%20me%20so%20far.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fper-machine-installation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fper-machine-installation%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-711111%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-711111%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F299526%22%20target%3D%22_blank%22%3E%40DjTjon01%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Leon%2C%3C%2FP%3E%0A%3CP%3EMy%20name%20is%20Jeremy%20Esposito%20and%20I%E2%80%99m%20a%20SPO%2FOD%20Senior%20Support%20Escalation%20Engineer.%3CBR%20%2F%3ECan%20you%20confirm%20you%20are%20have%20FSLogix%20version%202.8%20and%20higher%3F%3C%2FP%3E%0A%3CP%3EThis%20is%20mentioned%20as%20a%20requirement%20in%20the%20OneDrive%20sync%20restrictions%20documentation.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Finvalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%23windowsspecific%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Finvalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%23windowsspecific%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHappy%20to%20help%20investigate%2Fresolve%20this%20issue.%3CBR%20%2F%3ELet%20me%20know%20if%20you%20have%20any%20questions.%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%0A%3CP%3EJeremy%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-837496%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837496%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F114941%22%20target%3D%22_blank%22%3E%40Jeremy%20Esposito%3C%2FA%3E%26nbsp%3BI%20have%20the%20same%20scenario%20happening.%20I've%20also%20confirmed%20it%20happens%20on%20an%202019%20RDSH%20server.%20it%20has%20nothing%20to%20do%20w%2F%20FSLogic...%20but%20the%20fact%20that%20remoteapp%20launches%20a%20stripped%20down%20user%20session%20and%20only%20launches%20necessary%20items.%20id'%20love%20a%20work%20around%20too!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-851540%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-851540%22%20slang%3D%22en-US%22%3E%3CP%3EI%20too%20have%20the%20same%20issue%20in%20both%20WVD%20using%20Windows%2010%20multi-user%20and%20on%20Server%202016%2F2019.%20It's%20not%20great%20but%20I%20did%20find%20a%20workaround.%20I%20made%20sure%20that%20OneDrive%20was%20installed%20in%20Machine%20mode%20(instead%20of%20the%20default%20user%20mode)%2C%20then%20I%20created%20a%20RemoteApp%20for%20the%20system%20install%20of%20OneDrive.%20Now%2C%20I%20just%20tell%20people%20using%20the%20system%20to%20make%20sure%20they%20run%20the%20OneDrive%20RemoteApp%20whenever%20they%20start%20a%20new%20session.%20It's%20not%20great%2C%20and%20is%20preventing%20any%20kind%20of%20company%20wide%20roll-out%2C%20but%20it%20works%20for%20advanced%20users.%20I%20too%20would%20like%20a%20better%20solution%20thou...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-853529%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-853529%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F76373%22%20target%3D%22_blank%22%3E%40Brent%20Carlson%3C%2FA%3E%20Thanks%20for%20the%20update!%3C%2FP%3E%0A%3CP%3EPer%20machine%20install%20is%20the%20only%20install%20method%20supported%20for%20WVD.%20This%20why%20you%20were%20able%20to%20get%20OD%20sync%20work%20with%20the%20per%20machine%20install%20method.%20As%20for%20running%20OneDrive%20as%20a%20remote%20app%2C%20it%20isn't%20necessary%20or%20useful%20to%20run%20OD%20sync%20as%20a%20remote%20app%20because%20it's%20not%20an%20app%20that%20users%20will%20interact%20with%20(like%20MS%20word%2C%20excel%2C%20etc)%20and%2For%20access%20their%20files%20from.%3C%2FP%3E%0A%3CP%3EOD%20sync%20is%20essentially%20a%20utility%20to%20keep%20the%20files%20synced%20to%2Ffrom%20the%20cloud%20and%20monitor%20sync%20status.%3C%2FP%3E%0A%3CP%3EMonitoring%20sync%20status%20should%20be%20done%20within%20the%20WVD%20session.%3C%2FP%3E%0A%3CP%3EHope%20this%20helps!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-853637%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-853637%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F114941%22%20target%3D%22_blank%22%3E%40Jeremy%20Esposito%3C%2FA%3E%26nbsp%3Bthe%20reason%20he%20suggest%20that%2C%20and%20I%20agree%2C%20is%20because%20it%20then%20triggers%20the%20sync%20for%20that%20user%20session.%20so%20a%20user%20can%20then%20open%20an%20app%2C%20save%20the%20their%20desktop%2C%20and%20that%20is%20then%20sync'd%20to%20all%20of%20their%20other%20devices...%20making%20it%20much%20easier%20for%20a%20user%20to%20use%20a%20remoteapp.%20saving%20to%20a%20network%20share%20is%20not%20always%20ideal%20or%20wanted.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20goal%20is%20to%20do%20away%20w%2F%20personal%20network%20drives%20and%20move%20to%20onedrive%20for%20all%20private%20info%2C%20but%20this%20not%20working%2C%20makes%20it%20hard%20to%20do%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877068%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877068%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F327705%22%20target%3D%22_blank%22%3E%40mshepherd%3C%2FA%3EDid%20you%20ever%20find%20a%20solution%20to%20this%3F%26nbsp%3B%20We're%20using%20OneDrive%2FSharePoint%20for%20all%20of%20our%20users%20and%20we're%20publishing%20a%20couple%20remote%20apps%20that%20need%20OneDrive%20running%20in%20the%20background%20so%20that%20the%20user%20can%20access%20the%20SharePoint%20libraries%20via%20File%20Explorer%20when%20they're%20in%20a%20RemoteApp.%26nbsp%3B%20I'm%20in%20the%20same%20boat%20-%20works%20fine%20on%20a%20full%20session%2C%20but%20doesn't%20work%20on%20a%20RemoteApp.%26nbsp%3B%20My%20line%20of%20thinking%20is%20to%20run%20some%20sort%20of%20script%20or%20launch%20the%20OnedDrive%20EXE%20when%20the%20user%20launches%20a%20RemoteApp.%26nbsp%3B%20But%20I%20haven't%20quite%20figured%20out%20how%20to%20make%20this%20work%20yet.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877137%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877137%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3EThanks%20for%20the%20updates!%20Please%20bear%20with%20me%20if%20I'm%20missing%20the%20point%20of%20the%20use-case%20you%20are%20referring%20to.%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3EFirst%2C%20in%20order%20to%20have%20the%20documents%2C%20desktop%2C%20pictures%20folders%20synced%20to%20OneDrive%2C%20'OneDrive%20Backup'%20needs%20to%20be%20enabled%20in%20OneDrive%20sync.%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FBack-up-your-Documents-Pictures-and-Desktop-folders-with-OneDrive-d61a7930-a6fb-4b95-b28a-6552e77c3057%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FBack-up-your-Documents-Pictures-and-Desktop-folders-with-OneDrive-d61a7930-a6fb-4b95-b28a-6552e77c3057%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3EWhen%20a%20user%20is%20on%20a%20local%20computer%20and%20launches%20an%20Office%20remote%20app%20(say%20MS-Word)%20then%20goes%20to%20File%26gt%3B%20Open%26gt%3BOneDrive-Tenant%20OR%20Sites-Tenant%26gt%3B(some%20folder)%2C%20MS-Word%20uses%20the%20O365%20connected%20service%20to%20connect%20to%20that%20users%20OneDrive%20or%20SPO%20site%20and%20works%20with%2Fsaves%20that%20file%20in%20the%20cloud.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3EIn%20this%20use-case%2C%20the%20OneDrive%20sync%20client%20remote%20app%20is%20not%20needed.%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877157%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877157%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F114941%22%20target%3D%22_blank%22%3E%40Jeremy%20Esposito%3C%2FA%3EHi%20Jeremey%2C%20thanks%20for%20the%20quick%20reply.%26nbsp%3B%20Unfortunately%2C%20this%20isn't%20for%20an%20Office%20application%2C%20otherwise%2C%20your%20way%20would%20work%20perfectly.%20This%20is%20actually%20for%20a%20Dynamics%20Integration%20Manager%20flat%20file%20upload%2C%20so%20the%20user%20needs%20access%20to%20the%20SharePoint%20library%20via%20File%20Explorer%20from%20within%20Dynamics.%26nbsp%3B%20I'm%20working%20on%20a%20solution%20now%2C%20but%20it%20seems%20the%20trick%20is%20to%20publish%20a%20Batch%20Script%20to%20RemoteApps%20that%20launches%20the%20Dynamics%20application%20and%20OneDrive.%26nbsp%3B%20Also%20the%20RD%20Server%20needs%20to%20be%20set%20for%20a%20Single%20Session%20per%20user%20via%20a%20GPO%20so%20that%20they%20open%20within%20the%20same%20session.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877241%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877241%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F301003%22%20target%3D%22_blank%22%3E%40mirthrock%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMy%20pleasure!%20Thanks%20for%20sharing%20your%20use-case%20scenario.%3C%2FP%3E%0A%3CP%3EIt%20sounds%20like%20you%20would%20need%20to%20run%20OneDrive%20sync%20locally%2Fsame%20computer%20that%20is%20running%20DIM%20or%20implement%20the%20workaround%20you%20detailed.%20Hope%20it%20works%20out!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877349%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877349%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F301003%22%20target%3D%22_blank%22%3E%40mirthrock%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F327705%22%20target%3D%22_blank%22%3E%40mshepherd%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20in%20the%20process%20of%20documenting%20how%20to%20auto-start%20OneDrive%20in%20a%20Remote%20App%20scenario.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20will%20be%20documenting%20the%20following%20registry%20entry%3A%3C%2FP%3E%0A%3CP%3EHKLM%5CSYSTEM%5CCurrentControlSet%5CControl%5CTerminal%20Server%5CRailRunonce%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20believe%20this%20works%20the%20same%20as%20the%20regular%20run%20keys%2C%20except%20that%20anything%20listed%20under%20this%20key%20will%20be%20launched%20when%20the%20remote%20session%20starts.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20happens%20is%20that%20in%20a%20remote%20session%2C%20Explorer.exe%20is%20not%20used%20as%20the%20Windows%20shell.%20rdpshell.exe%20is%20run%20instead.%20rdpshell.exe%20does%20not%20process%20Run%20entries.%20It%20does%20do%20the%20RailRunonce%20key%20though.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877352%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877352%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20response!%20Can%20I%20attempt%20this%20solution%20now%3F%20I'm%20happy%20to%20run%20through%20our%20pre-release%20of%20the%20documentation%20to%20see%20how%20it%20works%20before%20you%20publish%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877358%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877358%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F327705%22%20target%3D%22_blank%22%3E%40mshepherd%3C%2FA%3E%26nbsp%3BAbsolutely.%20That's%20been%20in%20the%20code%20for%20a%20while%2C%20so%20should%20%22just%20work%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877398%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877398%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F301003%22%20target%3D%22_blank%22%3E%40mirthrock%3C%2FA%3E%26nbsp%3Bcheck%20out%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bresponse.%20I%20have%20not%20tried%20this%20yet%20but%20will%20in%20the%20next%20day%20or%20two.%20He%20described%20the%20problem%20100%25%20correctly%20so%20i'm%20pretty%20confident%20it%20will%20work.%20Fingers%20crossed.%20I'll%20reply%20back%20once%20we%20implement%20it.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877399%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877399%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3B-%20prefect.%20I'll%20let%20you%20know%20how%20it%20goes.%20thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-877561%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877561%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3BNice%2C%20will%20test%20it%20out!%20Thanks%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-879377%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-879377%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F327705%22%20target%3D%22_blank%22%3E%40mshepherd%3C%2FA%3E%20-%20Right%20before%20I%20saw%20this%20post%20yesterday%2C%20I%20implemented%20a%20workaround.%20I%20wrote%20a%20batch%20script%20that%20launches%20the%20application%20I%20need%20(in%20this%20case%20Dynamics%20GP)%20and%20OneDrive%20with%20the%20%2Fbackground%20switch%20so%20that%20it%20doesn't%20open%20File%20Explorer%20when%20it%20launches.%20Then%20I%20published%20that%20batch%20file%20as%20a%20RemoteApp%20(and%20changed%20the%20name%20and%20icon%20to%20Dynamics%20GP%20so%20the%20users%20don't%20know%20the%20difference).%20This%20combined%20with%20the%20group%20policies%20that%20autoconfigure%20OneDrive%20seemed%20to%20do%20the%20trick.%20However%2C%20I'd%20much%20rather%20go%20the%20cleaner%20route%20of%20using%20the%20RailRunOnce%20reg%20key%20instead.%20Did%20that%20registry%20key%20work%20for%20you%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887351%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887351%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3B.%20Thanks%20Again%20for%20this.%20it's%20working%20like%20a%20champ%20-%20the%20only%20change%20i'd%20like%20to%20see%20is%20that%20now%20it%20does%20pop%20File%20Explorer%20when%20you%20open%20an%20app.%20Is%20there%20any%20way%20around%20that%3F%20Will%20it%20honor%20the%20%2Fbackground%20parameter%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887352%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887352%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F301003%22%20target%3D%22_blank%22%3E%40mirthrock%3C%2FA%3E%26nbsp%3BHappy%20to%20say%20that%20RailRunOnce%20does%20work.%20However%2C%20It%20pop%20open%20File%20Explorer%20when%20you%20open%20an%20app.%20It's%20not%20the%20end%20of%20the%20world%2C%20but%20would%20be%20nice%20to%20find%20a%20way%20around%20that.%20I%20was%20going%20to%20play%20w%2F%20the%20background%20parameter%20to%20see%20if%20it%20will%20work%20if%20i%20reference%20it%20in%20the%20reg%20key.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887622%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887622%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F327705%22%20target%3D%22_blank%22%3E%40mshepherd%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes.%20You'll%20want%20to%20duplicate%20the%20entry%20that%20is%20in%20the%20normal%20HKCU%5CSoftware%5CMicrosoft%5CWindows%5CCurrentVersion%5CRun%20key.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EREG_SZ%3A%20%22OneDrive%22%20%3CPATH%20to%3D%22%22%20onedrive.exe%3D%22%22%3E%20%2Fbackground%3C%2FPATH%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-889012%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-889012%22%20slang%3D%22en-US%22%3E%3CP%3EAdding%20the%20registry%20key%20worked%20great%20for%20me%20as%20well%2C%20thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-889201%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-889201%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3B%2Fbackground%20worked%20like%20a%20champ.%20thanks%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-889671%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-889671%22%20slang%3D%22en-US%22%3EThanks%20for%20all%20the%20help%20and%20input%20everyone.%20Just%20to%20be%20clear%2C%20Do%20I%20have%20to%20create%20the%20RailRunOnce%20key%20under%20HKLM%5CSYSTEM%5CCurrentControlSet%5CControl%5CTerminal%20Servert%3F%20It%20doesn't%20seem%20to%20be%20an%20existing%20key%20on%20my%20Remote%20Desktop%20server.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-889958%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-889958%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F301003%22%20target%3D%22_blank%22%3E%40mirthrock%3C%2FA%3E%26nbsp%3Byes%2C%26nbsp%3B%20you%20have%20to%20create%20both%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F135203i0E64EF247A63DA77%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Annotation%202019-10-02%20170610.png%22%20title%3D%22Annotation%202019-10-02%20170610.png%22%20%2F%3E%3C%2FSPAN%3Ethe%20key%20and%20the%20expandable%20reg%20value.%20see%20pic.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-899331%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-899331%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3BWould%20this%20also%20work%20in%20a%20Citrix%20Published%20Application%20environment%3F%20We're%20having%20the%20exact%20issue%20described%2C%20but%20for%20HDX%20sessions%2C%20we%20don't%20use%20RemoteApp.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOneDrive%20works%20fine%20in%20a%20full%20Published%20Desktop%2C%20but%20not%20in%20Published%20Applications.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEDIT%3A%20It%20doesn't%20appear%20to%20work.%20Seems%20this%20is%20a%20RemoteApp%20specific%20key.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-900006%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-900006%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F422022%22%20target%3D%22_blank%22%3E%40Cambo380%3C%2FA%3E%26nbsp%3BThis%20only%20works%20(as%20far%20as%20I%20know)%20with%20rdpshell.exe%20which%20is%20used%20for%20RemoteApps.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-916068%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-916068%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EFYI%20about%20this%20thread%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F36027%22%20target%3D%22_blank%22%3E%40Randy%20Wong%3C%2FA%3E.%20And%20kudos%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3Bfor%20problem%20solving%20and%20providing%20insight.%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-942996%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-942996%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20new%20here%2C%20but%20also%20experiencing%20similar%20issues%20with%20the%20OneDrive%20client%20in%20our%20RDS%202019%20environment.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsers%20in%20our%20company%20login%20to%20a%20RDS%20session%20which%20seems%20to%20work%20fine%2C%20next%20they%20will%20start%20a%20RemoteApp%20(OneDrive%20will%20also%20start%20in%20the%20background%20of%20this%20RAS%20session).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20they%20modify%20and%20save%20files%20through%20the%20RAS%20session%20(Excel%20files%2C%20saved%20on%20there%20RAS%20desktop%20-%26gt%3B%20which%20is%20the%20Desktop%20in%20OneDrive)%2C%20these%20files%20aren't%20visible%20in%20there%20RDS%20session%20%3CSPAN%3Eafter%20closing%20the%20RemoteApp%3C%2FSPAN%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EChecking%20the%20OneDrive%20content%20on%20a%20laptop%20or%20online%20(%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fxxx-my.sharepoint.com%2Fpersonal%2Fxxx%2F_layouts%2F15%2Fonedrive.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fxxx-my.sharepoint.com%2Fpersonal%2Fxxx%2F_layouts%2F15%2Fonedrive.aspx%3C%2FA%3E%3C%2FFONT%3E)%20does%20show%20the%20saved%20file%20from%20the%20RAS%20session.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20it%20seems%20that%20the%20OneDrive%20client%20in%20the%20RAS%20environment%20is%20synced%2C%20but%20the%20OneDrive%20client%20in%20the%20RDS%20environment%20isn't.%20Opening%20the%20OneDrive%20application%20in%20the%20RDS%20session%20does%20%3CSPAN%3Etrigger%20a%20sync%20and%20will%20make%20the%20saved%20files%20from%20the%20RAS%20session%20visible%20in%20their%20RDS%20session.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ENote%3A%20We%20are%20using%20FSLogix%20technology%20with%20concurrent%20Profile%20%26amp%3B%20O365%20containers%2C%20also%20I%20implemented%20the%20reg%20key%20as%20mentioned%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EWho%20can%20help%20me%20solving%20this%20sync%20issue%20between%20our%20RAS%20and%20RDS%20environment%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-943775%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-943775%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F432550%22%20target%3D%22_blank%22%3E%40RubenGr%3C%2FA%3E%20Thanks%20for%20the%20post!%3C%2FP%3E%0A%3CP%3EIt%20sounds%20like%20the%20OneDrive%20sync%20backup%20feature%20is%20not%20configured%20on%20the%20users%20RDS%2C%20and%20is%20configured%20on%20the%20local%20computer.%20(or%20vise-versa)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%20color%3D%22%23000121%22%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FBack-up-your-Documents-Pictures-and-Desktop-folders-with-OneDrive-d61a7930-a6fb-4b95-b28a-6552e77c3057%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FBack-up-your-Documents-Pictures-and-Desktop-folders-with-OneDrive-d61a7930-a6fb-4b95-b28a-6552e77c3057%3C%2FA%3E%3C%2FFONT%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReview%20this%20document%20and%20confirm%20if%20the%20OneDrive%20sync%20backup%20feature%20is%20configured%20in%20both%20environments.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20helps!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-951879%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-951879%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F114941%22%20target%3D%22_blank%22%3E%40Jeremy%20Esposito%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20checked%20the%20settings%20of%20both%20OneDrive%20clients%20%3CSPAN%3E(in%20RDS%20%26amp%3B%20RAS)%20and%20they%20both%20have%20the%20backup%20feature%20enabled.%3CBR%20%2F%3E%3CBR%20%2F%3ESaving%20a%20file%20on%20the%20RAS%20Desktop%20works%20fine%2C%20checking%20the%20content%20of%20my%20desktop%20online%20shows%20the%20newly%20saved%20file.%20But%20after%20closing%20the%20RemoteApp%20the%20desktop%20on%20the%20RDS%20isn't%20updated%2C%20this%20only%20happens%20after%20logging%20off%20the%20RDS%20session.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ELogging%20back%20on%20the%20RDS%20session%20the%20desktop%20is%20synced%20and%20the%20saved%20file%20is%20availible.%20I%20looks%20like%20the%20OneDrive%20client%20on%20RDS%20won't%20sync%20since%20the%20client%20on%20the%20RAS%20did%20sync%20earlier.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ETo%20test%20this%20senario%20I%20changed%20the%20internet%20connection%20on%20our%20RAS%20Server%20so%20that%20it%20communicates%20over%20another%20ipaddress.%20And%20what%20do%20you%20think....%20the%20files%20are%20synced%20directly%20to%20the%20RDS%20desktop.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-952038%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-952038%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F432550%22%20target%3D%22_blank%22%3E%40RubenGr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EUsing%20OneDrive%20as%20a%20remote%20app%20isn't%20necessary%20or%20useful%20because%20it's%20not%20an%20app%20that%20users%20will%20interact%20with%20(like%20MS%20word%2C%20excel%2C%20etc)%20and%2For%20access%20their%20files%20from.%3CBR%20%2F%3ENor%20does%20the%20OneDrive%20remote%20app%20sync%20to%20the%20desktop%20or%20remote%20session.%3CBR%20%2F%3EThis%20is%20why%20we%20have%20removed%20OneDrive%20remote%20app%20from%20the%20remote%20desktop%20list%20in%20the%20latest%20version.%3C%2FFONT%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EOD%20sync%20is%20essentially%20just%20a%20utility%20to%20keep%20the%20files%20synced%20to%2Ffrom%20the%20cloud%20and%20monitor%20sync%20status.%3CBR%20%2F%3EThe%20OneDrive%20sync%20client%20should%20be%20running%20within%20the%20WVD%20session%20so%20it%20will%20sync%20files%20within%20the%20session.%3CBR%20%2F%3EMonitoring%20sync%20status%20should%20also%20be%20done%20within%20the%20WVD%20session%20or%20local%20computer.%3C%2FFONT%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EWhen%20a%20user%20is%20on%20a%20local%20computer%20and%20launches%20an%20Office%20remote%20app%20(say%20MS-Word)%20then%20goes%20to%20File%26gt%3B%20Open%26gt%3BOneDrive-Tenant%20OR%20Sites-Tenant%26gt%3B(some%20folder)%2C%20MS-Word%20uses%20the%20O365%20connected%20service%20to%20connect%20to%20that%20users%20OneDrive%20or%20SPO%20site%20and%20works%20with%2Fsaves%20that%20file%20in%20the%20cloud%20directly.%20OneDrive%20sync%20client%20running%20on%20the%20local%20computer%20and%20remote%20session%20will%20then%20sync%20the%20file%20from%20the%20cloud.%3C%2FFONT%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EIn%20these%20use-cases%2C%20the%20OneDrive%20sync%20client%20remote%20app%20is%20really%20not%20needed.%3C%2FFONT%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-966268%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-966268%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F114941%22%20target%3D%22_blank%22%3E%40Jeremy%20Esposito%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20for%20the%20misunderstanding.%2C%2C%3C%2FP%3E%3CP%3EI%20try%20to%20explain%20our%20scenario%20again%2C%20since%20WVD%20isn't%20available%20in%20Europe%20yet%20we%20use%20the%202019%20Remote%20Desktop%20Services%20to%20let%20users%20connect%20to%20a%20Windows%202019%20Remote%20Desktop%20%3CSPAN%3EServer%3C%2FSPAN%3E%20(RDS).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20at%20the%20beginning%20our%20their%20workday%20our%20users%20startup%20their%20ThinClient%20and%20connect%20to%20a%20RDS...%20on%20that%20server%20I%20deployed%20Office%20365%20ProPlus%2C%20Teams%20machine-wide%20Installer%20and%20the%20OneDrive%20client%20(using%20the%20%2FALLUSER%20parameter).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20this%20system%20to%20be%20as%20uniform%20as%20it%20can%20be%2C%20because%20users%20from%20multiple%20(federated)%20companies%20log%20in%20to%20this%20server.%3C%2FP%3E%3CP%3EAll%20other%20applications%20(specifically%20for%20the%20different%20companies)%20will%20be%20published%20trough%20multiple%20Remote%20App%20Servers%20(RAS)%3C%2FP%3E%3CP%3E-%20Company%20A%20uses%20custom%20application%20A%3C%2FP%3E%3CP%3E-%20Company%20B%20uses%20custom%20application%20B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20these%20RAS%20users%20need%20to%20import%20for%20example%20some%20Excel%20files%20which%20they%20saved%20in%20there%20Documents%20of%20Desktop%20folders%20(on%20the%20RDS).%20So%20therefor%20I've%20also%20deployed%20OneDrive%20on%20the%20RAS%20environment.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20for%20example%3A%3C%2FP%3E%3CP%3EA%20user%20is%20logged%20in%20to%20the%20RDS%20and%20starts%20RemoteApp%20A%2C%20after%20it%20is%20started%20this%20user%20needs%20to%20import%20a%20Excel%20file%20which%20he%20saved%20on%20the%20RDS%20Desktop%20(in%20my%20opinion%20only%20accessible%20through%20the%20OneDrive%20client%2C%20which%20works%20fine0).%20So%20importing%20the%20Excel%20file%20from%20the%20RDS%20Desktop%2C%20it%20generates%20some%20output%20(for%20example%20a%20.txt%20file).%20The%20users%20needs%20to%20save%20this%20file%20and%20wants%20to%20use%20this%20after%20closing%20the%20RemoteApp.%20If%20it%20is%20saved%20on%20the%20RAS%20Desktop%20without%20the%20OneDrive%20client%20available%20it%20will%20be%20saved%20on%20the%20RAS%20servers%20desktop%20where%20the%20users%20can't%20get%20to.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20thing%20is%2C%20as%20the%20file%20is%20saved%20on%20the%20RAS%20(OneDrive)%20Desktop%2C%20the%20RemoteApp%20is%20closed.%20Coming%20back%26nbsp%3B%20on%20the%20RDS%20Desktop%20the%20.txt%20file%20isn't%20visible.%20I%20can%20trigger%20a%20sync%20by%20for%20example%20create%20a%20new%20folder%20on%20the%20RDS%20Desktop.%20Seconds%20after%20that%20the%20.txt%20file%20will%20become%20visible.%20But%20this%20isn't%20a%20workable%20way%20for%20these%20normal%20users.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-966908%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-966908%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F432550%22%20target%3D%22_blank%22%3E%40RubenGr%3C%2FA%3E%20Thanks%20for%20the%20update%20and%20clarification.%20The%20scenario%20you%20described%20would%20need%20to%20be%20further%20investigated%20by%20O365%20support.%20Please%20file%20a%20support%20case%20for%20this%20issue.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-988524%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20OneDrive%20when%20using%20a%20RemoteApp%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-988524%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F283720%22%20target%3D%22_blank%22%3E%40racook%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Randy%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20adding%20the%20key%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EComputer%5CHKEY_LOCAL_MACHINE%5CSYSTEM%5CCurrentControlSet%5CControl%5CTerminal%20Server%5CRailRunonce%5C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOneDrive%20%5C%20REG_SZ%20%5C%26nbsp%3B%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%20OneDrive%5COneDrive.exe%22%20%2Fbackground%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20works%20for%20all%20existing%20issues%20-%20where%20a%20profile%20has%20been%20created%20previously.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20for%20any%20new%20user%20during%20logon%20the%20user%20session%20will%20'hang'%20on%20the%20process%20%22Run%20Once%20Wrapper%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20remote%20desktop%20client%20will%20continue%20with%20the%20message%3A%20%22Configuring%20remote%20session...%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20kill%20the%20Run%20Once%20Wrapper%20the%20user%20will%20login%20and%20there%20doesn't%20seem%20to%20be%20an%20issue%20after%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20you%20or%20anyone%20else%20seen%20this%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
DjTjon01
New Contributor

Hi Guys,

 

I am testing with WVD in a Lab environment, and everything is working fine. I only have one thing that doesn't seem to work. OneDrive is starting when i'm using the "Full Desktop" mode in WVD, but when i start a RemoteApp, the OneDrive client isn't starting. 

 

Is this a WVD / FSLogix related issue? And how can i solve this?

 

Thanks,

 

Leon

36 Replies

@DjTjon01 

I was having this issue as well. I found out that OneDrive did not install properly from the proplus deployment. Microsoft recently release the OneDrive machine install. This worked for me so far.

https://docs.microsoft.com/en-us/onedrive/per-machine-installation

 

@wprobasco 

Well i did install the OneDrive Machine install, but it still won't start when i use a RemoteApp. I checked the location and it is installed in the Program Files directory, so everything seems to be in order.

 

So thats not the solutions for me.

@DjTjon01

 

If you go to C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs, can you find the OneDrive icon and start it when using the remote app?

 

For our troubleshooting, can you upload some screenshots about “OneDrive is starting when i'm using the ‘Full Desktop’ mode in WVD” and “when i start a RemoteApp, the OneDrive client isn't starting” for our reference?

Note: remove all private information before uploading the screenshots.

 

Best Regards,

Cliff

 

@DjTjon01 

Hi Leon,

My name is Jeremy Esposito and I’m a SPO/OD Senior Support Escalation Engineer.
Can you confirm you are have FSLogix version 2.8 and higher?

This is mentioned as a requirement in the OneDrive sync restrictions documentation.

https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-...

Happy to help investigate/resolve this issue.
Let me know if you have any questions.

Thanks!

Jeremy

 @Jeremy Esposito I have the same scenario happening. I've also confirmed it happens on an 2019 RDSH server. it has nothing to do w/ FSLogic... but the fact that remoteapp launches a stripped down user session and only launches necessary items. id' love a work around too!

I too have the same issue in both WVD using Windows 10 multi-user and on Server 2016/2019. It's not great but I did find a workaround. I made sure that OneDrive was installed in Machine mode (instead of the default user mode), then I created a RemoteApp for the system install of OneDrive. Now, I just tell people using the system to make sure they run the OneDrive RemoteApp whenever they start a new session. It's not great, and is preventing any kind of company wide roll-out, but it works for advanced users. I too would like a better solution thou...

@Brent Carlson Thanks for the update!

Per machine install is the only install method supported for WVD. This why you were able to get OD sync work with the per machine install method. As for running OneDrive as a remote app, it isn't necessary or useful to run OD sync as a remote app because it's not an app that users will interact with (like MS word, excel, etc) and/or access their files from.

OD sync is essentially a utility to keep the files synced to/from the cloud and monitor sync status.

Monitoring sync status should be done within the WVD session.

Hope this helps!

 

 

@Jeremy Esposito the reason he suggest that, and I agree, is because it then triggers the sync for that user session. so a user can then open an app, save the their desktop, and that is then sync'd to all of their other devices... making it much easier for a user to use a remoteapp. saving to a network share is not always ideal or wanted. 

My goal is to do away w/ personal network drives and move to onedrive for all private info, but this not working, makes it hard to do that.

@mshepherdDid you ever find a solution to this?  We're using OneDrive/SharePoint for all of our users and we're publishing a couple remote apps that need OneDrive running in the background so that the user can access the SharePoint libraries via File Explorer when they're in a RemoteApp.  I'm in the same boat - works fine on a full session, but doesn't work on a RemoteApp.  My line of thinking is to run some sort of script or launch the OnedDrive EXE when the user launches a RemoteApp.  But I haven't quite figured out how to make this work yet. 

Thanks for the updates! Please bear with me if I'm missing the point of the use-case you are referring to.

First, in order to have the documents, desktop, pictures folders synced to OneDrive, 'OneDrive Backup' needs to be enabled in OneDrive sync.

https://support.office.com/en-us/article/Back-up-your-Documents-Pictures-and-Desktop-folders-with-On...

 

When a user is on a local computer and launches an Office remote app (say MS-Word) then goes to File> Open>OneDrive-Tenant OR Sites-Tenant>(some folder), MS-Word uses the O365 connected service to connect to that users OneDrive or SPO site and works with/saves that file in the cloud.

In this use-case, the OneDrive sync client remote app is not needed.

 

@Jeremy EspositoHi Jeremey, thanks for the quick reply.  Unfortunately, this isn't for an Office application, otherwise, your way would work perfectly. This is actually for a Dynamics Integration Manager flat file upload, so the user needs access to the SharePoint library via File Explorer from within Dynamics.  I'm working on a solution now, but it seems the trick is to publish a Batch Script to RemoteApps that launches the Dynamics application and OneDrive.  Also the RD Server needs to be set for a Single Session per user via a GPO so that they open within the same session.

@mirthrock 

My pleasure! Thanks for sharing your use-case scenario.

It sounds like you would need to run OneDrive sync locally/same computer that is running DIM or implement the workaround you detailed. Hope it works out!

 

Highlighted
Solution

@mirthrock @mshepherd 

 

We are in the process of documenting how to auto-start OneDrive in a Remote App scenario.

 

We will be documenting the following registry entry:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RailRunonce

 

I believe this works the same as the regular run keys, except that anything listed under this key will be launched when the remote session starts.

 

What happens is that in a remote session, Explorer.exe is not used as the Windows shell. rdpshell.exe is run instead. rdpshell.exe does not process Run entries. It does do the RailRunonce key though.

@racook Thanks for the response! Can I attempt this solution now? I'm happy to run through our pre-release of the documentation to see how it works before you publish it.

 

thanks

@mshepherd Absolutely. That's been in the code for a while, so should "just work".

@mirthrock check out @racook response. I have not tried this yet but will in the next day or two. He described the problem 100% correctly so i'm pretty confident it will work. Fingers crossed. I'll reply back once we implement it.

@racook - prefect. I'll let you know how it goes. thanks

@racook Nice, will test it out! Thanks for your help!

@racook and @mshepherd - Right before I saw this post yesterday, I implemented a workaround. I wrote a batch script that launches the application I need (in this case Dynamics GP) and OneDrive with the /background switch so that it doesn't open File Explorer when it launches. Then I published that batch file as a RemoteApp (and changed the name and icon to Dynamics GP so the users don't know the difference). This combined with the group policies that autoconfigure OneDrive seemed to do the trick. However, I'd much rather go the cleaner route of using the RailRunOnce reg key instead. Did that registry key work for you?

@racook . Thanks Again for this. it's working like a champ - the only change i'd like to see is that now it does pop File Explorer when you open an app. Is there any way around that? Will it honor the /background parameter?

@mirthrock Happy to say that RailRunOnce does work. However, It pop open File Explorer when you open an app. It's not the end of the world, but would be nice to find a way around that. I was going to play w/ the background parameter to see if it will work if i reference it in the reg key.

@mshepherd 

 

Yes. You'll want to duplicate the entry that is in the normal HKCU\Software\Microsoft\Windows\CurrentVersion\Run key.

 

REG_SZ: "OneDrive" <path to onedrive.exe> /background

Adding the registry key worked great for me as well, thanks!

@racook /background worked like a champ. thanks again.

Thanks for all the help and input everyone. Just to be clear, Do I have to create the RailRunOnce key under HKLM\SYSTEM\CurrentControlSet\Control\Terminal Servert? It doesn't seem to be an existing key on my Remote Desktop server.

@mirthrock yes,  you have to create both Annotation 2019-10-02 170610.pngthe key and the expandable reg value. see pic. 

@racook Would this also work in a Citrix Published Application environment? We're having the exact issue described, but for HDX sessions, we don't use RemoteApp.

 

OneDrive works fine in a full Published Desktop, but not in Published Applications.

 

EDIT: It doesn't appear to work. Seems this is a RemoteApp specific key.

@Cambo380 This only works (as far as I know) with rdpshell.exe which is used for RemoteApps.

FYI about this thread, @Randy Wong. And kudos to @racook for problem solving and providing insight.

Hi Guys,

 

I'm new here, but also experiencing similar issues with the OneDrive client in our RDS 2019 environment.

 

Users in our company login to a RDS session which seems to work fine, next they will start a RemoteApp (OneDrive will also start in the background of this RAS session).

 

As they modify and save files through the RAS session (Excel files, saved on there RAS desktop -> which is the Desktop in OneDrive), these files aren't visible in there RDS session after closing the RemoteApp.

 

Checking the OneDrive content on a laptop or online (https://xxx-my.sharepoint.com/personal/xxx/_layouts/15/onedrive.aspx) does show the saved file from the RAS session.

 

So it seems that the OneDrive client in the RAS environment is synced, but the OneDrive client in the RDS environment isn't. Opening the OneDrive application in the RDS session does trigger a sync and will make the saved files from the RAS session visible in their RDS session.

 

Note: We are using FSLogix technology with concurrent Profile & O365 containers, also I implemented the reg key as mentioned by @racook 

Who can help me solving this sync issue between our RAS and RDS environment?

 

@RubenGr Thanks for the post!

It sounds like the OneDrive sync backup feature is not configured on the users RDS, and is configured on the local computer. (or vise-versa)

 

https://support.office.com/en-us/article/Back-up-your-Documents-Pictures-and-Desktop-folders-with-On...

 

Review this document and confirm if the OneDrive sync backup feature is configured in both environments.

 

Hope this helps!

Hi @Jeremy Esposito,

 

I checked the settings of both OneDrive clients (in RDS & RAS) and they both have the backup feature enabled.

Saving a file on the RAS Desktop works fine, checking the content of my desktop online shows the newly saved file. But after closing the RemoteApp the desktop on the RDS isn't updated, this only happens after logging off the RDS session.

 

Logging back on the RDS session the desktop is synced and the saved file is availible. I looks like the OneDrive client on RDS won't sync since the client on the RAS did sync earlier.

 

To test this senario I changed the internet connection on our RAS Server so that it communicates over another ipaddress. And what do you think.... the files are synced directly to the RDS desktop.

@RubenGr 

Using OneDrive as a remote app isn't necessary or useful because it's not an app that users will interact with (like MS word, excel, etc) and/or access their files from.
Nor does the OneDrive remote app sync to the desktop or remote session.
This is why we have removed OneDrive remote app from the remote desktop list in the latest version.
OD sync is essentially just a utility to keep the files synced to/from the cloud and monitor sync status.
The OneDrive sync client should be running within the WVD session so it will sync files within the session.
Monitoring sync status should also be done within the WVD session or local computer.
When a user is on a local computer and launches an Office remote app (say MS-Word) then goes to File> Open>OneDrive-Tenant OR Sites-Tenant>(some folder), MS-Word uses the O365 connected service to connect to that users OneDrive or SPO site and works with/saves that file in the cloud directly. OneDrive sync client running on the local computer and remote session will then sync the file from the cloud.
In these use-cases, the OneDrive sync client remote app is really not needed.

Hi @Jeremy Esposito,

 

Sorry for the misunderstanding.,,

I try to explain our scenario again, since WVD isn't available in Europe yet we use the 2019 Remote Desktop Services to let users connect to a Windows 2019 Remote Desktop Server (RDS).

 

So at the beginning our their workday our users startup their ThinClient and connect to a RDS... on that server I deployed Office 365 ProPlus, Teams machine-wide Installer and the OneDrive client (using the /ALLUSER parameter).

 

I need this system to be as uniform as it can be, because users from multiple (federated) companies log in to this server.

All other applications (specifically for the different companies) will be published trough multiple Remote App Servers (RAS)

- Company A uses custom application A

- Company B uses custom application B

 

On these RAS users need to import for example some Excel files which they saved in there Documents of Desktop folders (on the RDS). So therefor I've also deployed OneDrive on the RAS environment.

So for example:

A user is logged in to the RDS and starts RemoteApp A, after it is started this user needs to import a Excel file which he saved on the RDS Desktop (in my opinion only accessible through the OneDrive client, which works fine0). So importing the Excel file from the RDS Desktop, it generates some output (for example a .txt file). The users needs to save this file and wants to use this after closing the RemoteApp. If it is saved on the RAS Desktop without the OneDrive client available it will be saved on the RAS servers desktop where the users can't get to.

The thing is, as the file is saved on the RAS (OneDrive) Desktop, the RemoteApp is closed. Coming back  on the RDS Desktop the .txt file isn't visible. I can trigger a sync by for example create a new folder on the RDS Desktop. Seconds after that the .txt file will become visible. But this isn't a workable way for these normal users.

@RubenGr Thanks for the update and clarification. The scenario you described would need to be further investigated by O365 support. Please file a support case for this issue.

@racook 

 

Hi Randy,

 

Have adding the key: 

 

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RailRunonce\

 

OneDrive \ REG_SZ \ "C:\Program Files (x86)\Microsoft OneDrive\OneDrive.exe" /background

 

This works for all existing issues - where a profile has been created previously.

 

However, for any new user during logon the user session will 'hang' on the process "Run Once Wrapper"

 

The remote desktop client will continue with the message: "Configuring remote session..."

 

If you kill the Run Once Wrapper the user will login and there doesn't seem to be an issue after that.

 

Have you or anyone else seen this issue?

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies