DisableFileSyncNGSC: turning OneDrive sync off by policy without uninstalling it

DebloatFreeUndo: YesUpdated View as Markdown

Short answer

Updated

DisableFileSyncNGSC is the Windows policy that stops the OneDrive client from syncing and removes it from File Explorer. OneDrive stays installed; it is just not allowed to run its sync engine. In the registry it sets DisableFileSyncNGSC to 1 under HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive.

In the app
Disable OneDrive (Policy)FREE
Registry

HKLMSOFTWARE\Policies\Microsoft\Windows\OneDrive

DisableFileSyncNGSCNot set1

What the switch writes. Your current value may differ.

What it does

DisableFileSyncNGSC is the Windows policy that stops the OneDrive client from syncing and removes it from File Explorer. OneDrive stays installed; it is just not allowed to run its sync engine.

In the app the switch is called "Disable OneDrive (Policy)", described there as: Blocks OneDrive sync to reduce background I/O and context menu hooks.

When it helps, and when it hurts

When it helps

  • PCs where OneDrive syncs screenshots, clips or game folders while you play, which costs disk and upload.

When it hurts

  • Files stop syncing to the cloud, and folders redirected into OneDrive (Desktop, Documents) no longer back up.

What it writes

Exactly what the switch changes, read from the app's source. Switching it off is what the app writes when you turn the tweak off again.

Registry values the switch writes.
Key and valueWith the tweakSwitching it off
HKLMSOFTWARE\Policies\Microsoft\Windows\OneDriveDisableFileSyncNGSC1Not setThe value is deleted. Windows decides.

From the app's source (tweaks_onedrive.hpp), app 2.0.0, checked .

The same change by hand

You do not need the app for this one. These commands make the changes from the table above. Run them in a Command Prompt opened as administrator, and make a restore point first.

Make the change · CMD
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC" /t REG_DWORD /d 1 /f
Put it back · CMD
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC" /f
See what it is set to now · CMD
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC"

How to undo it

In the app: Yes

Switching it off sets a standard Windows value, which may not be exactly how you had it.

Switch the tweak off in Frozen Tweaks. It deletes DisableFileSyncNGSC, so Windows uses its built-in behavior again.

Changing several settings at once? The app's Make a restore point button, on every plan, makes a Windows restore point before you start.

Verdict

Use it if you do not rely on OneDrive. If you do, pause syncing during games instead.

Questions

What does the "Disable OneDrive (Policy)" tweak change in Windows?
In the registry it sets DisableFileSyncNGSC to 1 under HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive.
Is "Disable OneDrive (Policy)" safe to switch on?
Use it if you do not rely on OneDrive. If you do, pause syncing during games instead. The main cost: Files stop syncing to the cloud, and folders redirected into OneDrive (Desktop, Documents) no longer back up.
How do I undo it?
Switch the tweak off in Frozen Tweaks. Switching it off sets a standard Windows value, which may not be exactly how you had it.
Is "Disable OneDrive (Policy)" free in Frozen Tweaks?
Yes. It is one of the free tweaks, with no time limit.

In the app

Switch
Disable OneDrive (Policy)
Category
Debloat
Plan
Free
Undo
Yes

See it in the catalog

More tweak explainers

Written by

Founder of Frozen Tweaks, based in Hamburg, Germany. Publishes settings guides for competitive games on his YouTube channel, Frost LIVE.

In the app

Category
Debloat
Plan
Free
Undo
Yes

See it in the catalog

Frozen Tweaks

Free for Windows 10 and 11

58 tweaks free, each with an undo switch. Never edits game files.

v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details

Or type frozentweaks.com on your PC.

4.5 out of 5 from 15 reviews on Trustpilot, as of Oct 20, 2026. See the reviews (opens in a new tab)

The free Windows app for competitive games.

58 tweaks free, each with an undo switch. Never edits game files.

See all 177 tweaks

v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details

Frozen Tweaks runs on Windows. Send the link to your PC and download it there.

Or type frozentweaks.com on your PC.