Page 1 of 1

How is WSUSSOfline identifying the Windows Version

PostPosted: 24.09.2018, 12:02
by mellow
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

Re: How is WSUSSOfline identifying the Windows Version

PostPosted: 24.09.2018, 15:12
by Dalai
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

Re: How is WSUSSOfline identifying the Windows Version

PostPosted: 24.09.2018, 17:13
by mellow
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

Re: How is WSUSSOfline identifying the Windows Version

PostPosted: 24.09.2018, 18:58
by Dalai
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

Re: How is WSUSSOfline identifying the Windows Version

PostPosted: 26.09.2018, 22:40
by aker
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?

Re: How is WSUSSOfline identifying the Windows Version

PostPosted: 30.09.2018, 08:51
by mellow
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