Run a Silent Installation of Windows Agent
For scenarios where you want to run the Windows agent MSI package silently or unattended without any notifications or prompts, include the /qn
parameter when you run the install command in the PowerShell command line:
C:\Users\Administrator> msiexec.exe /i LWDataCollector.msi ACCESSTOKEN=Your_Access_Token SERVERURL=Your_API_Endpoint /qn
Where:
Your_Access_Token
is the character string that identifies the specific access token to use with the agent. Obtain the access token using the instructions in Obtain an Access Token for the Windows Agent.Your_API_Endpoint
is the agent server URL. The default endpoint that the agent communicates with is https://api.lacework.net and the default region is US.note
Please note that
serverurl
is optional if your Lacework tenant is deployed in the US, but mandatory for other tenants.- https://api.lacework.net - US
- https://aprodus2.agent.lacework.net - US-02 (US)
- https://api.fra.lacework.net - European Union (EU)
- https://auprodn1.agent.lacework.net - Australia and New Zealand (ANZ)
By default, the agent is automatically upgraded when a new version is available. To disable automatic upgrade, use the AUTOUPGRADE=disabled
option. For example:
C:\Users\Administrator> msiexec.exe /i LWDataCollector.msi ACCESSTOKEN=Your_Access_Token SERVERURL=Your_API_Endpoint AUTOUPGRADE=disabled /qn
note
For improved security and to benefit from new and improved features, Lacework recommends that you do not disable automatic upgrade of the agent.
A config.json file that contains the options you specified in the command line is created in the C:\ProgramData\Lacework\
directory. You can modify this file to change the settings for the agent. If you modify the file, you must restart the agent for the changes to take effect. For more information, see Restart Windows Agent.