How is WSUSSOfline identifying the Windows Version

How is WSUSSOfline identifying the Windows Version

Postby mellow » 24.09.2018, 12:02

I have a Windows Server 2016 where Windows Updates is not working anymore and I do not get it solved. (It is a virtual Server in Hyper-V. Possibly since a crash oft the pysical host while virtual server was running.)
I created WSUSSOffline Package for Windows Server 2016 x64.
When I try to install it on this server I get ´ERROR: Unsupported Operating Sytem ( x64)´
When I type ver in command line, it shows ´Microsoft Windows [10.0.14393]´

I tested on another server 2016, which shows the same version when typing ´ver´ in command line.

So I assume WSUSSOffline is detecting the Windows version in another way.
Can someone tell me how WSUSSOfline is identifying the Windows Version when installing an update package?

Thank you for any answer in advance.

Kind regards
Mellow
mellow
 
Posts: 3
Joined: 24.09.2018, 08:50

Re: How is WSUSSOfline identifying the Windows Version

Postby Dalai » 24.09.2018, 15:12

Is the Windows Scripting Host enabled and working correctly? Please also run wsusoffline\client\cmd\DetermineSystemProperties.vbs and post the contents of WOUSystemProperties.txt on your desktop (created by the VBS script).

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: How is WSUSSOfline identifying the Windows Version

Postby mellow » 24.09.2018, 17:13

Hallo Dalai
when running DetermineSystemProperties.vbs I am getting teh following error:
Line: 406
Char: 1
Error: ActiveX component can´t create Object
Code: 800A01AD
Source: Microsoft VBScript runtime error

On another Server 2016 this script is running proberly. So it is a specifique probleme on this server, possibly because something is brocken.
But I cannot identify what.

Thanks for your help.
mellow
mellow
 
Posts: 3
Joined: 24.09.2018, 08:50

Re: How is WSUSSOfline identifying the Windows Version

Postby Dalai » 24.09.2018, 18:58

Apparently the Windows Scripting Host is either damaged or disabled on that system, just as I suspected. Check the following registry keys:
Code: Select all
HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings
HKEY_LOCAL_MACHINE\Software\Wow6432NodeMicrosoft\Windows Script Host\Settings
if there's a setting named Enabled set to 0. If it is, delete (or rename) it. Then run the VBS script again.

Somehow I doubt that can solve the issue, but you never know. If there isn't any value named Enabled or renaming/deleting it doesn't change anything, run these commands in an elevated (i.e. as admin) command prompt:
Code: Select all
regsvr32 wshom.ocx
regsvr32 scrrun.dll
(from https://www.winhelponline.com/articles/ ... cript.html).

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: How is WSUSSOfline identifying the Windows Version

Postby aker » 26.09.2018, 22:40

Sounds like an WMI problem.

DetermineSystemProperties.vbs line 406:
Code: Select all
For Each objQueryItem in objWMIService.ExecQuery("Select * from Win32_OperatingSystem")


Did you somehow disable WMI?
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: How is WSUSSOfline identifying the Windows Version

Postby mellow » 30.09.2018, 08:51

WMI is not working any more and I do net get it work again
I have identified a Backup of the server before this happened. I will restore this and will apply updates on aplications that were installed in teh meatime.

Thak you all for helping on this.
mellow
mellow
 
Posts: 3
Joined: 24.09.2018, 08:50


Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 44 guests