OneDrive Sync (Known Folder Move) preventing shutdown

%3CLINGO-SUB%20id%3D%22lingo-sub-1310399%22%20slang%3D%22en-US%22%3EOneDrive%20Sync%20(Known%20Folder%20Move)%20preventing%20shutdown%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1310399%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%3C%2FP%3E%3CP%3ESo%20I%20have%20a%20strange%20issue%2C%20and%20am%20wondering%20if%20anyone%20here%20within%20the%20community%20has%20experienced%20it%2C%20and%20what%20you've%20done%20to%20minimize%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20a%20test%20rollout%20I%20have%20applied%20group%20policies%20to%20backup%20known%20folders%20in%20OneDrive.%20We%20have%20one%20from%20upper%20management%20with%20possibly%20over%2040%2C000%20files%20in%20between%20his%20Desktop%2C%20Documents%2C%20and%20Pictures.%20Whenever%20he%20tries%20to%20shut%20his%20computer%20off%2C%20OneDrive%20is%20actually%20preventing%20windows%20from%20shutting%20down.%20I%20believe%20it's%20due%20to%20syncing%2C%20and%20to%20shut%20off%20his%20computer%20every%20day%2C%20he%20has%20to%20close%20OneDrive%20first.%26nbsp%3B%3CBR%20%2F%3EOf%20course%20this%20doesn't%20happen%20on%20my%20machine%2C%20and%20I%20don't%20have%2040%2C000%2B%20files%20at%20all.%20From%20a%20management%20perspective%2C%20I%20know%20they%20just%20%22want%20it%20to%20work%22.%20Have%20any%20of%20you%20experienced%20this%2C%20or%20have%20ideas%20on%20what%20I%20can%20do%20to%20make%20it%20so%20OneDrive%20doesn't%20prevent%20Windows%20from%20shutting%20down%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1310399%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1389755%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Sync%20(Known%20Folder%20Move)%20preventing%20shutdown%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1389755%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377768%22%20target%3D%22_blank%22%3E%40rmoat%3C%2FA%3E%26nbsp%3BDid%20you%20ever%20solve%20this%3F%26nbsp%3B%20I%20have%20a%20similar%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1456979%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Sync%20(Known%20Folder%20Move)%20preventing%20shutdown%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1456979%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377768%22%20target%3D%22_blank%22%3E%40rmoat%3C%2FA%3E%26nbsp%3Bthank%20you%20for%20the%20response%2C%20not%20a%20problem.%26nbsp%3B%20I%20am%20in%20a%20VDI%20environment.%26nbsp%3B%20Ultimately%20what%20I%20did%20is%20us%20the%20group%20policy%20to%20direct%20OneDrive%20to%20a%20specific%20folder%20and%20then%20use%20the%20standard%20folder%20redirection%20to%20put%20known%20folders%20in%20the%20same%20folder%20I%20pointed%20to%20in%20the%20OneDrive%20policy.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1456931%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Sync%20(Known%20Folder%20Move)%20preventing%20shutdown%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1456931%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F245994%22%20target%3D%22_blank%22%3E%40Shawnwat%3C%2FA%3E%26nbsp%3BSorry%20for%20the%20delay.%20So%20far%2C%20no.%20It's%20really%20only%20affecting%20this%20one%20user%2C%20but%20he%20has%20so%20many%20files%2C%20I'm%20just%20curious%20if%20it's%20getting%20stuck%20on%20some.%20He's%20happy%20with%20it%2C%20other%20than%20OneDrive%20preventing%20the%20shutdown%2C%20and%20now%20it's%20hard%20now%20that%20we're%20all%20working%20remotely%20until%20we%20have%20the%20okay%20to%20go%20back%20into%20the%20office.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello!

So I have a strange issue, and am wondering if anyone here within the community has experienced it, and what you've done to minimize this.

 

As a test rollout I have applied group policies to backup known folders in OneDrive. We have one from upper management with possibly over 40,000 files in between his Desktop, Documents, and Pictures. Whenever he tries to shut his computer off, OneDrive is actually preventing windows from shutting down. I believe it's due to syncing, and to shut off his computer every day, he has to close OneDrive first. 
Of course this doesn't happen on my machine, and I don't have 40,000+ files at all. From a management perspective, I know they just "want it to work". Have any of you experienced this, or have ideas on what I can do to make it so OneDrive doesn't prevent Windows from shutting down?

7 Replies

@rmoat Did you ever solve this?  I have a similar issue.

 

Thank you

@Shawnwat Sorry for the delay. So far, no. It's really only affecting this one user, but he has so many files, I'm just curious if it's getting stuck on some. He's happy with it, other than OneDrive preventing the shutdown, and now it's hard now that we're all working remotely until we have the okay to go back into the office.

@rmoat thank you for the response, not a problem.  I am in a VDI environment.  Ultimately what I did is us the group policy to direct OneDrive to a specific folder and then use the standard folder redirection to put known folders in the same folder I pointed to in the OneDrive policy.  

Hi @Shawnwat I hope everything is going well. We also have a VDI environment and are using OneDrive and we started encountering a similar issue could you let me know what group policies you set up that helped you with this issue. Thank you!

@busybee2021 

 

I advise using fslogix when using VDI. You really don't want to use any other solution, when working with onedrive KFM

@busybee2021 I agree with @Rudy_Ooms fslogix is the way to go. That said I will write up what I did in case you can't use fslogix for whatever reason.

Hi @Rudy_Ooms We do have fslogix and set the group policies for OneDrive in the OneDrive administrative templates including the OneDrive KFM. Should it have been done through fslogix. (Sorry if my question doesn't make sense I'm fairly new to this) Thank you!