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.
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
Make that:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings"
The various registry keys with Scripting vs Script in the name are obsolete.
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?