Windows 10: Installed windows updates through Powershell was not showing in updates history

Discus and support Installed windows updates through Powershell was not showing in updates history in Windows 10 Installation and Upgrade to solve the problem; I installed Powershell windows update module then download and install pending windows updates using Powershell.All went well with no errors. Verified... Discussion in 'Windows 10 Installation and Upgrade' started by Melch Alonzo, Jul 9, 2021.

  1. Installed windows updates through Powershell was not showing in updates history


    I installed Powershell windows update module then download and install pending windows updates using Powershell.All went well with no errors. Verified windows updates was installed in Powershell using this command "Get-WUHistory".However, these newly installed updates was not showing in settings > Updates and security > Windows Update > View update history.

    :)
     
    Melch Alonzo, Jul 9, 2021
    #1

  2. [Windows 10] hide/prohibit install of specific Windows Update

    Edit: Try "Show or hide updates" troubleshooter package first and let us know if it works for you.


    Adapted from Preventing a certain Windows Update from installing on Windows 10 by Igal Tabachnik.
    • Uninstall the problematical driver/update.
    • Restart the computer, if necessary, and/or switch to an administrator account.
    • Download Windows Update PowerShell Module and extract it to: %WINDIR%\System32\WindowsPowerShell\v1.0\Modules After doing so, you will have a %WINDIR%\System32\WindowsPowerShell\v1.0\Modules\PSWindowsUpdate folder with a bunch of files.
    • Start -> All Apps -> expand Windows PowerShell -> right-click on Windows PowerShell and select Run as Administrator. This is very important or you'll get errors in Windows PowerShell.
    • Now you should see the PowerShell window and you'll have to enter a series of commands. First order of business is loading up PSWindowsUpdate. Note: You have to do this every time you restart PowerShell and want to use PSWindowsUpdate commands!
      CommandDescriptionSet-ExecutionPolicy Unrestricted -ForceAllows the use of unsigned PowerShell scripts.Import-Module PSWindowsUpdateLoads PSWindowsUpdateSet-ExecutionPolicy Restricted -ForceClose the potential security hole.
    • Enter Get-WUList. This command will take a little while to execute. It retrieves the list of all available updates on Windows Update. If you do not see the problematical update here, it is either no longer being offered or it is installed.
    • Now you need to decide how to filter what update you want to hide. Here's some examples:
      CommandDescriptionHide-WUUpdate -Title "*Realtek High Definition Audio"This looks for a title that ends with (note the asterisk) "Realtek High Definition Audio"Hide-WUUpdate -Title "Realtek*"This looks for a title that starts with (note the asterisk) "Realtek"
      When you enter the above command, it will loop through all results it finds and ask whether or not you want to hide it. Make sure you only say "yes" to the one you want hidden and "no" to the rest.
    • It will automatically show the updated results. Verify there is an "H" under the status of the ones you want hidden and not behind the rest. If it is correct, close out of PowerShell and return to your normal user account if necessary. Run Windows Update and the update should not show/install.
    If you want to unhide an update, add -HideStatus:$false to the Hide-WUUpdate command.
     
    FordGT90Concept, Jul 9, 2021
    #2
  3. Kursah Win User
    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Jul 9, 2021
    #3
  4. AsRock Win User

    Installed windows updates through Powershell was not showing in updates history

    Windows Updates failed to instal

    I'm not sure how differant XP media center Edition is but you could clear the history \ cache if these folders are there.

    Step 1 Register DLL files.

    =================

    By trying this step, we can check if the update engines are working properly.



    1. Close all instances of Internet Explorer.

    2. Click Start and Run, type "Regsvr32 atl.dll" (without quotes) in the Open box and click OK.



    Note: There is a space between regsvr32 and atl.dll



    3. Similarly, one by one, register the files listed below:



    Regsvr32 msxml3.dll

    Regsvr32 wuapi.dll

    Regsvr32 wuaueng.dll

    Regsvr32 wuaueng1.dll

    Regsvr32 wups2.dll

    Regsvr32 wucltui.dll

    Regsvr32 wups.dll

    Regsvr32 wuweb.dll

    Regsvr32 qmgr.dll

    Regsvr32 qmgrprxy.dll

    Regsvr32 jscript.dll



    Note: If you encounter errors while registering any of these files then skip that file and continue with the next one.



    If the issue persists, let's move on to the steps below to verify Windows Update services and temporary folders.



    Step 2 Verify the relevant Windows Update services.

    =========================================

    1. Click Start->Run, type "services.msc" (without quotation marks) in the open box and click OK.

    2. Double click the service "Automatic Updates".

    3. Click on the Log On tab, please ensure the option "Local System account" is selected and the option "Allow service to interact with desktop" is unchecked.

    4. Check if this service has been enabled on the listed Hardware Profile. If not, please click the Enable button to enable it.

    5. Click on the tab "General "; make sure the "Startup Type" is "Automatic" or "Manual". Then please click the button "Stop" under "Service Status" to stop the service.

    6. Then please click the button "Start" under "Service Status" to start the service.

    7. Please repeat the above steps with the other services:



    Background Intelligent Transfer Service

    Event Log

    Remote Procedure Call (RPC)



    Note: Event log service is enabled on all of the hardware profiles; this service does not have an option to enable or disable on certain hardware profile.



    If it still does not help, let's proceed to step 3.



    Step 3 Reload the Update temporary folders.

    ===================================

    One possible cause is that the temporary folder for Windows Update is containing corrupted files. Let's erase all the files there to get the system clean.



    1. Click Start, Run, type: cmd and press Enter. Please run the following command in the opened window.



    Net stop WuAuServ



    2. Click Start, Run, type: %windir% and press Enter.

    3. In the opened folder, rename the folder SoftwareDistribution to Sdold.

    4. Click Start, Run, type: cmd and press Enter. Please run the following command in the opened window.



    Net start WuAuServ



    Please test the Windows Update website and let me know the result. If the issue persists, to clarify the issue and provide more accurate troubleshooting steps, please assist me in collecting the following information.
     
    AsRock, Jul 9, 2021
    #4
