To configure a refresh script
-
Start Group Policy Editor.
-
Expand the UNIX Setting > Scripts node.
-
Double click Refresh Scripts.
The Refresh Script Properties dialog opens.
-
Click Add.
The New Script dialog opens.
Note: Typically, you write and test the script on the target platform.
-
Click Import.
A file browse dialog appears.
-
Select the script file and click Open.
The script you choose automatically displays in the Name field.
Note: If you do not have a script to import, add a name for the script, select it on the property page and click Edit Script. Group Policy opens a text editor to allow you to create it "on the fly".
-
In the Parameters field, enter any parameters to pass to the script on the command line.
-
Select Options:
-
Run As User: Select this check box and enter a user name to force the script to run as a specific user on the UNIX host.
-
Run once: Select this check box to prohibit the script from running more than one time on the UNIX host.
-
-
Click Add.
The new script displays in the list of configured scripts for this policy.
-
Select the script in the list.
The Script Preview pane displays the read-only contents of the script.
-
Click Edit Script to edit the contents of configured scripts.
Your text editor launches with the contents of the script so that you can edit and save the script.
-
Close the text editor and save the contents.
The Script Preview pane displays the updated script contents.