Striker53
25th September 2007 15:48 UTC
Delete autostart reg
Hi,
I created a registry entry to autostart my programm with windows...
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Run" "Programm 1.75" "$INSTDIR\programm.exe"
...can someone show me the code how to uninstall this reg entry? I tried...
DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Run" "Programm 1.75"
...but it didn´t worked...
:)
Yathosho
25th September 2007 16:01 UTC
DeleteRegKey
demiller9
25th September 2007 16:53 UTC
DeleteRegValue should work. If you use DeleteRegKey you would probably delete the complete Run key, which will affect all other autostart items that are in it.
Is there anything unusual about how you are trying to uninstall this value? Is this Vista, or is the uninstall done as a user instead of Administrator (I don't know if the Run key needs administrator rights, but there's a possibility that it does)?
Don
Striker53
25th September 2007 20:51 UTC
Hey, thanks for replies :)
Is there anything unusual about how you are trying to uninstall this value?
No...i think
Is this Vista
No
or is the uninstall done as a user instead of Administrator
No
:(