Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Uninstall KB from Windows 10 device

  • Thread starter Thread starter Nitin_ted
  • Start date Start date
  • Replies Replies 6
  • Views Views 2K

Nitin_ted

Well-Known Member
Messages
87
Solutions
1
Reaction score
2
Points
8
Hello Everyone, can anyone please share how to uninstall KB from the device silently with the restart option?

i try all the cmd or powershell from websites but none of them worked.
Also found https://www.prajwaldesai.com/uninstall-windows-updates-using-powershell/ --> i want to uninstall silently from user's device so this option i can't use.


kindly share Cmd or Powershell script to uninstall.

found another way but also got an error.
1691138033074.jpeg
 
Last edited by a moderator:
First off review the log.
Secondly not all SU can be uninstalled.
 
First off review the log.
Secondly not all SU can be uninstalled.
Hi @Garth I need to uninstall KB5028166 from all machines. Due to some issue, I need to uninstall from 1000plus machines. Can you please advise me on how to remove this? i am able to remove it manually but need to remove it from the 1000plus devices.
i run the cmd again and i got attached error from logs.
1691371699724.png
1691371834868.png
 
Hi @Garth I need to uninstall KB5028166 from all machines. Due to some issue, I need to uninstall from 1000plus machines. Can you please advise me on how to remove this? i am able to remove it manually but need to remove it from the 1000plus devices.
i run the cmd again and i got attached error from logs.
View attachment 5465
View attachment 5466
the only way is to use
Dism /online /remove-package /PackageName:xxxxx
 
Again not all SU can be uninstalled. Exactly how are you deploying the command line? app, program, script? etc.?
ok i fix the issue, package, application and TS not working. Run script can uninstall from the device.
We can close the case now.
 
Back
Top