I am trying to write multiple registry entries into HKLM\Software\Wow6432Node\program name\program tools and I keep getting Exception Unhandled messages "System.UnauthorizeAccessException: 'Access to the registry key 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\program name\program tools' is denied'.

I have tried launching my program as Administrator and User from VB, both get the error. When I try to launch the debug version the program seems to ignore the registry keys and continues the other processes without error.

Here is what I am using:
Code:
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\program name\program tools", "LoginServer", "SERVER01")
Any help would be greatly appreciated.