I'm working in a new environment and seeing a strange issue.
I have 1000 Non persistent VDIs created using MCS.
These NP VDIs have the SCCM Agent installed and SMSAgent Host service is running (neither is what I would recommend for NP VDIs but I'm working with what's in front of me).
What I am seeing in SCCM is that every time one of these NP VDIs reboots, a copy of that VDI is created in SCCM. So, as you can imagine, I have lots of duplicate, triplicate and quadrouple copies of the same VDI Host name appearing in SCCM.
I have seen similar issues in places I have worked in the past and the issues have been caused by incorrect "DePersonalization" of the SCCM components on the Golden Image prior to shutdown and Snapshot. I have always been able to resolve this type of issue until now...
The steps I am taking to "DePersonalize" the Golden Image is as follows - Run Citrix Optimizer which includes a script which does the following -
wmic /namespace:\\root\ccm\invagt path inventoryActionStatus where InventoryActionID="{00000000-0000-0000-0000-000000000001}" DELETE /NOINTERACTIVE
I can confirm each step has worked as expected then Shutdown and Snapshot.
I then use that Snap to update the relevant Machine Catalogs.
There is a GPO which restarts the SMSAgentHost (ccmexec) on the NP VDIs which I dont agree with but Im not sure that alone would cause my issue.
So, my question is, What am I missing in terms of "Sealing" the Golden Image machine. I really thought it was as simple as deleting the SMS Certs and ensuring the SMSCFG.ini didnt exist prior to shutdown of the GI.
Question
David Begbie1709163777
Hi Folks,
I'm working in a new environment and seeing a strange issue.
I have 1000 Non persistent VDIs created using MCS.
These NP VDIs have the SCCM Agent installed and SMSAgent Host service is running (neither is what I would recommend for NP VDIs but I'm working with what's in front of me).
What I am seeing in SCCM is that every time one of these NP VDIs reboots, a copy of that VDI is created in SCCM. So, as you can imagine, I have lots of duplicate, triplicate and quadrouple copies of the same VDI Host name appearing in SCCM.
I have seen similar issues in places I have worked in the past and the issues have been caused by incorrect "DePersonalization" of the SCCM components on the Golden Image prior to shutdown and Snapshot. I have always been able to resolve this type of issue until now...
The steps I am taking to "DePersonalize" the Golden Image is as follows - Run Citrix Optimizer which includes a script which does the following -
net stop ccmexec
del c:\windows\smscfg.ini
Remove-Item -Path HKLM:\Software\Microsoft\SystemCertificates\SMS\Certificates\* -Force
wmic /namespace:\\root\ccm\invagt path inventoryActionStatus where InventoryActionID="{00000000-0000-0000-0000-000000000001}" DELETE /NOINTERACTIVE
I can confirm each step has worked as expected then Shutdown and Snapshot.
I then use that Snap to update the relevant Machine Catalogs.
There is a GPO which restarts the SMSAgentHost (ccmexec) on the NP VDIs which I dont agree with but Im not sure that alone would cause my issue.
So, my question is, What am I missing in terms of "Sealing" the Golden Image machine. I really thought it was as simple as deleting the SMS Certs and ensuring the SMSCFG.ini didnt exist prior to shutdown of the GI.
Many Thanks in advance.
Link to comment
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now