Skip to main content

Restart the Windows Agent

The config.json file that contains the settings for the Windows agent is located in the C:\ProgramData\Lacework\ directory. If you modify the file while the agent is running, you must restart the agent for the changes to take effect.

To restart the agent:

  1. Open a PowerShell terminal as administrator.

  2. Stop the agent by entering the following command:

    C:\Users\Administrator> sc.exe stop lwdatacollector

  3. Restart the agent by entering the following command:

    C:\Users\Administrator> sc.exe start lwdatacollector