Recommendations on installing of SCCM client on VDI master image
As per the installation is concerned, when we install the Client on VDI it generates bad mifs https://sccmentor.com/2014/04/08/dealing-with-bad-mif-files-in-a-vdi-environment/
Due to which Microsoft recommends to follow the steps to remove those bad files. Hence its mandate to run the commands :
Set of commands:
Stop the SMS Host Service - to do this run the command net stop ccmexec as an administrator
1. In Command Prompt Admin run del %WINDIR%\smscfg.ini
2. In PowerShell run Remove-Item -path HKLM:\Software\Microsoft\SystemCertificates\SMS\Certificates\* -Force
3. In PowerShell run Get-WmiObject -Namespace root\ccm\invagt -Class Inventoryactionstatus | where-Object {$_.inventoryactionid -eq "{00000000-0000-0000-0000-000000000001}"} | Remove-WmiObject
The machines where these commands will run i.e. VDA Server will delete the bad files resulting in correct updation of the machine catalog.
Note - As of CVAD 2311 VDA these steps are no longer required . The MCS generalization process will perform these steps.