We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.
Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.
I am looking to display the computer description on the desktop.
Current WMI query looks like this:
WMI=active:1,interval:30,colour:FFFFFF,text:description,namespace:rootcimv2,query:Win32_computersystem,property:description
It returns "Description AT/AT COMPATIBLE
What am I doing wrong here?
Thanks in advance
that's what my win32_computersystem contains. what kind of information do you want to show?
I was hoping it would show the Computers Description that is edited through the control panel.
The AT/AT COMPATIBLE is an awful hangover from the 80's/90's IBM.
If you run the WMIC query in command prompt it will return the correct description so I was curious as to what query Desktop Info was running in the background.
If it is not possible I can use a 'COMMENT' line to just write out what I want and embed that on the base image of the PC's.
sounds like you have the wrong query. what computer description in control panel? post your wmic query.
wmic path win32_operatingsystem get description
That’s the raw WMIC.
And in control panel, under ‘System’ there is ‘Computer Description’ which is different to the hostname.
That one shows what i guess you want. in DTI v3.3.1 it would be:
WMI=text:Description,namespace:rootcimv2,query:Win32_OperatingSystem,display:%Description%
I must have an old copy then - when I added the % before and after the word it returned as <Invalid>.
I will update Monday morning and give it another go thank you.
After downloading the latest version that code worked thank you.
I was on version 1.5 which may explain why I couldn't get anywhere
