I run reg file by .bat in windows x64 but my reg file add to wow6432node
, and i want Add to :
HKEY_LOCAL_MACHINE\SOFTWARE\Myproject
in windows x64 .
My .bat file command :
%windir%\System32\regedt32.exe e5.reg
please help me
Thank you
I run reg file by .bat in windows x64 but my reg file add to wow6432node
, and i want Add to :
HKEY_LOCAL_MACHINE\SOFTWARE\Myproject
in windows x64 .
My .bat file command :
%windir%\System32\regedt32.exe e5.reg
please help me
Thank you
I don't know how to solve it using a .reg file. But only in a BAT file, as fallow:
You must add /reg:64 at the end of the command line.
ex:
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background" /v "OEMBackground" /t REG_DWORD /d 0x00000001 /f /reg:64
Source: Wow6432Node and how to Deploy Registry settings to 64 bit systems via Sccm