Windows 10 Login By Script
Create windows scripts and execute them when logging on or logging off. Windows Logon and Logoff scripts can be set in the group policy editor (gpedit.msc). In a workgroup environment when a windows logon or logoff script is set it works for all the users on that computer.
Enable the "Configure Logon Script Delay" policy and specify a delay in minutes before starting the logon scripts (sufficient to complete the initialization and load all necessary services). It is usually enough to set up here for 1-2 minutes. By default, Windows security settings do not allow running PowerShell scripts.
I am looking for the location for the windows logon script file. I need to compare two script files The issue that I am having is that one laptop is not automatically mapping network drives even though the user is in the correct active directory group.
I've got a solution now. What creates this behaviour of your logon script not wanting to map drives? If you have Windows 10, you want to use Edge, Calculator and PDF App. Microsoft says you need UAC enabled for that, otherwise it won't work.
This article describes how to assign a logon script to a profile for a local user's account in Windows Server 2003. This logon script runs when a local user logs on locally to the computer. This logon script does not run when the user logs on to the domain.