Kill Activity History in 24H2?


Levitate11

Well-known member
Power User
VIP
Local time
12:26 AM
Posts
476
OS
Windows 11 Pro 24H2
Anyone have any info on the Activity history in 24H2?

I've found pages stating that MS disabled uploading it to their servers due to privacy concerns (no kidding, LOL). But I don't see where they've actually disabled it locally.

This MS page suggests that you can kill it in Settings > Privacy and Security > Activity log. But there do not appear to be any options there for the Activity Log. I found one non-MS reference acknowledging that it's no longer there... but not where it's gone to. Windows activity history and your privacy - Microsoft Support

You can hit Group Policies and set Computer Configuration > Administrative Templates > System > OS Policies and disallow three policies to prevent upload to MS. But there's no "stop logging" option I see.

BUT, there's still an activities database being generated in the folder C:\Users\username\AppData\Local\ConnectedDevicesPlatform\L.username. You can delete the db if you stop the Microsoft Cross Platform Device Service / CDPUserSvc_xxxx. But it will come back when you restart your machine.
 

My Computer My Computer

At a glance

Windows 11 Pro 24H2Intel Ultra 7 155H16gbIntel Arc integrated
OS
Windows 11 Pro 24H2
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel Ultra 7 155H
Memory
16gb
Graphics Card(s)
Intel Arc integrated
Hard Drives
SSD
just as a heads up here.
in the registry there are 3 entries for CDP services
while in services there are only 2 entries.
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

maybe these entries have something to do with logging, but thats just a guess.

best of luck, Steve ..
 

My Computers My Computers

  • At a glance

    Debian 13 KDE .. Windows 11 HomeRyzen 7 5825u64GB DDR4 3200Ryzen 7 5825u
    OS
    Debian 13 KDE .. Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP 24" AiO
    CPU
    Ryzen 7 5825u
    Motherboard
    HP
    Memory
    64GB DDR4 3200
    Graphics Card(s)
    Ryzen 7 5825u
    Sound Card
    RealTek
    Monitor(s) Displays
    24" HP AiO
    Screen Resolution
    1920 x 1080 @60 Hz
    Hard Drives
    1TB WD Blue SN580 M2 SSD Partitioned.
    2x 1TB USB HDD External Backup/Storage.
    PSU
    90W external power brick
    Case
    24" All in One
    Cooling
    Default Air Cooling
    Keyboard
    HP WiFi UK extended
    Mouse
    HP WiFi 3 Button
    Internet Speed
    1GB full fibre
    Browser
    Edge & Firefox
    Antivirus
    AVG Internet Security/Windows Defender
    Other Info
    Mainly Open Source Software
  • At a glance

    Ubuntu 22.04.5 LTSi5 7200u16GB DDR4Intel
    Operating System
    Ubuntu 22.04.5 LTS
    Computer type
    Laptop
    Manufacturer/Model
    Dell 13" Latitude 2017
    CPU
    i5 7200u
    Motherboard
    Dell
    Memory
    16GB DDR4
    Graphics card(s)
    Intel
    Sound Card
    Intel
    Monitor(s) Displays
    13" Dell Laptop
    Hard Drives
    250GB Crucial 2.5" SSD
    Mouse
    Generic WiFi 3 button
    Internet Speed
    WiFi only
    Browser
    Firefox
    Antivirus
    ClamAV TK
    Other Info
    Mainly Open Source Software
I disable the Connected Devices Platform Service (CDPSvc) service. While I have an activity log file where you mentioned it, it hasn't been written to since I installed Windows.
 

My Computer My Computer

At a glance

Windows 11 Pro 25H212th Gen Core i7-1260P64 GB Micron PC4-25600Intel Iris Xe Graphics
OS
Windows 11 Pro 25H2
Computer type
PC/Desktop
Manufacturer/Model
Intel NUC12WSHi7
CPU
12th Gen Core i7-1260P
Motherboard
NUC12WSBi7
Memory
64 GB Micron PC4-25600
Graphics Card(s)
Intel Iris Xe Graphics
Sound Card
on-board Realtek HD Audio
Monitor(s) Displays
Dell U3219Q
Screen Resolution
3840 x 2160
Hard Drives
Samsung SSD 990 PRO 1TB
Crucial MX500 2 TB
Antivirus
Microsoft Defender
CDP isn't a telemetry service, it's to help sync multiple PC and devices you may have linked under the same MS Account. This is sync data.

