I would like to create a .cmd file to delete a specific key within registry key 'Run'

I tried to run this codeline but it doesn't work

REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Adobe Creative Cloud /f
  • 1
    Put keys containing spaces in double quotes REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Adobe Creative Cloud" /f – LotPings Dec 23 '18 at 21:54
  • It doesn't work, I have pasted this codeline in a .cmd file doesn't do its work reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Adobe Creative Cloud" /f – user977007 Dec 24 '18 at 8:20
  • 1
    There may be a permissions issue attached to they key. You will have to modify the permissions on the Adobe key using regedit. – Moab Dec 24 '18 at 17:30
  • Is there any error message? If there is an "access is denied" error, we can refer to this case: superuser.com/questions/489679/… – Daisy Zhou Dec 25 '18 at 10:02

After years of searching for a way to easily delete registry entries - I discovered RegScanner.

RegScanner by NirSoft is a small free utility that allows you to scan the Registry, find the desired Registry values that match to the specified search criteria, and display them in one list.

One of the best features of RegScanner is the ability to search for a keyword or value and create a REG file from the resulting list.

This comes in handy when you have multiple registry entries that refuse to delete. Many stubborn registry entries will delete when you create a REG file and replace all [HKEY values with [-HKEY before executing

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy