Hi,
Have you ever came across issues when u launch a vbscript file from hta
interface file on x64 OS
My script involves some registry key reads and when I double click the vbs
file or lauch it from cmd it works fine , but when I lauch it from an hta
interface, the registry reads incorrectly and the output of registry keys
says nill or gives me an incorrect value.
command I used to launch vbs file from hta interface file is
"c:\windows\system32\wscript.exe path\file.vbs"
Same script and same interface file is working fine on a 32 bit OS.
not for all registry keys but for some particular registry keys
Eg:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon\AllocateDASD
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon\AllocateCDRoms
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon\AllocateFloppies
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon\CachedLogonsCount
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon\PasswordExpiryWarning
Please let me know if we have any solution for this.
Thanks in advance!!
Bookmarks