📜 VBScript (WSH)
Check "Enable Clipboard History" Status (VBScript)
Reads the registry value behind the "Enable Clipboard History" tweak to confirm whether it's applied.
CheckEnableClipboardHistoryStatus.vbs
' ============================================================
' CheckEnableClipboardHistoryStatus.vbs
'
' Checks whether "Enable Clipboard History" is currently applied.
'
' Usage: cscript CheckEnableClipboardHistoryStatus.vbs
' ============================================================
Option Explicit
Dim objShell, currentValue
Set objShell = CreateObject("WScript.Shell")
On Error Resume Next
currentValue = objShell.RegRead("HKCU\Software\Microsoft\Clipboard\EnableClipboardHistory")
If Err.Number <> 0 Then
WScript.Echo "'EnableClipboardHistory' is not set (using the Windows default)."
Else
WScript.Echo "Current value of 'EnableClipboardHistory': " & currentValue
End If
On Error Goto 0