This message was deleted.
# citrix-vad
s
This message was deleted.
r
I had this issue. I opened a ticket with Citrix. I'll grab the steps they gave us.
I put them into a PS script that BIS-F calls during execution
r
hopefully itsmore than that 🙂
r
It is, yes
r
oh good, yes please please share 🙂
m
@Matthias Schlimm 👀
r
Give me a few. On PTO today, gotta log in and whatnot. It's not nearly as exciting as you'd think it is
r
well if it works its exciting
cause i am clearly missing a step from what bits i've found and put together 🙂
m
(and I'm curious why CTX236683 was not updated if support knows how to make it work)
r
Copy code
Checking in with you to see if you have had an opportunity to try the steps I provided in preparing the image? 

From Admin CMD prompt

1-net stop ccmexec

2- Del %WINDIR%\smscfg.ini

3-powershell -command "Remove-Item -Path HKLM:\Software\Microsoft\SystemCertificates\SMS\Certificates\* -Force"

4-wmic /namespace:\\root\ccm\invagt path inventoryActionStatus where InventoryActionID="{00000000-0000-0000-0000-000000000001}" DELETE /NOINTERACTIVE

 

From Admin PowerShell

1-dsregcmd /leave

2-Rename-Item -Path "C:\ProgramData\Microsoft\Crypto\Keys" -NewName "KeysOLD"

3-New-Item -Path "C:\ProgramData\Microsoft\Crypto\Keys" -ItemType Directory

4-Get-Acl -Path "C:\ProgramData\Microsoft\Crypto\KeysOLD" | Set-Acl -Path "C:\ProgramData\Microsoft\Crypto\Keys"
This is what they said about updating the article
Like I said, I converted all those steps and included them in a PS script, which BIS-F calls. No more duplicate SMS identifiers.
r
to be clear all 8 steps the 4 in cmd, 4 in posh?
cause i am doing 4 in cmd today, and no joy, but goign to try extra steps!
r
Yeah, all 8. But I converted the CMD ones into PS commands. So, 8 steps, all in PS
r
yea we have a reseal we use (got reasons for no bisf)
so no sweat adding all 8, thanks let me give this a go
on the wmic do you get no instance available at times?
r
Honestly, I haven't checked the output of the steps in ages.
I just let it run
r
cool, thanks! i'll let you know how this goes
r
It's essentially the steps from here: Implementing SCCM in a XenDesktop MCS VDI environment – SCCMentor – Paul Winstanley But with the dsreg /leave (for if the master image has registered/joined Azure AD), and the CryptoKeys part. I never really looked into why the CryptoKeys steps were needed, but Citrix clearly knew about it, as they supplied all the steps.
r
yea thats where i got the 4, i didn't see the other 4 steps
r
Yeah, I've never seen them posted anywhere else on the web for this issue. Which is odd. We're very SCCM-heavy, so we need the VDIs to be in there correctly.
I know it's not always possible, but I think we had to delete any/all duplicates out of SCCM too. So that the HWID etc isn't retained in the DB. The SMSCFG.ini deleting should take care of that, so a new GUID is generated, but it didn't always work.
r
sadly i am waiting on confirmation of that being done
r
No worries. I'm just sitting here staring at this thread, waiting to see if it worked. I've got all day.
😜
m
@Rob Sheppard can you open up a feature request here and put all required informations together, https://github.com/EUCweb/BIS-F/issues?page=1&q=is%3Aissue+is%3Aopen
I can put it into next version 7.1912.6
r
Yeah, will do!
m
👍
bis-f 7.1912.6 will have some features for AAD as well, check out https://github.com/EUCweb/BIS-F/issues/285
r
Rob, thanks that seems to have done it
i went a 9th step and rename the CCMEXEC.exe at shutdown so during the MCS processes it can't possibly run
then on first boot rename and start the service
r
Sweet! Glad it helped
r
and now we can get some stuff to bis-f and maybe see an updated CTX article!
👍 3
r
I created this issue here: Include extra steps for ConfigMgr Client
m
Great 👍 thank you
👍 1
r
@Jonathan Pitre this is the thread in the open issue, FYI.
m
You can grab a copy of the SCCM script now from the developer branch, the last 4 steps are included now
r
@Matthias Schlimm, I'm testing the new script today. I'm seeing my VM as AzureAD joined, and it doesn't look like the dsregcmd /leave step ran, according to the logs. I also noticed there was an 's' missing. I updated the issue with my comments. Thanks!