Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CScript Error: Loading your settings failed

2,319 views
Skip to first unread message

Daniel A. Ramaley

unread,
Mar 31, 2003, 4:31:23 PM3/31/03
to
I'm trying to set up a script to be run when users log in to a Windows
2000 machine. Unfortunately, it doesn't work as a regular user. The
script runs fine as Administrator. I've dug into the problem a bit and
the script itself isn't the problem, but the script interpreter. When i
run "cscript" or "cscript /?" at the command prompt as a regular user it
gives me:

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

This is from cscript running by itself, not trying to execute a script.
I've spent some time searching Google for the answer and found lots of
suggestions which seem to revolve around modifying the registry's
Windows Scripting Host section. I tried the suggestions of MS Knowledge
Base Article 221081
(http://support.microsoft.com/default.aspx?scid=kb;en-us;221081) which
seemed to address a similar problem by adding keys
"HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Scripting Host\Settings"
with entries for BatchMode, DisplayLogo, and Timeout. I made sure the
keys were set for everyone to have read access. But alas, this has no
effect. Is there something else i need to do? Thank you in advance for
any help.

Michael Harris (MVP)

unread,
Mar 31, 2003, 8:23:05 PM3/31/03
to


Check registry permissions for the following as well:

"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Scripting Host\Settings"

--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US

Technet Script Center
http://www.microsoft.com/technet/scriptcenter/default.asp


Michael Harris (MVP)

unread,
Mar 31, 2003, 10:02:43 PM3/31/03
to

> Check registry permissions for the following as well:
>
> "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Scripting
> Host\Settings"

Make that:

"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings"

The various registry keys with Scripting vs Script in the name are obsolete.

Daniel A. Ramaley

unread,
Apr 1, 2003, 9:41:41 AM4/1/03
to
Thank you for the reply. Unfortunately, it still is not working. As a
test, i made sure all of these existed:

HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Scripting Host\Settings
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Script Host\Settings


HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Scripting Host\Settings

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings

Then i gave Everyone permissions on all of the above. First i gave
Everyone read access, but still encountered the problem. Next i tried
giving Everyone full control. But the problem persists. I still get the
error:

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

when running cscript as a regular user. Any other ideas what could be
wrong? The machine is in the active directory. Is there some setting in
AD that could be causing this?

0 new messages