Upgrade the Windows Agent
Automatic Upgrade of Windows Agent
By default, the Windows agent is automatically upgraded when a new version is available.
To disable automatic upgrade, add the following to your config.json file.
"autoupgrade": "disable"
note
For improved security and to benefit from new and improved features, Lacework recommends that you do not disable automatic upgrade of the agent.
To enable automatic upgrade again, delete the "autoupgrade": "disable"
property in the config.json file or change it to:
"autoupgrade": "enable"
note
If you modify the config.json file while the agent is running, you must restart the agent for the changes to take effect. For more information, see Restart Windows Agent.
Manual Upgrade of Windows Agent
To manually upgrade the version of the Windows agent on your host machine:
- Uninstall the agent from your host machine.
- Open Add/Remove program on your host.
- Select LWDataCollector from the list of programs.
- Click Uninstall.
- Verify that
LWDataCollector
does not appear in the list of programs.
- Open a PowerShell terminal or the Windows Command Prompt as an administrator and do the following to ensure that the agent service and driver are not running.
- Check the state of the agent service by entering the command:
C:\Users\Administrator> sc.exe query lwdatacollector
- Check the state of the agent driver by entering the command:
C:\Users\Administrator> sc.exe query lwdcs
- Check the state of the agent service by entering the command:
- Download the latest Windows agent MSI installer using the instructions at Download Windows Agent Installer
- Install the Windows agent using any of the installation methods at Install the Windows Agent.