Why I hate windows
by BenV on Jun.14, 2012, under Software
Today at work our windows 2008 server is trying to be funny.
First it had updates so it required a reboot. After that reboot it didn’t come back, so my not so computer literate colleague rebooted the windows machine, but unfortunately he also rebooted the (linux) fileserver.
Oh well.
Now for some reason WSUS doesn’t work anymore.
When trying to start the WSUS management console it simply crashes with no explanation whatsoever:
So, I figured, let’s check the logs. Ahaha. So, after browsing through the eventviewer for about half an hour and reading tons of fascinating (but useless) descriptions of successful security things, application notices and other garbage I finally ran into the corresponding event.
Here goes:
De WSUS-beheerconsole heeft een onverwachte fout aangetroffen. Deze fout kan van tijdelijke aard zijn; probeer de fout te verhelpen door de beheerconsole opnieuw te starten. If Als het probleem blijft bestaan:
Probeer de ingestelde voorkeuren voor console te verwijderen door het bestand wsus onder %appdata%\Microsoft\MMC\ te verwijderen.
Microsoft.UpdateServices.Administration.WsusInvalidServerException — Er is een uitzondering opgetreden van het type Microsoft.UpdateServices.Administration.WsusInvalidServerException.
Source
Microsoft.UpdateServices.AdministrationStack Trace:
bij Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
bij Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()
Suggestions 1 (restarting the console) and 2 (removing some file) obviously didn’t do shit.
Yeah, they reproduced the image above 😉
Suggestion 3 … oh wait, there is no suggestion 3. Fsck.
Just for the heck of it I clicked “Help Online”. What follows is a dailyWTF if you ask me, here’s the screenshot (click it to be able to read the details):
Apparently when you click ‘Online Help’ they write a Visual Basic Script file to start a shell which launches a url FROM A FILE … and it fails (color me surprised).
Wonder who came up with this shit.
Oh yeah, the error message the script comes with basically says “Unspecified error”, or literally “Not further described error”.
Anyhow, I still have the WSUS issue. After trying to figure out how the heck IIS is supposed to function with WSUS (I thought the logs might give some insight, silly me) I gave up on that and decided to go with the solid “If it doesn’t work, just reinstall!” approach that normally fixes about every windows problem.
Here goes the uninstaller:
For those who don’t speak dutch, it says “Setup is not complete. Microsoft WSUS SP2 has not been removed because an error has occurred. Click Finish if you want to close the wizard.”
Mind you, this problem didn’t exist last week. WSUS worked fine, computers received updates, everything was fine. My guess is that this morning’s updates included some .NET update that broke it.
However, due to the lack of useful error messages this is impossible to debug for now.
Thanks Micro~2, another swell piece of garbage you have there.