2097: Unable to set the state for the Inventory Agent. To ensure correct execution, delete the WINDOWS:\INVAGENT.IME file

Source:  ZENworks Server Management; Server Inventory; Inventory Agent on Windows servers

Severity:  Critical

Possible Cause:  An error occurred in the Inventory Agent execution.

Action:  Ensure that you have Write rights to the Root_directory:\INVSCAN directory, where Root_directory is the drive where Windows is installed.

Action:  If the problem persists, execute inventory_agent_installation_directory\invagentstop.bat to stop the current instance of the Inventory Agent. Re-execute the Inventory Agent. For more information, see Immediately rescheduling the Inventory Agent by using the policy engine.