Disabling CDP services can break some device features related to linked smartphones and Bluetooth devices. It's not absolutely required to run Windows, but the feature can actually be useful. None of this is used to report user activity to MS.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
This MS page suggests that you can kill it in Settings > Privacy and Security > Activity log. But there do not appear to be any options there for the Activity Log. I found one non-MS reference acknowledging that it's no longer there... but not where it's gone to. Windows activity history and your privacy - Microsoft Support
Note: The option to send activity history to Microsoft has been deprecated from Windows 11 23H2 and 22H2, January 23, 2024-KB5034204 update. Previous Windows 11 versions before this update would still have the option available on their activity history page, and if enabled, activity history data will still be sent to Microsoft.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop
just as a heads up here.
in the registry there are 3 entries for CDP services
...

Yes... thanks. Set them all to "don't do that" in my test above. Log was still recreated at login.

I disable the Connected Devices Platform Service (CDPSvc) service. While I have an activity log file where you mentioned it, it hasn't been written to since I installed Windows.

I'll do some testing then. The Activity.db file was 1024K. After I killed the service, deleted the log, and rebooted, the db file was recreated at a 4K size. This morning it is back to 1024k. The modification date shows it was updated at initial boot today. Maybe it peaks there.

BruceR said:
Note: The option to send activity history to Microsoft has been deprecated from Windows 11 23H2 and 22H2, January 23, 2024-KB5034204 update. Previous Windows 11 versions before this update would still have the option available on their activity history page, and if enabled, activity history data will still be sent to Microsoft.

Yes, that's the same info I found. Note that it refers to sending the activity history to MS and the ability to turn that on/off. It leaves anything about collecting the activity history unsaid.
 

My Computer My Computer

At a glance

Windows 11 Pro 24H2Intel Ultra 7 155H16gbIntel Arc integrated
OS
Windows 11 Pro 24H2
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel Ultra 7 155H
Memory
16gb
Graphics Card(s)
Intel Arc integrated
Hard Drives
SSD
CDP isn't a telemetry service, it's to help sync multiple PC and devices you may have linked under the same MS Account. This is sync data.

Disabling CDP services can break some device features related to linked smartphones and Bluetooth devices. It's not absolutely required to run Windows, but the feature can actually be useful. None of this is used to report user activity to MS.

Yes, I saw the part about Bluetooth devices in the CDP service descriptions. That's the reason I didn't disable the service. I don't use BT a lot, but I'm envisioning a day in the future when I try to hook it up and it doesn't work... then I'm left trying to remember what I might have done to kill it at some distant point in the past.

BUT, I'm going to run the scientific approach on this. I'll hook up some BT devices as a test. Kill the service. See if they still work. Throw in a few reboots and other configurations. I'll see if it really matters.

It appears the CDP allows (allowed?) the sharing of the Activity Log across devices. That's why it has the DB file open.

It also looks like they've just hacked out the Activity Log pieces in 24H2. There's no way to view the log locally that I can find (?). It's no longer uploaded to your MS account so 24H2 users can't see it there although perhaps you can turn that back on. I'm guessing they didn't have time and/or didn't bother to fix CDP and it still "needs" the log to function until the update that code.
 

My Computer My Computer

At a glance

Windows 11 Pro 24H2Intel Ultra 7 155H16gbIntel Arc integrated
OS
Windows 11 Pro 24H2
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel Ultra 7 155H
Memory
16gb
Graphics Card(s)
Intel Arc integrated
Hard Drives
SSD
After I killed the service, deleted the log, and rebooted, the db file was recreated at a 4K size. This morning it is back to 1024k. The modification date shows it was updated at initial boot today. Maybe it peaks there.

