CScript Error while impersonating

S

Stephen J Bement

WinXP SP1 in a domain
WSH 5.6

I have three accounts: DOMAIN\admin, DOMAIN\testuser, MYCOMP\testuser
I have a script: WScript.Echo "Test"

At the command prompt, logged in as DOMAIN\admin, I run "CScript test.vbs".
Result: "Test"

I run "runas /u:DOMAIN\testuser cmd.exe" and try the same command as
before... Result
CScript Error: Loading your settings failed. (Access is denied
)

The same thing happens when I impersonate MYCOMP\testuser

I tried this on another domain and it worked in all three scenarios.

What the heck is happening? Is there some security setting that is not
properly configured? ANY answers or even guesses are most welcome.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top