Domain Logon Script
Echo off net use m.
Domain logon script. Navigate to user configuration policies windows settings scripts logon logoff then double click logon in the right pane. This logon script does not run when the user logs on to the domain. Here s a simple logon script that maps three network shares.
Server1sharesmktg net use o. There are many things that the logon script can do such as set system environment variables. Server1sharesadmin net use n.
This logon script runs when a local user logs on locally to the computer. The most common reason for using a logon script is to map the network shares that the user needs access to. For windows nt you need to save the logon script on a primary domain controller in the directory winnt system32 repl import scripts.
In the new gpo dialog box give the gpo a descriptive name. Logon scripts can be used to assign tasks that will be performed when a user logs in to the domain.