Uninstall KB 974571 using SCCM TS


I faced this issue few days back with a XP machine where this KB was installed...
I was trying refresh scenario on that XP machine but was unable to run the SCCM Refresh TS(it was throwing error on request user state step).
Later i found that this problem was due to the installation of KB 974571 on the machine so,i added a step in SCCM TS to uninstall the KB.

Command :-

%windir%\$NtUninstallKB974571$\spuninst\spuninst.exe /quiet /norestart

After the execution of this command KB will be removed from the machine.




KB uninstallation process in SCCM -

To uninstall a specific Microsoft Knowledge Base (KB) update using Microsoft System Center Configuration Manager (SCCM), you can create an uninstall deployment package and use a custom script or built-in SCCM features to execute the uninstallation on target devices. Here's a general outline of the process:

1. Identify the KB update: Obtain the KB number of the update you want to uninstall. For example, KB974571.

2. Create an uninstall deployment package: In SCCM, create a new deployment package for the KB uninstallation. This package will contain the necessary files and scripts to uninstall the update on target devices.

3. Create an uninstall script: You need to create a script that executes the uninstallation of the KB update. The script could be a batch script (.bat), PowerShell script (.ps1), or any other scripting language that supports the uninstallation process. Ensure that the script can identify and remove the specific KB update.

4. Distribute the package: Once the package and script are created, distribute them to the Distribution Points in SCCM so that the content is available to target devices.

5. Create a program and deployment: In SCCM, create a program with the command line that runs the uninstall script you created in step 3. Then, create a deployment for the program and target it to the appropriate collection of devices where you want the KB update to be uninstalled.

6. Deploy the uninstall package: Deploy the uninstall package to the target devices. SCCM will execute the script on each device, triggering the uninstallation of the specified KB update.

7. Monitor the deployment: Monitor the SCCM console to track the progress of the deployment and verify that the KB update is successfully uninstalled on the target devices.

Keep in mind that the exact steps and commands may vary based on your specific environment, the scripting language used, and the KB update you want to uninstall. Additionally, it's essential to thoroughly test the uninstallation process in a test environment before deploying it to production devices to avoid any unexpected issues.

No comments:

Post a Comment