I've got a script that runs just fine under the administrator user. But when a domain user executes the script, we get this error message.
CScript Error: Loading your settings failed. (Access is denied. )
This error only happens on a Windows 2008 R2 Server. Which is a member of the domain. It works fine on the Windows 2003 Domain Controller. I did a google search, and found this site http://www.tek-tips.com/viewthread.cfm?qid=609886&page=457
It said, create the following registry key. Which I did, but it didn't help.
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Script\Settings
Anyone have an idea how to get this to work?
test.vbs :
Wscript.echo "hello"
The run command is :
cscript C:\FileTransfer\TEST\test.vbs