When you say "the service," do you mean the system service for CDP (CDPSvc) or the user service (CDPUserSvc_xxxxx)?
 

My Computer My Computer

At a glance

Windows 11 Pro 25H212th Gen Core i7-1260P64 GB Micron PC4-25600Intel Iris Xe Graphics
OS
Windows 11 Pro 25H2
Computer type
PC/Desktop
Manufacturer/Model
Intel NUC12WSHi7
CPU
12th Gen Core i7-1260P
Motherboard
NUC12WSBi7
Memory
64 GB Micron PC4-25600
Graphics Card(s)
Intel Iris Xe Graphics
Sound Card
on-board Realtek HD Audio
Monitor(s) Displays
Dell U3219Q
Screen Resolution
3840 x 2160
Hard Drives
Samsung SSD 990 PRO 1TB
Crucial MX500 2 TB
Antivirus
Microsoft Defender
When you say "the service," do you mean the system service for CDP (CDPSvc) or the user service (CDPUserSvc_xxxxx)?

CDPUserSvc_xxxx. That's the one that has the file lock.
 

My Computer My Computer

At a glance

Windows 11 Pro 24H2Intel Ultra 7 155H16gbIntel Arc integrated
OS
Windows 11 Pro 24H2
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel Ultra 7 155H
Memory
16gb
Graphics Card(s)
Intel Arc integrated
Hard Drives
SSD
Ah, well I have the CDPSvc one disabled, and I'm able to rename the folder, so nothing is writing to it. It hasn't made a new folder or anything.
 

My Computer My Computer

At a glance

Windows 11 Pro 25H212th Gen Core i7-1260P64 GB Micron PC4-25600Intel Iris Xe Graphics
OS
Windows 11 Pro 25H2
Computer type
PC/Desktop
Manufacturer/Model
Intel NUC12WSHi7
CPU
12th Gen Core i7-1260P
Motherboard
NUC12WSBi7
Memory
64 GB Micron PC4-25600
Graphics Card(s)
Intel Iris Xe Graphics
Sound Card
on-board Realtek HD Audio
Monitor(s) Displays
Dell U3219Q
Screen Resolution
3840 x 2160
Hard Drives
Samsung SSD 990 PRO 1TB
Crucial MX500 2 TB
Antivirus
Microsoft Defender
Ah, well I have the CDPSvc one disabled, and I'm able to rename the folder, so nothing is writing to it. It hasn't made a new folder or anything.

I left that running figuring it might be handling other things. I'll expand my bluetooth testing to include both.
 

My Computer My Computer

At a glance

Windows 11 Pro 24H2Intel Ultra 7 155H16gbIntel Arc integrated
OS
Windows 11 Pro 24H2
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel Ultra 7 155H
Memory
16gb
Graphics Card(s)
Intel Arc integrated
Hard Drives
SSD
If garlin is right, and that's generally the case, it probably doesn't affect me because I don't use an MS account. YMMV.
 

My Computer My Computer

At a glance

Windows 11 Pro 25H212th Gen Core i7-1260P64 GB Micron PC4-25600Intel Iris Xe Graphics
OS
Windows 11 Pro 25H2
Computer type
PC/Desktop
Manufacturer/Model
Intel NUC12WSHi7
CPU
12th Gen Core i7-1260P
Motherboard
NUC12WSBi7
Memory
64 GB Micron PC4-25600
Graphics Card(s)
Intel Iris Xe Graphics
Sound Card
on-board Realtek HD Audio
Monitor(s) Displays
Dell U3219Q
Screen Resolution
3840 x 2160
Hard Drives
Samsung SSD 990 PRO 1TB
Crucial MX500 2 TB
Antivirus
Microsoft Defender
If garlin is right, and that's generally the case, it probably doesn't affect me because I don't use an MS account. YMMV.
Useless trivia: If you disable CDPSvc, OOBE can't finish running.
You can disable it once you're past OOBE, and logged on. Windows is filled with weird rules.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Back
Top Bottom