Problem with deleting startup reg keys
I don't know why my script doesn't delete startup reg keys from registry:
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Run\MyApp"
The path is correct but registry keys still exists.
I have no problems with deleting other registry keys and there problem is only with startup keys. What is the reason?
I'm running this script on XP as Administrator.