Windows Server 2003
1822000 Members
3795 Online
109639 Solutions
New Discussion юеВ

Re: CScript Error: Loading your settings failed

 
irt_1
Frequent Advisor

CScript Error: Loading your settings failed

Hi All,

I have one Windows 2003 Server (SP2),one of the application under username A (belongs to Administrator group) always failed to run cscript (from WSH) command:

CScript Error: Loading your settings failed. (Access is denied. )

Event if I one type cscript without anything else the same error happened, but it is not a problem for other username (also with the Administrator group)

So what could be the problem?

Thanks,

Iwan
4 REPLIES 4
Johan Guldmyr
Honored Contributor

Re: CScript Error: Loading your settings failed

Maybe the file have special security permissions on it that makes it only work with a specific account?
Jon Finley
Honored Contributor

Re: CScript Error: Loading your settings failed

Check either the configuration settings within, or the security properties of your .WSH file.

http://msdn.microsoft.com/en-us/library/h8fe3wt9(VS.85).aspx

Jon
"Do or do not. There is no try!" - Yoda
irt_1
Frequent Advisor

Re: CScript Error: Loading your settings failed

Jon,

I run the cscript only without any mentioning any .wsh script already have the access is denied error.

The account that run it belongs to administrator group

Regards,

Iwan
Jon Finley
Honored Contributor

Re: CScript Error: Loading your settings failed

The other possibility is that your profile is corrupted. Try logging in as the local Administrator. Rename your profile, then login normally to recreate your profile.

Try running the script again.

If it still deosn't work, you can alrways undo your test by renaming your profile back.

Jon
"Do or do not. There is no try!" - Yoda