# How can I image a computer with DEX Manager Plus Agent on it? Last Updated On: 16 Apr 2026 3 minutes read This document will guide you to image a computer with the agent on it. There are few pre-requisites which are described below. ## Issue The agent has a unique ID which represents the machine with its name and system details. If more than one agent is identified with the same ID, the details listed in the product web console will be overwritten. This would end up listing details of only one computer though there are several computers with the same ID. So in order to avoid this issue, follow the steps mentioned below to image a computer with the agent on it. ## Steps 1. Install the agent in the computer which is to be used for imaging and make sure the agent is approved. 2. Download [this script](https://workdrive.zoho.in/file/e5w442ae2fc1b73784575a17858cb263c7116) and store it in the system that is supposed to be imaged. (Running this script will block the agent communicating with the product server.) 3. Rename the **.txt** file as **.vbs** file. 4. Open the command prompt as administrator and navigate to the folder where the above script is stored. 5. Execute the script using the command: **cscript.exe dcagentPreImage.vbs** (Example: `E:\Downloads>cscript.exe dcagentPreImage.vbs`) 6. Now your computer is ready to be imaged with the agent for deployment. The agent in the newly image-captured computers will contact the product server only if they are renamed. 7. Download [this script](https://www.manageengine.com/products/desktop-central/dcagentpostimage.txt) and run it as administrator on the image-captured machine after deployment if you want to manage the source computer from which the agent is imaged. (Rename the **.txt** file as **.vbs** file.) 8. This would restore the agent communication with the product server.