Conﬁgure FortiDeceptor to integrate with FortiGate over Webhook. 1. Conﬁgure the API key on FortiGate. In FortiGate, go to System > Administrators and select a user. Next to API Key, click. To configure Logon Script, I'll use the Group Policy Management console and edit a GPO called Logon. I'll edit my Group Policy by going to User Configuration -> Windows Settings -> Scripts -> Logon. Next, I'll select the second tab (PowerShell Scripts) and click add to add my script. . I’ve created an empty GPO called PowerShell Scripts and linked it to the MyTest organizational unit. Edit the policy and navigate in the User node to the location shown below.. Create a new GPO then go to User Configuration > Policies > Windows Settings > Scripts (Logon/Logoff) and then double-click on Logon Select your BgInfo logon script and then click on OK After that, you need to link your Group Policy to the. 7. 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). 8. In the Logon Properties window,. Namaha • 9 yr. ago. Logon As Batch is actually separate from powershell's execution policy. You can grant it quickly via ntrights. ntrights +r SeBatchLogonRight -m \\ComputerName -u. Well basically 2 GPO's. 1 for your workstations with your IWB's that calls the script above. Second GPO is a user policy to set wallpaper that is higher in your list that your other user policies, and all it contains is the wallpaper location..... or even just a single policy that calls BGInfo at user logon for that one station that shows the host name.