Specified registry key does not exist
The registry key that has been specified does not exist.
To correct this error
Check the registry key that you are supplying to make sure you have specified the path correctly.
Create the registry key before attempting to write to it.
See Also
Concepts
Reference
Other Resources
Walkthrough: Creating a Registry Key and Changing Its Values