Solved

Windows Script Host failed (Access is denied.) error

Posted on 2016-10-12
6
914 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Let's recap what we learned from yesterday's Skyport Systems webinar.
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

635 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