Skip to content

Activate Process Execution At First User Logon

Configures Windows Active Setup so a script or program is executed once for each user at their first login

Required

Specify the destination path of the file that will be executed upon user login. Only supported formats are ‘.exe’, ‘.vbs’, ‘.cmd’, ‘.bat’, ‘.ps1’, ‘.js’. If the path is $Packageroot\File.cmd the file will be copied to C:\ProgramData\CapaSystems\PowerBricks\ActiveSetup\$Key\, if the path is something else then it will be executed from the specified path

Optional

Specify the arguments to be passed to the file upon execution. If no arguments are needed, leave this field empty

Optional

Description for the Active Setup. Users will see “Setting up personalized settings for: $Description” at logon

Required — Default: $AppName

The unique identifier for the Active Setup entry. If you need to remove the Active Setup entry later, you will need to use the same ID

Optional — Default: Unrestricted

Specify the execution policy for the script, if it is a PowerShell script Allowed values: Unrestricted, RemoteSigned, AllSigned, Restricted, Bypass.

Optional — Default: True

If a user is logged in the file will be executed for that user. For everyone the file will be executed the first time they login

  • Category: Installer
  • Brick ID: ActiveSetup-Create