Windows 10 and logon scripts

Logon script used to work for Windows 7.  When I logon to Windows 10, and try to invoke it manually (I don't want to wait the 5 minute delay until it works normally) I get the error:   800A004c "Path not Found"

After this, I Logged/off and on 2x and I could double click and invoke it manually again..

Any ideas why this happened?
tike55Asked:
Who is Participating?
 
Dean ChafeeIT/InfoSec ManagerCommented:
In your logon script make sure to use UNC paths to any resources, not mapped drives. The error indicates this may be the issue.
0
 
tike55Author Commented:
there is no mapped drives for resources.  The logon script actually maps drives, but it failed to initialize.
0
 
Hello ThereSystem AdministratorCommented:
Make sure that the location exists and the user has access to it.

Windows 10 became more securely, so you can't access sysvol & netlogon shares via UNC paths.
To resolve this issue run gpedit.msc, go to:
Computer -> Administrative Templates -> Network -> Network Provider -> Hardened UNC Paths, enable the policy and click "Show" button.
Enter your server name (\\myservername) into "Value name" and enter the folowing text:
RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0 into the "Value" field.

Windows10 delay logon scripts for 5mins by default. You can configure it in GPO -> Computer Configuration -> Administrative Templates ->  System -> Group Policy -> Configure Login Script Delay = set it to disabled.

What's the script supposed to do?
Does it contain 'sScriptPath'? The problem might be there too.

Remember that on the user account properties the path to the netlogon folder is hardcoded, so "script.vbs" is enough to fill in.

More info about this error:
http://www.computerperformance.co.uk/Logon/code/code_800A004C.htm
Error 800A004C occurs when you execute a VBScript.  My suggestion is that you are trying to read, or write, to a file reference that does not exist.  A wild guess, there is a typo in your Path statement.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
tike55Author Commented:
will the login script still delay if it is invoked manually?
0
 
tike55Author Commented:
The Hardened path reg tweak/GPO isn't the issue.  On another Windows 10 workstation, logon scripts work fine.  Hardened paths is not configured.
0
 
Hello ThereSystem AdministratorCommented:
will the login script still delay if it is invoked manually?
No.
0
 
tike55Author Commented:
Any other ideas besides enable Hardened UNC Paths?
0
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.