Hide or Show Windows Updates in Windows 10  

Page 20 of 20 FirstFirst ... 10181920

  1. Posts : 621
    Windows 10 Home - Version 1803 - Build 17134.407
       12 Oct 2018 #190

    tomseys said: View Post
    Is there a way to not have that cmd box pop up when it runs the update?
    Ok I found what appears to be an easy way for windows defender to update silently/ in background with no cmd popup when it updates definitions.

    I just set the task to "run whether user is logged in or not" (I'm always logged in) instead of run only when user is logged in. I also set it to not store password so I don't have to enter it to confirm it otherwise you have to enter password I believe if you make any changes to the task which is not a big deal in any case.

    Now when it runs the update, it does it without any cmd window popup or anything as if it is doing it in the background. If I check in windows defender I see that it has been updated at the correct time (and the hide/show update is gone). Perfect. Now I don't have to worry about Windows defender definition updates with a metered connection.

    I assume this is safe to do. I read about it on a forum and seems it is...
    Last edited by tomseys; 12 Oct 2018 at 11:47.
      My ComputerSystem Spec

  2.    12 Oct 2018 #191

    tomseys said: View Post
    Ok I found what appears to be an easy way for windows defender to update silently/ in background with no cmd popup when it updates definitions.

    I just set the task to "run whether user is logged in or not" (I'm always logged in). I also set it to not store password so I don't have to enter it to confirm it otherwise you have to enter password I believe if you make any changes to the task which is not a big deal in any case.

    Now when it runs the update, it does it without any cmd window popup or anything as if it is doing it in the background. If I check in windows defender I see that it has been updated at the correct time (and the hide/show update is gone). Perfect. Now I don't have to worry about Windows defender with a metered connection. I've added one more time/trigger for a total of three checks for definitions per day.

    I assume this is safe to do. I read about it on a forum and seems it is...
      My ComputerSystem Spec


  3. Posts : 621
    Windows 10 Home - Version 1803 - Build 17134.407
       12 Oct 2018 #192

    ddelo said: View Post
    Thanks again ddelo.
      My ComputerSystem Spec

  4.    3 Weeks Ago #193

    Brink said: View Post
    Please let us know how it went if you do it.
    Hi Shawn

    I seem to owe you an answer!
    The time (and the occasion) came to test if the script works, to remove a stuck update, which I had hidden.

    As you may already know, Microsoft updated KB4023057 to include v.1803 and they are pushing to through WU.
    Since I have decided to defer FU for 30 days (after all that mess with 1809) I checked for updates using PSWindowsUpdate in PowerShell and when I saw it I hid it. Unfortunately I was a little late and WU had already offered it. So I ended up with a hidden update, and a WU stuck with it waiting to be installed, as seen below:

    Click image for larger version. 

Name:	BeforeReset.png 
Views:	9 
Size:	73.4 KB 
ID:	212566

    So I took your advice and run the script to Reset Windows Update.

    And ta da! It worked as expected. I got rid of the hidden update from Windows Update and everything is back to normal, with the exception of the flaw we had already discussed: No Update History anymore. It’s wiped out!

    Click image for larger version. 

Name:	AfterReset2.png 
Views:	8 
Size:	70.9 KB 
ID:	212571

    But….that’s life. You win some, you lose some…it’s always a trade-off!

    Please find following, my observations from running the script:

    Didn’t have %SYSTEMROOT%\winsxs\pending.xml.bak
    Didn’t have %SYSTEMROOT%\SoftwareDistribution.bak
    Didn’t have HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
    Didn’t have HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate
    Didn’t have HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate

    The GPO I had set for Automatic Updates was not deleted, as we were expecting. (Quite strange)….but I saved the step to redo it.

    Following completion of the script, I couldn’t run %windir%\system32\services.msc, as I was getting a red UAC Error that the Administrator had revoked my privileges to run the app. After rebooting, everything was back to normal.
    Maybe you should add an automatic restart at the end of the script (it won’t hurt anybody), to avoid such things.

    The “sc config bits start= auto”, didn’t seem to work, as BITS after reboot was set to Manual and I had to set it to Automatic (Delayed Start).


    Once more, thanks a lot for your suggestion and your excellent script.

    Take care mate!


    UPDATE: One last important observation. Following the reset, all hidden updates, were unhidden and I had to hide them again!
    Last edited by ddelo; 3 Weeks Ago at 19:20.
      My ComputerSystem Spec

  5. Brink's Avatar
    Posts : 34,492
    64-bit Windows 10 Pro build 18290
    Thread Starter
       3 Weeks Ago #194

    You're most welcome Dimitri. That's great news.

    I wouldn't want to add an auto restart computer into the script since there could be some people that wouldn't be aware of that and could lose something open from the restart.

    It would be better for them to restart on their own.
      My ComputersSystem Spec

  6.    3 Weeks Ago #195

    Your script...your call
      My ComputerSystem Spec


 
Page 20 of 20 FirstFirst ... 10181920

Tutorial Categories

Hide or Show Windows Updates in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
How to Add or Remove Libraries in Navigation Pane of File Explorer in Windows 10 Libraries gather added folders that are stored in different locations so you can browse them in one place. This tutorial will show you how to hide or show...
How to Hide or Show All Icons on Your Desktop in Windows 10 The desktop is the main screen area that you see after you turn on your PC and sign in to Windows. Like the top of an actual desk, it serves as a surface for your work. When you open...
How to Hide or Show Notification Area Icons on Taskbar in Windows 10 The notification area is located at the right end of the taskbar, and it contains app icons that provide status and notifications about things like incoming email, updates,...
Found this link from an user on another forum. Some may find it useful. https://support.microsoft.com/en-us/kb/3073930
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:43.
Find Us