many people asked me how to identify LTSB versions on computers coming with Win 10 – therefore here is the way to go:
In the WMI-class Win32_OperatingSystem exists a property OperatingSystemSKU. There you will find the information which edition is installed on the computer. The value for LTSB is in hex 7d or in decimal 125.
most of you which worked in a servicedesk or with many computers will know WMI-errors. Sometimes the WMI of a computer gets corrupted and depending products like the SCCM-agent stops working properly. Herefore try to use the following script which repairs and rebuilds the WMI of the computer. But see this procedure as last line of defense – if you do not have any other options, try this one and restart twice.
Herefore just copy the whole script into a batch file and execute it as administrator.
sc config winmgmt start= disabled
net stop winmgmt /y
net stop ccmexec /y
For /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
net start winmgmt
net start ccmexec
for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
Good look on reparing the clients.
in this post i will give you some information about WMI and reporting services. Throw a look into this nice written eBook and learn also some points about SCCM:
Tools to create easily WMI-queries:
WMI Code Creator by Microsoft
WMIGen by Rob van der Woude
Have fun with it!