question

SundarakannanManoharan-4837 avatar image
0 Votes"
SundarakannanManoharan-4837 asked emilyhua-msft commented

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

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?

office-onedrive-client-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

emilyhua-msft avatar image
0 Votes"
emilyhua-msft answered emilyhua-msft edited

@SundarakannanManoharan-4837

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SundarakannanManoharan-4837 avatar image
0 Votes"
SundarakannanManoharan-4837 answered emilyhua-msft commented

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.,

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SundarakannanManoharan-4837

According to your description, please try this GPO policy "Prevent users from redirecting their Windows known folders to their PC", after moving Windows known folders to OneDrive, if users want to stop syncing Documents, Pictures, and Desktop folders, they would get the following error mesaage.

109790-capture52.png

More information, please refer to "Redirect and move Windows known folders to OneDrive".


0 Votes 0 ·
capture52.png (6.6 KiB)
SundarakannanManoharan-4837 avatar image
0 Votes"
SundarakannanManoharan-4837 answered emilyhua-msft commented

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

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SundarakannanManoharan-4837
As far as I know, you may use Group Policy to force OneDrive starting automatically when signing into Windows, but there seems to be no effective methods to prevent users from stopping Onerive.exe or remove onedrive from start up.

0 Votes 0 ·

Thanks a lot.

0 Votes 0 ·
emilyhua-msft avatar image emilyhua-msft SundarakannanManoharan-4837 ·

@SundarakannanManoharan-4837
You are welcome.

Could you please accept your first answer as "An Answer"?
If users on Q&A forum who encounter the same issue and read your content and the comment under it, they would get more help.
Thanks~

0 Votes 0 ·