LeDragoX / Win-Debloat-Tools

Re-imagining Windows like a minimal OS install, already debloated with minimal impact for most functionality.
MIT License
5.2k stars 264 forks source link

Clipboard history `cannot be enabled` even when enabling it in GUI #69

Closed MadhiasM closed 1 year ago

MadhiasM commented 1 year ago

Describe the Bug

Clipboard history is greyed out ("manage by my organization") eventhough I enabled it in the GUI before applying tweaks

How can this issue be reproduced?

Preconditions

  1. Run GUI
  2. Click "✅ Enable Clipboard History"
  3. Click "✔️ Apply Tweaks"
  4. Wait for script to finish
  5. (Optional) Restart system

Actions

  1. Try to use Cliboard with "Ctrl" + "V"
  2. Open clipboard settings

Expected behavior?

  1. Clipboard history opening with "Ctrl" + "V"
  2. Clipboard settings being accessible and changeable or at least clipboard history being enabled

Observed behaviour

  1. Emoji Selector will open (Usually is "Ctrl" + "."); (After restart) It will not show at all
  2. Settings are greyed out, disabled and "managed by my organization"

Operating System

Windows 11

Operating System Version

21H2

Screenshots

What opens instead on "Ctrl" + "V": image

Greyed out clipboard settings image

Logs

No response

Additional Info

No response

MadhiasM commented 1 year ago

Solved by manually running the Enable-ClipboardHistory commands in PowerShell:

Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "AllowClipboardHistory" -Type DWord -Value 1
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Clipboard" -Name "EnableClipboardHistory" -Type DWord -Value 1

then checking these values of that path in regedit and restarting the system

LeDragoX commented 1 year ago

So, i got this misunderstood.

image

Doing it in this order will avoid any doubts.

By the way, a reboot is required to this to work.

MadhiasM commented 1 year ago

Good to know, I did it the other way around, thanks for the info