Poser une questionPoser une question
 

TraitéeCore Server WSUS Updates

  • lundi 5 mai 2008 18:14lostgoose Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

     

    I know, I've read the other posts but am still unable to update my virtual server.  All I have managed to do so far is install 2008 Standard Core Server, add the admin password, rename the server, join the domain, and spend unbelieveable amounts of time trying to figure out how to get the updates.  WSUS sees the server and says there are 7 updates, but I can't make them talk to each other.

     

    I was really having fun with this sucker until I got to this point.  Please someone tell me "what to type" to get the updates.  Thank you soooooooooo much!

Réponses

Toutes les réponses

  • lundi 5 mai 2008 20:00lostgoose Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    I should have specified that I did try enabling automatic updates by running the cscript scregedit.wsf /AU 4 command, yet when I run the command to verify the current setting type it states "value not set".  If I run the systeminfo command it shows N/A for hotfixes.  Please help.

     

  • lundi 5 mai 2008 21:56lostgoose Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    Found it FINALLY!  Nothing seemed to work until I found Nathan, thank goodness for these people that have been through it and make it easy.  I'll be back though, who wants to place a bet?

     

    http://nathan.thenovaks.net/

     

    Updates are done!

     

  • lundi 5 mai 2008 22:06Tim Cerling Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée

    Wuauclt /detectnow

     

    to force a check for updates from your Windows update server.

     

    tgc

  • mardi 6 mai 2008 14:54lostgoose Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    I really should have been more specific in my initial post.  I had tried that and it didn't work, none of the things I found on the step by step's seemed to work and that's how I wound up here.  Thank you so much for your reply though, it's good to know someone is on top of things.

     

  • lundi 26 mai 2008 04:21Stephen Edgar Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    Thanks LostGoose, A handy script to keep around. Smile

     

    For those looking for the VBS Script this is the code :-

     

    ServerCoreMU.VBS

    Code Snippet

    Set updateSession = CreateObject("Microsoft.Update.Session")
    Set updateSearcher = updateSession.CreateupdateSearcher()

    WScript.Echo "Searching for updates..." & vbCRLF

    Set searchResult = _
    updateSearcher.Search("IsInstalled=0 and Type='Software'")


    WScript.Echo "List of applicable items on the machine:"

    For I = 0 To searchResult.Updates.Count-1
        Set update = searchResult.Updates.Item(I)
        WScript.Echo I + 1 & "> " & update.Title
    Next

    If searchResult.Updates.Count = 0 Then
     WScript.Echo "There are no applicable updates."
     WScript.Quit
    End If

    WScript.Echo vbCRLF & "Creating collection of updates to download:"

    Set updatesToDownload = CreateObject("Microsoft.Update.UpdateColl")

    For I = 0 to searchResult.Updates.Count-1
        Set update = searchResult.Updates.Item(I)
        WScript.Echo I + 1 & "> adding: " & update.Title
        updatesToDownload.Add(update)
    Next

    WScript.Echo vbCRLF & "Downloading updates..."

    Set downloader = updateSession.CreateUpdateDownloader()
    downloader.Updates = updatesToDownload
    downloader.Download()

    WScript.Echo  vbCRLF & "List of downloaded updates:"

    For I = 0 To searchResult.Updates.Count-1
        Set update = searchResult.Updates.Item(I)
        If update.IsDownloaded Then
           WScript.Echo I + 1 & "> " & update.Title
        End If
    Next

    Set updatesToInstall = CreateObject("Microsoft.Update.UpdateColl")

    WScript.Echo  vbCRLF & _
    "Creating collection of downloaded updates to install:"

    For I = 0 To searchResult.Updates.Count-1
        set update = searchResult.Updates.Item(I)
        If update.IsDownloaded = true Then
           WScript.Echo I + 1 & "> adding:  " & update.Title
           updatesToInstall.Add(update) 
        End If
    Next

    WScript.Echo  vbCRLF & "Would you like to install updates now? (Y/N)"
    strInput = WScript.StdIn.Readline
    WScript.Echo

    If (strInput = "N" or strInput = "n") Then
     WScript.Quit
    ElseIf (strInput = "Y" or strInput = "y") Then
     WScript.Echo "Installing updates..."
     Set installer = updateSession.CreateUpdateInstaller()
     installer.Updates = updatesToInstall
     Set installationResult = installer.Install()
     
     'Output results of install
     WScript.Echo "Installation Result: " & _
     installationResult.ResultCode
     WScript.Echo "Reboot Required: " & _
     installationResult.RebootRequired & vbCRLF
     WScript.Echo "Listing of updates installed " & _
      "and individual installation results:"
     
     For I = 0 to updatesToInstall.Count - 1
      WScript.Echo I + 1 & "> " & _
      updatesToInstall.Item(i).Title & _
      ": " & installationResult.GetUpdateResult(i).ResultCode   
     Next
    End If

     

     

    Cheers,

     

    Stephen

  • mardi 3 novembre 2009 13:37Sonny V Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    Found it FINALLY!  Nothing seemed to work until I found Nathan, thank goodness for these people that have been through it and make it easy.  I'll be back though, who wants to place a bet?

     

    http://nathan.thenovaks.net/

     

    Updates are done!

     


    So... Where in that webpage did you find your answer?