找不到脚本引擎“VBScript”对于Windows 7上的脚本C:\ myscript \ test.vbs [英] Can't find script engine "VBScript" for script C:\myscript\test.vbs on Windows 7
问题描述
在处于注销状态的Windows 7系统上运行此vbscript时,我在登录时收到以下错误。我在具有系统级访问权限的本地管理员帐户下运行脚本。
When running this vbscript on a Windows 7 system that is in a logged off state I recieve the error below during logon. I am running the script under the local admin account with system level access.
以下是步骤:
1。将本地 系统的脚本发送到远程系统。
1. Send the script from local system to a remote system.
2.在处于注销状态的远程系统上执行脚本。
2. Execute script on the remote system that is in a logged off state.
2。登录系统(作为标准用户) 并在启动期间我收到此错误:错误消息:找不到脚本引擎"VBScript"对于脚本"C:\ myscript \ test.vbs"。
2. Log on to the system (as a standard user) and during startup I recieve this error: Error Message: Can't find script engine "VBScript" for script "C:\myscript\test.vbs".
我可以在这种状态下运行.cmd或.bat文件,只是无法执行wscript或cscript。我也试图注册vbscript.dll仍然有问题。也使用了psexec.exe仍然没有运气。
I can run .cmd or .bat files in this state, just unable to execute wscript or cscript. I have also tried to register the vbscript.dll and still have issues. Also have used psexec.exe still no luck.
这曾经适用于Windows XP Service Pack 3 和早期的系统。这可能是UAC的问题吗?
This used to work on Windows XP Service Pack 3 and earlier systems. Could this be an issue with UAC?
推荐答案
您是否尝试将脚本作为wscript.exe的参数运行?
Have you tried to run your script as an argument to the wscript.exe?
这篇关于找不到脚本引擎“VBScript”对于Windows 7上的脚本C:\ myscript \ test.vbs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!