Needs to write to 64-bit registry but get redirected

VBS to EXE and JScript to EXE Compiler
Post Reply
drofdarb
Posts: 1
Joined: Wed Apr 18, 2012 3:46 pm

Needs to write to 64-bit registry but get redirected

Post by drofdarb »

Hi,

On Windows 7 x64, I need to write the autoadmin login keys direct to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\

but the compiled exe is only 32-bit and therefore Windows is redirecting the application to

HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon\

which means the settings dont have any effect.

What do I need to do to get the application to write the keys to where I want them to be? Can I compile a 64-bit application?
support
Site Admin
Posts: 476
Joined: Fri Feb 13, 2004 1:05 pm

Post by support »

ScriptCryptor will have 64-bit version soon.
zgeorgem
Posts: 4
Joined: Mon Mar 02, 2015 9:28 am

Post by zgeorgem »

Use the following EXE location
%windir%\Sysnative\wscript.exe
Post Reply