Deploy Agent with OS Image
OS deployment is the first stage in preparing a computer for business. You can choose to image the agent and deploy the imaged OS to computers, so that agent installation is bundled with the OS deployment. This document will guide you to image a computer with Patch Manager Plus image on it. There are four stages, which are described below:
- Prepare a computer with agent to be imaged
- Disable the communication between the computer and the server
- Image the comptuer
- Run a script to rename and re-establish agent - server communication
Every agent has an unique id which represents the machine with its name and system details. When an agent communicates the server, the specific machine details are updated on the server. When you choose to image an agent and deploy the image, all the deployed images, will have the same details, instead of unique IDs. So in order to aviod this issue, follow the steps mentioned below to image a computer with Desktop Central Agent on it.
- Install Desktop Central Agent in the computer which is to be used for imaging.
- Download this script and store it in the system that is supposed to be imaged.
(running this script will block the Desktop Central Agent communicating the Desktop Central Server)
- Remane the .txt file as .vbs file
- Open the command prompt as administrator and navigate to the folder where the above script is stored.
- Execute the script as:cscript.exe dcagentPreImage.vbs
(example : E:\Downloads>cscript.exe dcagentPreImage.vbs)
- Now your computer is ready to be imaged with Desktop Central Agent, for deployment.
Desktop Central Agent in the newly imaged computers will contact the Desktop Central Server only if they are renamed.
- If you want to manage the imaged computer, download this script and run the same as administrator on the imaged computer after being used for deployment(remane the .txt file as .vbs file).
- This would restore the Desktop Central Agent communication with the Desktop Central Server.