Windows & Connected Devices Platform - Why and no
อัปเดต: 29 สิงหาคม 2025
มาอธิบาย fourth law of thermodynamics ให้ฟัง ตอนนี้คุณอาจพูดว่า Dedo ไม่มีหรอก ใช่ มี มันเป็น: หาก description ของ entity ที่ intended to explain what an entity does ทำให้ understanding ของ intended functionality ยิ่ง cryptic entity นั้นควร discarded immediately as pure garbage เราไม่อยาก mess with entropy Case in point: Connected Devices Platform
Rummaging about in Windows 10/11 ผม stumble upon service ชื่อข้างต้น CDP สั้นๆ มันทำอะไร? Ah Ah! อ่าน service explanation ผมรู้สึก eyelids flutter และพูดว่า okay ไม่อยากมัน Apparently 這東西去 hand in hand with "user activities" 所以有นั้นด้วย Confused? คุณควร แต่มาอธิบายและแสดงว่าคุณทำได้อะไร
Activities, so many activities!
Biggest fetish of any major company คือ data 越多 越 excited Microsoft 像 giant 他們是 感覺 compelled to profile their users 他們ทำยังไง? 有 many ways 一個是 via Activity history 例如 在 Windows 10:

Text ข้างบนอ่านว่า:
Jump back into what you were doing on your device by storing your activity history, including info about websites you browse and how you use apps and services.
LOLZUR what
- ผมรู้ว่าผมทำอะไรอยู่
- Info about websites? นั่นเรียก browser history Brow-ser his-tory
- How I use apps and services? ผมรู้ว่าทำอะไรอยู่ ไม่ได้ suffering from amnesia
แต่นี่คือ juicy data และ當然 look at that "Privacy Statement" thingie! ทำไม Microsoft ต้องรู้สิ่งเหล่านี้? หาก data stored on "device" แล้ว ไม่มี reason ให้ใครรู้อะไรเลย Pure marketing nonsense
所以 顯然 如果你使用 Microsoft account (另一個理由不使用) 這些數據將會被同步 所以你可以看到你在 "doing on your device" 不 對不起 你可以 "jump back in" 事實上 Plasma desktop 可以做所有這些事情 和更多 不需要儲存任何 personal data 只是 something to keep in back of your mind
現在 service 負責 make you "connected" 叫做 Connected Devices Platform (CDP) 有 two components System one 和 per-use one 因為 each user 是 its own trove of pointless data 我們必須 take care of it separately
如果你用 local account 你不在 game 內 對吧? Well wrong!
Check your CDP folder
ไปที่ C:\Users\[Your username]\AppData\Local\ConnectedDevicesPlatform
ที่นี่คุณจะ notice all sorts of log files 特別是 for your local user 有 L.[Your username]:

裡面 more database log files 和 觀察仔細 timestamp จะ change with your usage 換句話說 當你使用 system(s) 即使你有 local user 即使你 disable/disallow activity history 即使你 configure Activity group policies 在 Pro edition CDP 仍然 run 和做些什麼 這些檔案裡有什麼? 沒主意 也不在乎 應該沒有東西
Group policies 順帶一提 - Administrative Templates > System > OS Policies:

所以對我來說 only solution 是 stop CDP services
Disable CDP services
Two shall be the number of the services 和 the number of the services shall be two
- CDPSvc
- CDPUserSvc_somecomboflettersandnumbers
第一個可以 disabled "normally" 通過 Services.msc per-user one 會 throw error: Parameter is incorrect 運氣好 我講過這問題 你有 guide on how to manually disable the affected service


因此 via registry (是的 你需要讀我 tutorial 關於這主題):

Reboot problem solved 沒有 Activity being logged 即使你有 all the toggles on

Conclusion
這就是了 Another annoyance solved 現在 你可以問 well what are the unintended downsides of this change? 換句話說 三個月下線 會有 something go wrong 而你 won't be able to correlate the problem to this action? Well 我沒有 good answer to that Normally 我 opposed to system tweaking 但 unfortunately 它是 necessary 毕竟 如果 operating system won't respect my choices 並且它 logs stuff DESPITE 我的 explicit instructions 我沒有 choice 我必須 act
所以 是的 potentially something could go wrong 由於 opaque nature of this service 和其 description 我不能告訴你什麼可能 depend on this nonsense 和 potentially refuse to work 在我的 pure-desktop local-account usage scenario things are fine 如果你用 Microsoft account 如果你用 "connected" devices 那些 我想你想 keep services working 所以你去吧 最近 我做了 quite a lot of service pruning on my Windows 11 test instance (never used for anything serious) 我想看 what's the minimal viable set for a standard conventional desktop use 那應該是 interesting article of its own 好吧 用那些 words 加上 some necessary caution 當他們 tinker with system defaults 我告別了 Bye bye folks
Cheers.