none
One Drive Known folder move and disabling it once enabled via GPO RRS feed

  • Question

  • Hi,

    I posted this in one drive forum but was asked to post here as GPO related...so:

    In a lab environment i enabled these 3 GPOs:

    • Silently sign in users to the OneDrive sync client with their Windows credentials
    • Silently move Windows known folders to OneDrive
    • Prompt users to move Windows known folders to OneDrive (incase an error occurs)

      I was testing on a windows 7 client machine (yes i know support expires soon)

      They are all machine group policy, and i logged in with a few test accounts and it behaved as expected synchronisnig the files up to one drive.
      I then wanted to disable the GPO policy to see what the behaviour was
      so i set
      Silently move Windows known folders to OneDrive -> disabled
      Prompt users to move Windows known folders to OneDrive -> disabled

      When i set this Machine Group policy to disable it, I ran a gpupdate /force it on the client and checked it removed the two associated registry keys but the my documents, my pics, desktop and associated files were still showing as synchronised. I logged out / in and still the same

      So my questions are
      1) What is the correct way to disable known folder move once its been enabled e.g. just setting the GPOs to disabled didn't seem to work for me. I even looked at enabling "Prevent users from moving their windows known folders to onedrive"
      2) What is the behaviour for the files that were in my docs, my pics, my desktop and sync'd to one drive once you disable.

    thanks
    Brad

    r
    Tuesday, September 10, 2019 10:08 PM

All replies

  • Hello obhayes,

    Thank you for posting in our TechNet forum.

    Here are the answers for our questions:

    Q1:What is the correct way to disable known folder move once its been enabled e.g. just setting the GPOs to disabled didn't seem to work for me. I even looked at enabling "Prevent users from moving their windows known folders to onedrive"

    A1: From the Use Group Policy to control OneDrive sync client settings, we can see:


    For the policy setting:

    Prevent users from moving their Windows known folders to OneDrive

    This setting prevents users from moving their Documents, Pictures, and Desktop folders to any OneDrive for Business account.

    If the user has already moved their known folders, the files in those folders will remain in OneDrive. This setting will not take effect if you've enabled "Prompt users to move Windows known folders to OneDrive" or "Silently move Windows known folders to OneDrive."
    If you disable or do not configure this setting, users can choose to move their known folders.


    So we need to disable the following three policies:

    Prevent users from moving their windows known folders to onedrive => disabled
    Silently move Windows known folders to OneDrive => disabled
    Prompt users to move Windows known folders to OneDrive => disabled



    Q2:What is the behaviour for the files that were in my docs, my pics, my desktop and sync'd to one drive once you disable.

    A2:Once we disable the known folders to sync to one drive, the files in those folders will remain in OneDrive, the new files we created after we disable the known folders to sync to one drive will be in my docs, my pics, or my desktop folders in local machine.



    If the above is not the case we encounter, please confirm the following information:

    1. According to "but the my documents, my pics, desktop and associated files were still showing as synchronised", please provide the screenshot?

    Which one are you meant?








    2. According to "just setting the GPOs to disabled didn't seem to work for me", what do we mean "did not work"?





    Best Regards,
    Daisy Zhou


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, September 11, 2019 8:57 AM
    Moderator
  • Hi Daisy,

    Above you said we need to disable the following 3 policies

    1.Prevent users from moving their windows known folders to onedrive => disabled
    2.Silently move Windows known folders to OneDrive => disabled
    3. Prompt users to move Windows known folders to OneDrive => disabled

    Shouldn't the first one be enabled? i.e. you want to prevent this?
    That said i still cant get it to turn off KFM.

    as you can see they are still showing as sync'd to onedrive

    My GPOs look as follows

    I have run gpupdate force on the client (win 7) and reg keys look like this

    what am i missing?

    thanks

    brad

    Thursday, September 12, 2019 10:00 AM
  • Hi,
    Thank you for your update.

    I am sorry, I will apologize that my above reply is not complete correct.


    1. When we enable the following policy on one client:Silently move Windows known folders to OneDrive => enabled
    Prompt users to move Windows known folders to OneDrive => enabled

    All the users log on to this client will silently move Windows known folders to OneDrive.

    2. And I think you are right, we need to set the policy as below:

    Prevent users from moving their windows known folders to onedrive => enabled
    Silently move Windows known folders to OneDrive => disabled
    Prompt users to move Windows known folders to OneDrive => disabled

    After we did that, and update the GPO:

    For all the user have logged to the above client in step 1, all the files in those folders will remain in OneDrive. 

    And for all the users have not logged to the above client in step 1, if they log on to this client, it will prevent users from moving their windows known folders to onedrive.





    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, September 13, 2019 7:58 AM
    Moderator

  • Hi,
    If this question has any update or is this issue solved? Also, for the question, is there any other assistance we could provide?



    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, September 16, 2019 1:24 AM
    Moderator

  • Hi,
    I am just writing to see if this question has any update. If anything is unclear, please feel free to let us know.

    Thanks for your time and have a nice day!


    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, September 18, 2019 2:06 AM
    Moderator
  • Hi,

    I just need to repeat some tests in the labs, which i will do tomorrow and provide an update in next few days

    thanks
    Brad

    Thursday, September 19, 2019 8:17 AM
  • Hi,
    OK. I am looking forward to your reply. Thanks for your time and update in advance.

    Have a nice day!



    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Friday, September 20, 2019 1:52 AM
    Moderator
  • Hi,
    Would you please tell me how things are going on your side. If you have any questions or concerns, please don't hesitate to let us know. 
     


    Best Regards,
    Daisy Zhou

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, September 25, 2019 3:46 AM
    Moderator