{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":28799,"path":"it-operations-management/agent-client-collector/enable-npvdi-agent.md","title":"Enable a non-persistent virtual desktop infrastructure agent","bundle":null,"doc_type":null,"release":"australia","body":"\n# Enable a non-persistent virtual desktop infrastructure agent\n\nConfigure an agent to enable it to work in a non-persistent virtual desktop infrastructure \\(NPVDI\\) environment. NPVDI agents are self-sufficient and start running checks immediately.\n\n## Before you begin\n\nEnsure that you have set preliminary configurations in your ServiceNow instance, as described in [Prepare agent deployment on a non-persistent virtual desktop infrastructure machine](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/agent-client-collector/npvdi-agent-instance-prep.md).\n\nRole required: agent\\_client\\_collector\\_user\n\n## About this task\n\nA non-persistent VDI \\(NPVDI\\) machine is deployed agent installed on its golden image. When working with an NPVDI agent, data collection begins within two minutes.\n\nNPVDI machines have their file system and storage cleaned after each use. There is no record of previous activity on an NPVDI machine; the only indicator it retains throughout its existence is its FQDN.\n\n## Procedure\n\n1.  Install the agent MSI on the NPVDI gold image host using the following parameters:\n\n    ```\n    msiexec /i agent.msi NP_VDI_GOLD_IMAGE=true `\n      INSTANCE_URL=<instance-url> `\n      INSTANCE_REST_API_USER=<basic-auth-user> `\n      INSTANCE_REST_API_PASS=<basic-auth-password> `\n      REGISTRATION_KEY=<light-registration-key> `\n      [PAC_FILE=<pac-url-or-path>] `\n      [HTTPS_PROXY=<proxy-url>]\n    ```\n\n    For details on the MSI installation parameters, see [MSI installation parameters](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/agent-client-collector/msi-installation-parameters.md).\n\n    The following occurs during installation.\n\n    1.  The installer validates the parameters.\n    2.  The agent downloads the NPVDI configurations \\(policies, checks, assets and config files\\) from the instance.\n    3.  The installer registers the agent binary as a Windows group policy \\(GPO\\) shutdown script.\n    4.  The installer marks the agent as non-persistent, making it eligible for a golden image.\n\n**Parent Topic:**[Deploying Agent Client Collector on servers](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/agent-client-collector/acc-server-deployment.md)\n\n"}}