Restore Hidden Updates on Remote Computers?


  1. POE
    Posts : 8
    Windows 7
       #1

    Restore Hidden Updates on Remote Computers?


    In my environment we have about 100 computers that have the IE 9 windows update hidden (along with a few other updates). We do not have a SUS server to manage the updates on all of our remote computers. What would be the easiest way to restore these hidden updates on our employees' computers?

    Is there a registry entry for all the updates? Could I just create a reg file that delete's or modifies the 'hidden' attribute and have users apply the reg file to their computer? That way automatic updates would do my job for me.

    Any ideas or tips would be appreciated.

    I'll continue googling for a solution in the mean time.
      My Computer


  2. Posts : 968
    Windows 7 Ultimate x64
       #2

    Hi POE, I would think the easiest way is to have the user's of each computer open windows update and click on the hidden updates link and just restore it. It would be that simple.
      My Computer


  3. Posts : 908
    Vista Home Premium x86 SP2
       #3

    Hello!

    Scraping very badly off here: Mark A. Ziesemer: Scripted hiding of Windows Updates under Vista

    I would guess at:

    Code:
    var updateSession = WScript.CreateObject("Microsoft.Update.Session"); 
    var updateSearcher = updateSession.CreateUpdateSearcher(); 
    updateSearcher.Online = false;  
     
    var searchResult = updateSearcher.Search("IsHidden!=0");
    for(var i=0; i<searchResult.Updates.Count; i++)
    {   
        var update = searchResult.Updates.Item(i);   
        WScript.echo("Unhiding update: " + update.Title);  
        update.IsHidden = false;
    }
    Richard
    Last edited by niemiro; 16 Sep 2011 at 02:07. Reason: Corrected slight slip-up in script...
      My Computer


  4. POE
    Posts : 8
    Windows 7
    Thread Starter
       #4

    Seth, as far as my boss is concerned, that is too much for our users to do. I told him I'd be willing to write up and send out the email myself. It would take all of 5 minutes! But our users are a bunch of Pharmacy Technicians and old corporate nuts. I've had to help these people with simple password changes more than you could imagine. Every week I get a call from these people that makes me second guess how stupid people with degrees can actually be.

    Richard, thanks for digging that up. But I'm not much of a programmer at all. If it's not something that can be attached to an email and double clicked or rolled out automatically through our Active Directory environment, it won't be acceptable to Mr. Boss Man.

    We do have a centralized Anti-Virus server that has application control. I was considering blocking all IE versions except for 9 and waiting for everyone to call me when they can't get to facebook.
      My Computer


  5. Posts : 908
    Vista Home Premium x86 SP2
       #5

    POE said:
    Seth, as far as my boss is concerned, that is too much for our users to do. I told him I'd be willing to write up and send out the email myself. It would take all of 5 minutes! But our users are a bunch of Pharmacy Technicians and old corporate nuts. I've had to help these people with simple password changes more than you could imagine. Every week I get a call from these people that makes me second guess how stupid people with degrees can actually be.

    Richard, thanks for digging that up. But I'm not much of a programmer at all. If it's not something that can be attached to an email and double clicked or rolled out automatically through our Active Directory environment, it won't be acceptable to Mr. Boss Man.

    We do have a centralized Anti-Virus server that has application control. I was considering blocking all IE versions except for 9 and waiting for everyone to call me when they can't get to facebook.
    Hello!

    You should be able to push the above script out via Active Directory.

    Use this as your .vbs script:

    Code:
    var updateSession = WScript.CreateObject("Microsoft.Update.Session"); 
    var updateSearcher = updateSession.CreateUpdateSearcher(); 
    updateSearcher.Online = false;  
     
    var searchResult = updateSearcher.Search("IsHidden!=0");
    for(var i=0; i<searchResult.Updates.Count; i++)
    {   
        var update = searchResult.Updates.Item(i);    
        update.IsHidden = false;
    }
    and use Active Directory to push it out to users. Please note that this will un-hide all updates. Is this OK? Otherwise please get me the KB's of the updates you wish to unhide, and I shall see what I can do.

    Richard
      My Computer


  6. POE
    Posts : 8
    Windows 7
    Thread Starter
       #6

    Thanks Richard. I'll run this by my developers.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

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