DerPlopp

RegWrite into 32bit on 64Bit Windows

3 posts in this topic

Hello,

 

I'm trying to create/write a RegKey specifically into the 32Bit part of the Windows registry but the script keeps on putting it into the 64Bit part (Windows Server 2008 x64).
I have tried it with and without "#AutoIt3Wrapper_UseX64=N" but without success.
Is there a way to force AutoIt to write into the 32Bit part of the registry?

Code:
RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update", "ElevateNonAdmins", "REG_DWORD", "0")

 

Best Regards

Frank

Share this post


Link to post
Share on other sites



Try using this and see if you get your desired results. 

RegWrite("HKLM64\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update", "ElevateNonAdmins", "REG_DWORD", "0")

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hi there,

thanks for the reply but I want to have the exact opposite result. 
When I use HKLM64, I'm telling the script to write into the WOW6432Nodes part of the registry.

Edit:

Nevermind. Everything is working as it should be. I was looking at the wrong registry path the whole time. :oops:

Edited by DerPlopp

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now