Solved

Windows Script Host failed (Access is denied.) error

Posted on 2016-10-12
6
146 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
  • 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 49

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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 49

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 49

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…

777 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