Before you begin
You can configure your logon script to run with a group policy on Active Directory 2016, 2012, or 2008. Note that earlier versions of Active Directory have not been certified with this
product version.
Note: The following procedures are specific to Microsoft operating systems and are provided here as a courtesy. Forcepoint cannot be responsible for changes to these procedures or to
the operating systems that employ them. For more information, see the links provided.
Before beginning, make sure your environment meets the conditions described in Prerequisites for running the Windows logon script.
Steps
-
Open the Group Policy Management console.
-
Expand the Domains tree, right-click a domain or OU name, and select Create a GPO in this domain and Link it here.
-
In the New GPO dialog box, give the GPO a descriptive name, then click OK.
-
Locate the new GPO in the Domains tree (under the domain or OU that you selected above), right-click it, and select Edit.
If a pop-up message appears when you click on the GPO name, click OK.
-
In the Group Policy Management Editor, navigate to , then double-click Logon in the right pane.
-
In the Logon Properties window, click Show Files.
A folder whose name ends in User\Scripts\Logon\ is displayed.
-
Copy two files into this folder: your logon script (for example, Logon.bat) and the version of the LogonApp.exe file that you want to run (32-bit or 64-bit).
-
In the Logon Properties window, click Add.
-
Click Browse to open the logon script directory, then select your logon script file and click OK.
-
Verify that the logon script now appears in the list on the Logon Properties window, then click OK.
-
(Optional) If you are also using a logoff script, repeat steps 5 through 9. This time, double-click Logoff at Step 5 and copy your logoff batch file into the folder that
opens.
-
Close the Group Policy Management Editor window for your GPO, then close the Group Policy Management window.
Next steps
Repeat this procedure on each domain controller in your network, as needed.