ahmeddzcom

How Run 32-Bit in 64-Bit

7 posts in this topic

#1 ·  Posted

Hello

i Have This :

#RequireAdmin
#include <Process.au3>
_RunDos('reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f')

Must To Compile to x86

He run good in 32-Bit But not work in 64-bit

Thanks.

Share this post


Link to post
Share on other sites



#5 ·  Posted

I don't know what you are doing but I have windows 10 
and one of theme work and one not 

 

;this one work as system is 64 bit we have to mention HKEY_LOCAL_MACHINE64
MsgBox(0,"",RegRead("HKEY_LOCAL_MACHINE64\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update","AcceleratedInstallRequired"))



;this one not worked because script is executing on 64 bit so we have not mentioned 64 after HKEY_LOCAL_MACHINE
MsgBox(0,"",RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update","AcceleratedInstallRequired"))

 

Share this post


Link to post
Share on other sites

#7 ·  Posted

9 hours ago, Muhammad_Awais_Sharif said:

I don't know what you are doing but I have windows 10 
and one of theme work and one not 

 

;this one work as system is 64 bit we have to mention HKEY_LOCAL_MACHINE64
MsgBox(0,"",RegRead("HKEY_LOCAL_MACHINE64\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update","AcceleratedInstallRequired"))



;this one not worked because script is executing on 64 bit so we have not mentioned 64 after HKEY_LOCAL_MACHINE
MsgBox(0,"",RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update","AcceleratedInstallRequired"))

 

Yes Brother it is this : (HKEY_LOCAL_MACHINE64)

Thank you.

1 person likes this

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