TheWes Posted October 27, 2014 Report post Posted October 27, 2014 Hello All, I have a peculiar problem. I am using SCCM 2012 to create a UDI task sequence that will install Windows 7 and 8. We have a group of laptops that need the Windows Intune client as opposed to the SCCM client. Whenever I try to insert it into the task sequence, I get an error in the logs that says the two clients cannot coexist on one PC. I have tried putting in a step that will uninstall the SCCM client, but I get an error on that also. Has anyone had success doing this? Thanks! Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted October 27, 2014 Report post Posted October 27, 2014 not supported as you can imagine, however why not just deploy the image from MDT and install the intune client that way ? or as a longshot use the smstspostaction variable to run a script which uninstalls the ccm client and then installs the intune client. 1 Quote Share this post Link to post Share on other sites More sharing options...
TheWes Posted October 28, 2014 Report post Posted October 28, 2014 Thank you for your reply. The goal of the project is to only use SCCM with two task sequences, one for Win7 and one for Win8. We use the UDI to make all of our customizations. We want it to be completely standardized for all of our clients. I will try the postaction variable. Thanks! Quote Share this post Link to post Share on other sites More sharing options...
TheWes Posted November 14, 2014 Report post Posted November 14, 2014 The postaction variable worked like a charm after some fiddling with permissions. Thanks! Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted November 14, 2014 Report post Posted November 14, 2014 do explain exactly what permissions you changed just so others can learn, thanks Quote Share this post Link to post Share on other sites More sharing options...
TheWes Posted November 14, 2014 Report post Posted November 14, 2014 Sure, no problem. When trying to install Intune though a TS, you get a permission error in the event log. Apparently you have to open the command prompt as administrator before installing. I wrote a .bat file that installs Intune, then wrote a powershell script that runs the .bat file as the administrator. So, in the postaction variable line, I just run the powershell script and it takes care of the rest. It does not, however, pause the task sequence. It will run when Windows boots up. Another note, I mounted the WIM with DISM and copied all of the installation files,.bat file, and powershell script to a temp directory on the C: drive of the image. It simplified matters. Quote Share this post Link to post Share on other sites More sharing options...
TheWes Posted November 14, 2014 Report post Posted November 14, 2014 I forgot to mention that the .bat file uninstalls the SCCM client before installing Intune. Quote Share this post Link to post Share on other sites More sharing options...