When I run this command:
DelValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","tvncontrol")

I get the error: The system cannot find the file specified.

I know the entry exists by using regedit. When I have Kixtart check what's there with:
EnumValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run",0)
EnumValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run",1)
EnumValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run",2)

The results I get are what's in key: HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

Computer is Windows 7 64bit. What's this all about? Is this a bug? Is there a workaround?