Overview:
To streamline the patching process for Template/Golden Images using the SanerNow platform, this guide outlines the necessary steps to activate the agent, apply patches, and revert the image to a template without requiring agent reactivation. This method eliminates the need to patch cloned machines individually, simplifying the overall process.
By following this document, users can execute the patching procedure efficiently without reinstalling the agent on the template machine.
Operating System
- Windows
Applicable Platforms
- On-Cloud Deployment
- On-Premises Deployment
Steps to Install and Configure SanerNow Agent in the Template Machine to Activate the Agent in Cloned Machines
1. Download the SanerNow Agent
- Access the SanerNow Console under the respective account.
- Download the SanerNow agent.
2. Transfer the Agent Zip File
- Copy the downloaded SanerNow agent zip file to the Master Image/Template machine.
3. Extract the Agent Zip File
- Extract the SanerNow agent zip file.
4. Install the SanerNow Agent
- Install the SanerNow agent on the template machine.
5. Configure Activation Token
- Open spsaneractivation.conf in Notepad from the extracted agent folder.
- Copy the complete "ActivationToken" field.
6. Create Token File
- Create a text file named TGT_Key under the SecPod SanerNow folder:
C:\Program Files (x86)\SecPod Saner\ - Paste the copied token into the file.
7. Create Batch Script
- Create a batch script with the following lines:
net stop "SecPod Saner Agent"
type "C:\Program Files (x86)\SecPod Saner\TGT_Key.txt" > "C:\Program Files (x86)\SecPod Saner\assertion.key - Save the script as Agent_Dactivation_Template.bat under:
C:\Program Files (x86)\SecPod Saner\
8. Configure Group Policy
- Edit Group Policy and navigate to:
Local Computer Policy > Computer Configuration > Scripts (Startup/Shutdown) - Select Shutdown, then click Add and browse to the location of the Agent_Dactivation_Template.bat file.
- Add the file, then click Apply and OK.
9. Shutdown and Start Cloning
- Shut down the Template machine.
- Start cloning the instance.
- The SanerNow Agent will automatically activate whenever the Template is powered on for patching.
Conclusion:
By following these steps, users can efficiently activate the SanerNow Agent in cloned machines, ensuring seamless patching without individual manual intervention.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article