Ok, so my code is as below.

vb Code:
  1. Dim RegKey As RegistryKey = Registry.LocalMachine
  2.               RegKey = RegKey.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background", True)
  3.               RegKey.SetValue("OEMBackground", "00000000")
  4.               RegKey.Close()

If I output the contents of it on a msgbox, things are fine, but when I go to regedit, the change doesn't happen where it should as it actually happens in another registry key located at
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Back ground
which I guess happens since I am on windows 7 64 bit, but I don't want that to happen as doing that doesn't change anything.

The key I'm trying to change makes changing the default logon screen possible in Win7, but it's not working like this since the wrong key is being modified.