Solved

Windows Script Host failed (Access is denied.) error

Posted on 2016-10-12
6
340 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 50

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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 50

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 50

Accepted Solution

by:
Gustav Brock earned 500 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

730 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