How to Change Local Group Policy Setting for OneDrive on Multiple Machines?

0
0
Asked By TechSavant92 On

I have a challenge with nearly 500 standalone machines where a local Group Policy is set under Computer Configuration > Administrative Templates > Windows Components > OneDrive to prevent the usage of OneDrive for file storage. This setting is currently enabled, which blocks the installation and running of OneDrive completely. While there's a registry setting that corresponds to this option, changing it to 0 doesn't update the local policy, which seems to be normal behavior. I need an efficient way to change this setting from 'Enabled' to 'Disabled' without manually adjusting each machine. Is there any way to accomplish this using PowerShell or another command line tool?

2 Answers

Answered By GPOGuru1 On

You can actually override local policy settings by creating a Domain GPO. Just set up a GPO that configures it the way you want.

But if that's not an option for you, you might want to check out LGPO.exe. It's a tool that can help manage Local Group Policy settings. If you have any third-party endpoint management software, you could distribute the necessary files and run the LGPO import command using those tools.

Answered By PowerShellNinja On

Before diving into PowerShell, it’s good to check if the registry key is already there or if it gets created when the policy is set. If you can run PowerShell scripts, you could modify the registry easily, but preferably use Domain GPO if that’s available.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.