You must be a member of the Domain Administrators security group to configure scripts on a domain controller. Right-click the Group Policy Object you want to edit, and then click Edit.
In Script Name , type the path of the script, or click Browse to search for the script file in the Netlogon shared folder on the domain controller. In Script Parameters , type any parameters that you want, exactly as you would type them on the command line.
If you assign multiple scripts, the scripts are processed in the order that you specify. To move a script up in the list, click it, and then click Up. To move a script down in the list, click it, and then click Down. Add : Opens the Add a Script dialog box, where you can specify any additional scripts to use. Edit : Opens the Edit Script dialog box, where you can change script information, such as name and parameters. This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, see Windows registry information for advanced users.
These steps apply only to new users who have never logged on to the computer. If a user already has a local user profile or a roaming profile, the script or program doesn't run.
If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. When a Windows Server based product is installed, the Default User profile is created. The first time that a user logs on, the Default User profile is copied to the user's profile.
Select Open. Privacy policy. This article describes how to assign a logon script to a profile for a local user's account in Windows Server 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.
You must be logged on as Administrator or as a member of the Administrators group to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure. In the console tree, expand Local Users and Groups , and then click Users.
In the right pane, right-click the user account that you want, and then click Properties. In the Logon script box, type the file name and the relative path, if necessary of the logon script.
0コメント