lordmulder / ClearClipboard

Clear Clipboard is a simple tool that will periodically clear your clipboard.
Other
23 stars 2 forks source link

Disabling Clipboard History Service in Windows 11 force closes certain UWP apps (incl. calculator) #1

Open ninjaeon opened 2 years ago

ninjaeon commented 2 years ago

Disabling Clipboard History Service in Windows 11 causes certain UWP apps to force close after copying data. This is including Windows built-in calculator (right click then copy any calculation) and every Windows Store based calculator app I tried. Notepad doesn't seem to be affected, so I don't think that necessarily every UWP app is affected.

Reenabling Clipboard History Service with your regedit fixes the issue. Having Clipboard History disabled via settings or group policy does not cause the force close issue.

I'm looking for a workaround that allows the problematic UWP apps to still work with the service disabled, although I wonder if it's necessary if Clipboard History is disabled by other means (settings/gpedit.msc).

lordmulder commented 2 years ago

Reenabling Clipboard History Service with your regedit fixes the issue. Having Clipboard History disabled via settings or group policy does not cause the force close issue.

Well, if we knew a way to "emulate" the settings... 😕

Also, keep in mind that the "group policy editor" is only available in "Pro" versions of Windows.

Robert941 commented 2 years ago

@lordmulder as a workaround, could we use a parameter in the configuration file to tell the software to check the clipboard history setting instead of cbdhsvc?

Robert941 commented 2 years ago

@lordmulder This also prevents copying of snipped screenshots with the Windows "Snip & Sketch Tool" (not the "Snipping Tool").