Hey all, when I try to set the following WMI property, I get the followng error: "Value out of range". I can successfully access the value but can't set it. I am trying to change the computer description. What am I doing wrong?
Dim objEv As System.Management.ManagementObjectSearcher = New System.Management.ManagementObjectSearcher("SELECT * FROM Win32_OperatingSystem")
For Each objMgmt As System.Management.ManagementObject In objEv.Get
objMgmt("description") = value
whatever the value is ( for example "ASUS p5Q"), i get a "value out of range" exception when VS gets to the objMgmt.Put() function. And "description" isn't read-only according to MS.