Skip to content

Instantly share code, notes, and snippets.

@sdovnic
Created June 24, 2019 09:21
Show Gist options
  • Save sdovnic/722e9337c6164d6f075c00d8e1594330 to your computer and use it in GitHub Desktop.
Save sdovnic/722e9337c6164d6f075c00d8e1594330 to your computer and use it in GitHub Desktop.
https://gpsearch.azurewebsites.net/#8216
HKLM\Software\Policies\Microsoft\WindowsStore
RemoveWindowsStore 1
HKCU\Software\Policies\Microsoft\WindowsStore
RemoveWindowsStore 1
OneDrive
HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
System.IsPinnedToNameSpaceTree 0
DWord
HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
System.IsPinnedToNameSpaceTree 0
DWord
taskkill / f / im OneDrive.exe
% SystemRoot% \ SysWOW64 \ OneDriveSetup.exe / uninstall
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\OneDrive
DisableFileSyncNGSC 1
DWord
HKCU\SOFTWARE\Policies\Microsoft\OneDrive
DisablePersonalSync 1
https://blogs.technet.microsoft.com/secguide/2016/01/21/lgpo-exe-local-group-policy-object-utility-v1-0/
--
LGPO /g <import>
/m path\registry.pol
/u path\registry.pol
--
https://www.microsoft.com/en-us/download/details.aspx?id=55319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment