I have received errors "The parameter is incorrect". Here it the code:
RegistryKey sk1 = Microsoft.Win32.Registry.LocalMachine.CreateSubKey(@"HKEY_