Turn off activity history for the whole PC — via Microsoft Learn
Activity history records the apps, files and sites you use so features can pick up where you left off. These three policies turn off the activity feed and stop Windows and apps publishing or uploading those activities, for every account on the PC.
Takes effect right away
The easy way
- Just for your account: Settings → Privacy & security → Activity history → turn off Store my activity history on this device, and use Clear history to remove what's already stored.
Group Policy
Open gpedit.msc (Pro, Enterprise and Education only) and go to:
Computer Configuration > Administrative Templates > System > OS Policies > Enables Activity Feed, Allow publishing of User Activities and Allow upload of User Activities (all Disabled)
Registry equivalent
Double-click a .reg file and confirm to merge it. Right-click → Edit first if you want to read it, which is always a good idea with any .reg file from the internet.
Apply
Windows Registry Editor Version 5.00
; Oddbyte.Me: Turn off activity history for the whole PC
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]
"EnableActivityFeed"=dword:00000000
"PublishUserActivities"=dword:00000000
"UploadUserActivities"=dword:00000000Undo
Windows Registry Editor Version 5.00
; Oddbyte.Me: undo Turn off activity history for the whole PC
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]
"EnableActivityFeed"=-
"PublishUserActivities"=-
"UploadUserActivities"=-Same thing from a command prompt
Run in an administrator Command Prompt or Terminal.
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableActivityFeed" /t REG_DWORD /d 0 /f
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "PublishUserActivities" /t REG_DWORD /d 0 /f
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "UploadUserActivities" /t REG_DWORD /d 0 /fUndo:
reg delete "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableActivityFeed" /f
reg delete "HKLM\Software\Policies\Microsoft\Windows\System" /v "PublishUserActivities" /f
reg delete "HKLM\Software\Policies\Microsoft\Windows\System" /v "UploadUserActivities" /fMicrosoft says these policies take effect immediately. They don't delete activities already stored on the PC; use Clear history for that. Sending activity history to Microsoft has been retired on Windows 11 22H2 and later (since the January 2024 update), so on current builds history is only stored locally; the upload policy matters mainly for older versions.
Sources
- Privacy Policy CSP — by Microsoft Learn
- Manage connections from Windows to Microsoft services: Activity History — by Microsoft Learn
- Windows activity history and your privacy — by Microsoft Support
- Source reviewed
- 2026-11-02
- Link checked
- Not yet
- Tested hands-on
- Not by Oddbyte.Me
Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.