Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows Script Host failed (Access is denied.) error

Posted on 2016-10-12
6
Medium Priority
?
1,341 Views
Last Modified: 2016-10-27
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?
0
Comment
Question by:so_cal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 41841438
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
0
 
LVL 51

Expert Comment

by:Gustav Brock
ID: 41841465
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
0
 

Author Comment

by:so_cal
ID: 41842812
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.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 51

Expert Comment

by:Gustav Brock
ID: 41843099
It is probably a login script called when the user logs on.
Use the group manager to verify this.

/gustav
0
 

Author Comment

by:so_cal
ID: 41843763
What group manager? How do I verify this? Do you mean local users and groups? Will this fix the problem?
0
 
LVL 51

Accepted Solution

by:
Gustav Brock earned 2000 total points
ID: 41844731
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.

/gustav
1

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
The viewer will learn how to count occurrences of each item in an array.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question