Error Updating Windows 7 Ultimate 32bit and x64

Error Updating Windows 7 Ultimate 32bit and x64

Postby rospo » 24.12.2011, 22:24

I have two Windows 7 Ultimate SP1 machines one is 32bit and the other is x64 and having a problem UpdateInstaller.exe. It is trying start the 'Automatic Updates' service which is not a Service on the machine so it ERROR's out and quits the update process . The Service that runs the update service is 'Windows Update' (wuauserv). How can I change the code to look at this Service instead of 'Automaict Updates'.
rospo
 

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby aker » 25.12.2011, 19:04

The name "Automatic Update" is from Windows XP, but the real name of this service is always "wuauserv".
Could please post a part of the Logfile "C:\Windows\wsusoffline.log" or a screenshot.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby boco » 26.12.2011, 07:10

Just a small remark: The wuauserv service must not be ''Disabled''. It has to be set to at least ''Manual''.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby aker » 26.12.2011, 12:11

@WSUSUpdateAdmin
is there a way to enable wuaserv if its state is "disabled"?
I thougt about something like that
Code: Select all
if "%AU_SVC_START_MODE%"=="Disabled" (
    sc config wuauserv start= auto
)
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby rospo » 26.12.2011, 16:00

Took the Update service from Automatic to Manual and then stopped the service. After that reran UpdateInstaller.exe with no issues. Guess you have to have the service stopped and in Manual for it to work. Is there some way you can put code in to see if the service has already started and if so skip the start the service routine?
rospo
 

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby aker » 26.12.2011, 18:45

The state "automatic" is OK.
Please run ./client/cmd/DetermineSystemsProperties.vbs with admin privileges and post the content of "%temp%\SetSystemEnvVars.cmd"
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby UranusOne » 29.12.2011, 20:40

In my view, another required service is BITS (Background Intelligent Transfer Service)

Try type the next commands in a cmd window before run UpdateInstaller.exe

On WinXP x86/x64
    Code: Select all
    sc.exe config wuauserv start= auto
    net.exe start wuauserv
    sc.exe config bits start= auto
    net.exe start bits
On WinVista/Win7 x86/x64
    Code: Select all
    sc.exe config wuauserv start= delayed-auto
    net.exe start wuauserv
    sc.exe config bits start= delayed-auto
    net.exe start bits

After update, stop or/and disable the services (wuauserv and bits).

Greetings!
UranusOne
 
Posts: 20
Joined: 12.11.2010, 10:05

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby aker » 29.12.2011, 23:10

I think for every System this code should be OK.
Code: Select all
if "%AU_SVC_START_MODE%"=="Disabled" (
  sc config wuauserv start= auto
  net start wuauserv
)


and after Update

Code: Select all
if "%AU_SVC_START_MODE%"=="Disabled" (
  net stop wuauserv
  sc config wuauserv start= disabled
)


BITS isn't required for updating with WSUSOU because it doesn't need to download the patches via BITS.
And I think it isn't important which start-value is used because it will be disabled after the update.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby WSUSUpdateAdmin » 02.01.2012, 15:03

Moin und ein gutes Neues Jahr!

aker wrote:@WSUSUpdateAdmin
is there a way to enable wuaserv if its state is "disabled"?[...]

Diese Diskussion hatten wir schon.
Ja, natürlich geht das, aber ich möchte es nicht.

Normalerweise steht der "Starttyp" von "wuauserv" auf "automatisch".
Wenn man das nicht möchte, z.B. um Ressourcen zu sparen, kann man ihn auf "manuell" setzen, dann startet WOU den Dienst selbst und beendet ihn auch wieder.
Wenn der Dienst allerdings auf "deaktiviert" steht, gehe ich davon aus, dass der Computeradministrator sich etwas dabei gedacht hat. Deswegen zieht WOU ihm diese Einstellung nicht einfach "unter dem Hintern weg", sondern antwortet mit einer Fehlermeldung.

Ebenso verhält es sich mit dem Skripting oder WMI-Abfragen: Wenn der Administrator diese, aus welchen Gründen auch immer, deaktiviert hat, funktioniert WOU nicht, und es ist ein manueller Eingriff erforderlich.
Das ist mir allemal lieber als automatische Änderungen am System.

Gruß
Torsten Wittrock
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Error Updating Windows 7 Ultimate 32bit and x64

Postby mbathen » 02.01.2012, 16:01

WSUSUpdateAdmin wrote:Das ist mir allemal lieber als automatische Änderungen am System.

Gruß
Torsten Wittrock


So sehe ich das auch.
Nichts und niemand hat an meinem System "automatisch" Einstellungen zu ändern.
Man möge mich als paranoid bezeichnen.
--
Gruß
Manfred
mbathen
 
Posts: 79
Joined: 06.08.2009, 21:11

Next

Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 86 guests