Thema:

Installed windows updates through Powershell was not showing in updates history

Loading...
  1. Installed windows updates through Powershell was not showing in updates history - Similar Threads - Installed updates through

  2. 24H2 not showing in update history

    in Windows 10 Software and Apps
    24H2 not showing in update history: Hello.Today i installed 24H2.But is not appears as ''update history''.Is that normal? https://answers.microsoft.com/en-us/windows/forum/all/24h2-not-showing-in-update-history/d62175d6-8484-4147-9549-2155e3ac81c1
  3. 24H2 not showing in update history

    in Windows 10 Gaming
    24H2 not showing in update history: Hello.Today i installed 24H2.But is not appears as ''update history''.Is that normal? https://answers.microsoft.com/en-us/windows/forum/all/24h2-not-showing-in-update-history/d62175d6-8484-4147-9549-2155e3ac81c1
  4. Installed Windows Update, not shown in history?

    in Windows 10 Gaming
    Installed Windows Update, not shown in history?: Hi everyone, I have a Windows 11 PC running 21H2. In Windows Update 22H2 was available alongside Microsoft.NET Framework 4.8.1 for Windows 11 for x64 KB5011048 and 2023-10 Cumulative Update for NET Framework 3.5, 4.8 and 48.1 for Windows 11 for x64 KB5031225.I also had lots...
  5. Updating Windows 10 through Powershell

    in Windows 10 Installation and Upgrade
    Updating Windows 10 through Powershell: I was just wondering if Windows 10 can be directy updated through Powershell without navigating through Settings> Update and Security. Is there a particular command that I can directly type and enter in powershell to update windows?...
  6. December update not showing in Update History

    in Windows 10 Updates and Activation
    December update not showing in Update History: Win 10 Home v20H2, build 19042.685 I update my PC every month and I know I did it on 8th December 2020 but it is not showing in Update History. I do not remember seeing any 'Failed' or other error messages. The last update showing is KB4586781 on 11th November 2020 and, if I...
  7. Windows Update History shows both Feature Updates 1903 and 1909 installed

    in Windows 10 Installation and Upgrade
    Windows Update History shows both Feature Updates 1903 and 1909 installed: After I installed the Windows 10 Feature Update from 1903 to 1909 my Windows Update History shows Feature Updates 2 Feature Update to Windows 10, version 1909 2 Feature Update to Windows 10, version 1903 Looking in the About page it lists Version 1909 OS Build...
  8. Why does Windows 10 think it's installing updates, and then show nothing in Update History?

    in Windows 10 Installation and Upgrade
    Why does Windows 10 think it's installing updates, and then show nothing in Update History?: I just happened to restart my Windows 10 machine and it spent several minutes supposedly installing updates specifically said to include "features" during the restart. However, I checked the Update History, and it doesn't show any updates whether "Feature Updates" or...
  9. windows 10 update history never shows anything after updates are installed

    in Windows 10 Installation and Upgrade
    windows 10 update history never shows anything after updates are installed: windows 10/64 bit never shows anything after any updates are installed and go back into update to check on updates https://answers.microsoft.com/en-us/windows/forum/all/windows-10-update-history-never-shows-anything/2a07f0a5-053d-46b9-9844-e1b0ac6c21ae
  10. updates that are installed only show KB number in the update history

    in Windows 10 Installation and Upgrade
    updates that are installed only show KB number in the update history: hi Microsoft, When I went to the update catalog to download and install updates ending with the .msu, then I went to the Windows update history under settings to find out that the updates installed only show the KB numbers. Is there a way or possible to show not only the KB...