Hi,
I've got a problem with a compiled script under Windows Server 2008 R2 (64-bit). Perhaps it's a general problem with 64-bit installations and not only in this particular OS (I just tested it with W2K8 32-bit without R2 before of the actual problem)...:
Everything is working fine, if I execute the script as a VBS-file and all the commands are going through. After compilation, everything which ist working with the "WshShell.Run" command isn't executing anymore. The script ist still working further and it's finalizing it's work - but without these lines of code... If I use the same executable on a W2K8 32-bit, everything is working fine as well...
Do you have any idea, what the problem could be and how I can solve it?
Thanks a lot for your reply!
Regards,
Andre
Error with WshShell.Run under W2K8 R2
-
- Site Admin
- Posts: 476
- Joined: Fri Feb 13, 2004 1:05 pm
-
- Posts: 3
- Joined: Wed Dec 16, 2009 12:46 pm
-
- Posts: 3
- Joined: Wed Dec 16, 2009 12:46 pm
Update... I've just installed Windows 7 64 bit and I do not have this problem. Howerver, I do have a different problem. I'm not able to read or write to the registry on a 64 bit install of Windows 7. The error message I get when using objShell.RegRead is:
Error: Invalid root in registry key
If I run the code as a vbscript, it works fine. Any ideas? I've tried to read and write to the registry using WMI and with objShell.RegRead. Both ways have problems.
Error: Invalid root in registry key
If I run the code as a vbscript, it works fine. Any ideas? I've tried to read and write to the registry using WMI and with objShell.RegRead. Both ways have problems.
-
- Site Admin
- Posts: 476
- Joined: Fri Feb 13, 2004 1:05 pm
Read at MSDN about registry redirection and WOW64: http://support.microsoft.com/kb/896459
-
- Posts: 3
- Joined: Wed Dec 16, 2009 12:46 pm
-
- Posts: 2
- Joined: Sun Nov 08, 2009 12:02 am
btw: I just packed all the executables I need to run with the shell into the same path as the compiled VBScript-EXE - with that, it will run everything as well under 64-bit installations!
That means: It's solved for me as well!
btw2: Would it be possible, to have a better save-option, so that I can save the whole compilation project including icon, includes and file-info?
That means: It's solved for me as well!
btw2: Would it be possible, to have a better save-option, so that I can save the whole compilation project including icon, includes and file-info?
-
- Site Admin
- Posts: 476
- Joined: Fri Feb 13, 2004 1:05 pm
-
- Posts: 3
- Joined: Mon Feb 09, 2009 7:47 pm
Scriptcryptor on 64 bit Windows 7
I am having the same issue. The program just does nothing and ends. It works fine as a vbe or when compiled with VBSEdit. And of course it works fine with script as a vbs.
HELP!!!!!
HELP!!!!!
-
- Site Admin
- Posts: 476
- Joined: Fri Feb 13, 2004 1:05 pm
-
- Posts: 22
- Joined: Thu Sep 24, 2009 5:56 pm