Uninstall devices from a command prompt RRS feed

  • Question

  • Hello,

    I am creating a task sequence in SCCM to deploy a windows 7 image.

    One particulare hardware platform upon completion of the image, the sound card does not seem to be working correctly.  It looks good in the device manager, and all the appropriate drivers are on the machine.

    A very easy fix is to simply remove the device from the device manager, and the next time Windows restarts (or if I just click the "scan for hardware changes") it works fine.  I have checked the manufacturer and this seems to be a common problem.

    What I am hoping to do, is to simply remove the device programatically at the end of my task sequence so that the next time windows starts all will work.

    So that is the question,  is it possible to uninstall a device from a command line, so I can throw it in my task sequence?

    Thursday, December 19, 2013 6:06 PM


  • Devcon would be a utility that should work.  You can remove devices and than have it run a rescan (or don't and just let a computer reboot handle the rescan).


    Be kind and Mark as Answer if I helped.

    • Marked as answer by kmonag Thursday, January 2, 2014 6:13 PM
    Thursday, December 19, 2013 8:55 PM