Installing with Login Script Setup

Login Script Setup automates the installation of the Security Agent to unprotected clients when they log on to the network. Login Script Setup adds a program called AutoPcc.exe to the server login script.

AutoPcc.exe installs the Security Agent to unprotected clients and updates program files and components. Clients must be part of the domain to be able to use AutoPcc through the login script.

If you already have an existing login script, Login Script Setup appends a command that executes AutoPcc.exe. Otherwise, it creates a batch file called ofcscan.bat that contains the command to run AutoPcc.exe.

Login Script Setup appends the following at the end of the script:



  • <Server_name> is the computer name or IP address of the Security Server computer.

  • "ofcscan" is the shared folder name on the Security Server.

  • "autopcc" is the link to the autopcc executable file that installs the Security Agent.

Login script location on all Windows Server versions (through a net logon shared directory):

\\Windows server\system drive\windir\sysvol\domain\scripts\ofcscan.bat

  1. On the computer you used to run the server installation, open <Security Server installation folder>\PCCSRV\Admin.
  2. Double-click SetupUsr.exe.

    The Login Script Setup utility loads. The console displays a tree showing all domains on the network.

  3. Locate the server whose login script you want to modify, select it, and then click Select. Ensure that the server is a primary domain controller and that you have administrator access to the server.

    Login Script Setup prompts you for a user name and password.

  4. Type the user name and password. Click OK to continue.

    The User Selection screen appears. The Users list shows the profiles of users that log on to the server. The Selected users list shows the user profiles whose login script you want to modify.

  5. To modify the login script for a user profile, select the user profile from the Users list, and then click Add.
  6. To modify the login script of all users, click Add All.
  7. To exclude a user profile that you previously selected, select the name from the Selected users list, and click Delete.
  8. To reset your choices, click Delete All.
  9. Click Apply when all target user profiles are in the Selected users list.

    A message informs you that you have modified the server login scripts successfully.

  10. Click OK.

    Login Script Setup returns to its initial screen.

  11. To close Login Script Setup, click Exit.