/build/static/layout/Breadcrumb_cap_w.png

Troubles deploying a 64 and 32 bit install from the K1000

So i have an install i need to push out to x86 and x64 bit systems via software distribution from the K1000. I have a batch script in a zipped folder that runs as follows.

@echo off
if defined ProgramFiles(x86) goto AMD64

:x86
start /wait "install info goes here"
start /wait REGEDIT.EXE  /S  "file.REG"
goto end
 
:amd64
start /wait "install info goes here"
start /wait REGEDT32.EXE  /S  "file.REG"
goto end
:end

exit 0


And a .reg file

--- Windows Registry Editor Version 5.00--- 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\CMGShield] 
"AlwaysApplySDE"=dword:00000001
"AllowNonDomainActivations"=dword:00000001

Im running regedt32.exe to try and emulate the instructions below. 
https://support.software.dell.com/k1000-systems-management-appliance/kb/131517

So far my x86 deployments are going just fine, perfect even, but my x64 deployments are still putting regsitry changes in WOW6432. I need them to get back to HKLM/software/windows/windowsnt/winlogon/cmgshield. If i run the .reg from a thumb drive or the desktop its just fine on the x64 machines too. The files still go where they need to be. But when i run everything through software distribution the x64 install breaks. 

I hope this all makes sense. 


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: SMal.tmcc 9 years ago
Red Belt
1
since the client is 32bit it is calling the regedit from the the 32 area.  you can either use the %sysnative% varible or uploading 2 reg files and for the 64 bit use hklm64\software\....

Comments:
  • So just %sysnative% in front of regedt32.exe? - superanalog 9 years ago
    • %windir%\Sysnative\ - SMal.tmcc 9 years ago
      • I will give that a try. Thank you! - superanalog 9 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