Senin, 23 Januari 2017

List History WIndows Update dengan Menggunakan Command Prompt





Here i will share how to list windows update history with command prompt.
first you must open command prompt, to list your computer list of history windows update you can try this command:

wmic qfe list

and you will see list of your pc windows update history,

C:\Windows\system32>wmic qfe list
Caption                                        CSName         Description      FixComments  HotFixID   InstallDate  InstalledBy                  InstalledOn
http://support.microsoft.com/?kbid=2479943     JAMALLUDIN-PC  Security Update               KB2479943               NT AUTHORITY\SYSTEM          9/29/2015
http://support.microsoft.com/?kbid=2509553     JAMALLUDIN-PC  Security Update               KB2509553               NT AUTHORITY\SYSTEM          9/29/2015
http://support.microsoft.com/?kbid=2510531     JAMALLUDIN-PC  Security Update               KB2510531               NT AUTHORITY\SYSTEM          9/29/2015
http://support.microsoft.com/?kbid=2511455     JAMALLUDIN-PC  Security Update               KB2511455               NT AUTHORITY\SYSTEM          9/29/2015
http://support.microsoft.com/?kbid=2532531     JAMALLUDIN-PC  Security Update               KB2532531               NT AUTHORITY\SYSTEM          10/6/2015

or if you want check specific KB on your list just simple command here
ex :

C:\Windows\system32>wmic qfe | grep KB2978742
http://support.microsoft.com/?kbid=2978742     JAMALLUDIN-PC  Security Update               KB2978742               NT AUTHORITY\SYSTEM          9/29/2015

or how if i want to save list of pc windows update history ?
try this command :

E:\Jamalludin>wmic qfe list > Windows_Update_History.txt



Now we want to delete one of security update via command prompt, can we do it ?
of course you can, just use this simple command :

ex:
===================================================
@echo off
wusa /uninstall /kb:2744842 /quiet /norestart
END
===================================================
/no restart : Meaning no restart after uninstalling update

===================================================
@echo off
wusa /uninstall /kb:2744842 /quiet /forcestart
END
===================================================
/forcerestart : Meaning force restart after uninstalling update


There is a little knowledge that i know.



~~Thanks~~






0 komentar:

Posting Komentar