Announcement

Collapse
No announcement yet.

Registry Delete

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Registry Delete

    Hi Forum

    is there any different from the HKLM\Software\Classes to HKLM\Software\Classes\Interface?

    I'm trying to delete some registry Keys

    Code:
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\CSCOMB.CSComboBoxCtrl.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\CSSPIN.CSSpinCtrl.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.GlossaryPane");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.GlossaryPane.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.HHComponentActivator");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.HHComponentActivator.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\Interface\\{00345390-4F77-11D3-A908-00105A088FAC}");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\Interface\\{0BA4BA22-2EF0-11D3-88C8-00C04F72F303}");
    All Keys they are directly under Classes was deleted. All with {....} still exist.

    Thanks for the hint.
    Rolf

  • #2
    Originally posted by Worti View Post
    Hi Forum

    is there any different from the HKLM\Software\Classes to HKLM\Software\Classes\Interface?

    I'm trying to delete some registry Keys

    Code:
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\CSCOMB.CSComboBoxCtrl.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\CSSPIN.CSSpinCtrl.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.GlossaryPane");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.GlossaryPane.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.HHComponentActivator");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\HHActiveX.HHComponentActivator.1");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\Interface\\{00345390-4F77-11D3-A908-00105A088FAC}");
    Registry.DeleteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\Interface\\{0BA4BA22-2EF0-11D3-88C8-00C04F72F303}");
    All Keys they are directly under Classes was deleted. All with {....} still exist.

    Thanks for the hint.
    Rolf
    Open regedit and right click on the registry keys that won't delete and view the permissions. You may need to change the permissions to delete the keys. Look on Google for external scripts that you can run from SUF with the File.Run

    Comment


    • #3
      Thanks for the Info.

      The Point why i'm asking is, if I open regedit I can right click and delete the entry. Looks not like an permission problem.

      I will check if there is a script that I can use.

      regards
      Worti

      Comment

      Working...
      X