On July 23, 2021 at 18:55, Johnny Canuck said...
If you add "/f" to the registry command it should delete the key without having to do a confirmation. Using that logic, if you create a windows batch file with the following commands, you should be able to automate the process to the point of the login dialog box popping up:
reg delete HKEY_CURRENT_USER\Software\Universal Remote Control, Inc\Complete Control Program\Recent File List /f
C:\Program Files (x86)\Universal Remote Control, Inc\Complete Control Program\ccp.exe
You may need to edit your run command if CCP is in a different location.
Yep! I ended up creating this PowerShell file:
reg delete "HKEY_CURRENT_USER\Software\Universal Remote Control, Inc\Complete Control Program\Recent File List" /f
& "C:\Program Files (x86)\Universal Remote Control, Inc\Complete Control Program\ccp.exe"
exit 0
I saved it as
C:\Program Files (x86)\Universal Remote Control, Inc\Complete Control Program\ccp.ps1
and edited the start menu icon so the so the "Target" says:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files (x86)\Universal Remote Control, Inc\Complete Control Program\CCP.ps1"You have to first find the icon in the Start Menu, right-click and hit "Open File Location", then right-click the Shortcut and hit "Properties".
So at least it is partially automated.