Skip to content

Instantly share code, notes, and snippets.

@ScribbleGhost
Created October 21, 2019 20:32
Show Gist options
  • Select an option

  • Save ScribbleGhost/d558275a694fe044866deeb0165906d7 to your computer and use it in GitHub Desktop.

Select an option

Save ScribbleGhost/d558275a694fe044866deeb0165906d7 to your computer and use it in GitHub Desktop.
cd /d %LOCALAPPDATA%\Microsoft\OneDrive\ & OneDrive.exe /shutdown
REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\OneDrive" /V "FilesOnDemandEnabled" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment