Avatar of so_cal
so_cal
Flag for United States of America asked on

Windows Script Host failed (Access is denied.) error

I have a PC on my domain network. The user is an administrator. Brand new WIndows 10 Enterprise PC.

When the user logs in, the follow error is received:

access denied
How do I fix this?
Active DirectoryVB ScriptVisual Basic ClassicWindows Server 2008Scripting Languages

Avatar of undefined
Last Comment
Gustav Brock

8/22/2022 - Mon
Krzysztof Pytko

Could you tell a little bit more about the issue, please?

Where the script is saved and how it is executed? Is that in SYSVOL or in local computer's drive?

What this script is doing in general?

Thank you in advance for more details.

Regards,
Krzysztof
Gustav Brock

Don't logon as admin. That, by default at login, disables access to network drives. Later, an admin user can logon to the network drives.

In general, users should not logon with admin rights. I newer do, except when having to perform admin tasks where I have a dedicated admin account with admin rights.

/gustav
so_cal

ASKER
The script points to a Domain Controller. I don't know how it's executed.  I think it's in a SYSVOL.

To clarify, it is a standard user with administrative privileges.
Your help has saved me hundreds of hours of internet surfing.
fblack61
Gustav Brock

It is probably a login script called when the user logs on.
Use the group manager to verify this.

/gustav
so_cal

ASKER
What group manager? How do I verify this? Do you mean local users and groups? Will this fix the problem?
ASKER CERTIFIED SOLUTION
Gustav Brock

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.