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?
Who is Participating?
Gustav BrockConnect With a Mentor CIOCommented:
That's a longer story and not that user (admin) friendly, but browse for Group Policy Management and login/logon script.

Often you can open the GPM directly: C:\WINDOWS\system32\gpmc.msc

The scripts themselves are buried in the SYSVOL\sysvol\policies folder in folders named with a GUID so with a bit of luck you can browse to it or them.

Krzysztof PytkoSenior Active Directory EngineerCommented:
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.

Gustav BrockCIOCommented:
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.

Never miss a deadline with

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

so_calAuthor Commented:
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.
Gustav BrockCIOCommented:
It is probably a login script called when the user logs on.
Use the group manager to verify this.

so_calAuthor Commented:
What group manager? How do I verify this? Do you mean local users and groups? Will this fix the problem?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.