blaf Posted July 23, 2015 Report post Posted July 23, 2015 Hello, I am testing uninstallation of Microsoft Hotfix. It's pushed to a couple of machines successfully with SCCM 2012 as package. Now before deploying this mandatory hotfix ( KB 2531912 ) I need to test uninstall. I created task sequence with only this command: C:Windows\System32\WUSA.exe /uninstall /kb:2531912 /quiet /promptrestart On client I am getting error: Command line execution failed (80070002)Failed to run the last action: Run Command Line. Execution of task sequence failed.The system cannot find the file specified. (Error: 80070002; Source: Windows) Install Software failed to run command line, hr=0x80070002 Smts.log file at C:Windows\CCM\Logs\smts.log Any thoughts....? Thanks Blaf Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted July 23, 2015 Report post Posted July 23, 2015 your command isn't correct and is missing at least one backslash C:Windows\System32\WUSA.exe /uninstall /kb:2531912 /quiet /promptrestart try this instead cmd.exe /c "C:\Windows\System32\WUSA.exe /uninstall /kb:2531912 /quiet" Quote Share this post Link to post Share on other sites More sharing options...
blaf Posted July 24, 2015 Report post Posted July 24, 2015 Thanks Niall, I'll try this right away, hopefully it will work. Your forum makes learning curve with SCCM much easier.Definitively I missed backslash after C: drive in command line. Best regards, Blaf Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted July 24, 2015 Report post Posted July 24, 2015 i dont think the promptrestart will work however as it's running in system context, if you want a prompt for the user you'll need to use serviceui.exe from the MDT toolkit, i've blogged about how to run commands using that here Quote Share this post Link to post Share on other sites More sharing options...
blaf Posted July 28, 2015 Report post Posted July 28, 2015 Pause task sequence is excellent feature, I will use it for Task Sequence OS deployments which is failing. Even though I included commands as suggested for hotfix deploment cmd.exe /c "C:\Windows\System32\WUSA.exe /uninstall /kb:2531912 /quiet" it didn't uninstall hotfix. Task sequence was running too long , I closed it and uninstallation was not performed properly. Not sure how to proceed. Please find below smts log file snapshot. Quote Share this post Link to post Share on other sites More sharing options...
blaf Posted July 28, 2015 Report post Posted July 28, 2015 Pause task sequence is excellent feature, I will test it in the other task sequece - for OSD. Task sequence for uninstalling hotifx has failed. TS was running too long without any confirmation. Please find in the attachment smts log snapshot Any thoughts.... Quote Share this post Link to post Share on other sites More sharing options...
tb404 Posted August 12, 2016 Report post Posted August 12, 2016 Blaf...did you ever find a solution because I am having the same issue where it fails in SCCM but outside of SCCM it runs fine. Quote Share this post Link to post Share on other sites More sharing options...
YPCC Posted August 13, 2016 Report post Posted August 13, 2016 >>> C:\Windows\System32\WUSA.exe If i remember correctly, there is a WUSA.exe is the SYSWOW64 folder as well, you may need to call on this in order to uninstall the hotfix. The easiest way to test is simply try your command manually on a machine, that will confirm if your syntax is correct or not. If the hotfix is removed when you run the command manually on a machine then at least you're half way there. You then only need to worry about calling the correct WUSA Quote Share this post Link to post Share on other sites More sharing options...
tregelen Posted August 22, 2016 Report post Posted August 22, 2016 Have you ticked the 'Disable 64-bit file system redirection'? I don't know if it will help but all of the uninstall TS that we have here have that ticked (I personally haven't created any as they were all done by my predecessor) Quote Share this post Link to post Share on other sites More sharing options...
Sarfraz Aslam Posted June 16, 2020 Report post Posted June 16, 2020 There is a popup at every client when deploy this task sequence. How to hide the popup and continue uninstall completely silently? Quote Share this post Link to post Share on other sites More sharing options...