-
Mar 10th, 2012, 07:49 AM
#1
Thread Starter
Addicted Member
Wrong write to registry in Windows 7 64-Bit
Ok, so my code is as below.
vb Code:
Dim RegKey As RegistryKey = Registry.LocalMachine RegKey = RegKey.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background", True) RegKey.SetValue("OEMBackground", "00000000") 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.
-
Mar 10th, 2012, 12:34 PM
#2
Re: Wrong write to registry in Windows 7 64-Bit
I have no knowledge on the subj, but maybe it depends on if the app is compiled as 32 or 64 bit, searching for "Wow6432Node" found this...
32-bit and 64-bit Application Data in the Registry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|