How to Prevent Users to change the Onedrive auto startup and KFM setting?

Sundarakannan Manoharan 1 Reputation point
2021-06-25T06:43:44.72+00:00

Dear Frenz,

We have deployed Onedrive to 10K users across our Organization. THe issue here is some of the users are stoping the Onedrive auto start and changing the KFM setting from Desktop/DOcument/Pictures folders.

As checked, we can user User Logon script or Registry to start the OneDrive.exe on Next logon, But Queries are is there a way completely prevent the users from Changing the Auto start and KFM settings?

OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,122 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Emily Hua-MSFT 27,526 Reputation points
    2021-06-25T10:56:35.277+00:00

    @Sundarakannan Manoharan

    How to Prevent Users to change the Onedrive auto startup

       Based on our research and tests, there is no such related Group Policy to prevent users stoping the Onedrive auto start.  
       I will do some tests via adding realted registry key later, if I have any updates, I would update my reply on next week, thanks for your understanding.  
    
       >  
    

    changing the KFM setting from Desktop/DOcument/Pictures folders.

    Does it mean that you want to prevent users from moving their Windows known folders to OneDrive?
    If yes, you may refer to teh link, add the following registry key.
    [HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMBlockOptIn"="dword:00000001"


    Update ---------------
    Based on my test, if the users want to stop Onedrive auto startuping, they could go to Task Manager > Starup, disable OneDrive, or go to Settings tab in OneDrive, uncheck (turn off) the "Start OneDrive automatically when I sign in to Windows". I do not find the registry key or GPO to hide or greyed them currently.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Sundarakannan Manoharan 1 Reputation point
    2021-06-25T15:23:39.273+00:00

    Thanks for your response.

    Does it mean that you want to prevent users from moving their Windows known folders to OneDrive?
    If yes, you may refer to teh link, add the following registry key.
    [HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMBlockOptIn"="dword:00000001"

    Actually Im looking for other way here, we already deployed a GPO to auto sync the Known Folder Move, but im looking for a way to preven the user from chaning it, say for an example, user shouldn't exclude picture folder or Document folder etc.,


  3. Sundarakannan Manoharan 1 Reputation point
    2021-06-28T13:43:59.923+00:00

    Thanks, this works for me to prevent user from change the KFM folders.

    Any suggestion on how to Prevent user from stopping Onerive.exe or remove onedrive from start up