Groups | Blog | Home


Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
October 2007
November 2007
December 2007
January 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet wmi > recent posts

Re: Missing WMI classes
Posted by Jonathan Liu [MSFT] at 6/12/2008 12:01:51 PM
PLease take a look at this KB Article: http://support.microsoft.com/kb/266416 -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm -- "-DC-" <diskcra...more >>


WMI Query on Cluster_Resource does not return a full collection
Posted by BrianLea at 6/6/2008 7:24:00 AM
I'm running the standard scriptomatic vbscript query on a 3 node cluster running on Windows 2003 enterprise R2. On Error Resume Next Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 arrComputers = Array("WARPREXN03") For Each strComputer In arrComputers WScript....more >>

Missing WMI classes
Posted by -DC- at 6/2/2008 6:02:25 PM
I have a program that used the WMI root\CIMV2 namespace and Win32_PerfRawData* classes to query information from WMS running on Server 2003. Something has happened as I can no longer find any Win32_PerfRawData classes on my server at all. I'm guessing a patch changed something by either movi...more >>

Re: select * from win32_printer hangs
Posted by sporren at 5/30/2008 1:09:01 AM
Hi Allan, Thanks for your response. Yes WMI is working but not on printers. How can I determine which driver causing the problem? "Allan" wrote: > Do all other WMI functions work correctly? > > You may have a corrupt driver or something on the print server that is > casing WMI to h...more >>

Re: select * from win32_printer hangs
Posted by Allan at 5/29/2008 9:05:08 PM
Do all other WMI functions work correctly? You may have a corrupt driver or something on the print server that is casing WMI to hang when trying to access the information. Let me know, Allan "sporren" <sporren@discussions.microsoft.com> wrote in message news:62D5C013-DD46-4746-8C7B-44D...more >>

jordan shoes 30$, handbag 30$,free shipping ,help you to dropship,open the website to have a look at ,give me some comment
Posted by Lucy at 5/24/2008 6:55:21 PM
Date: Sat, 24 May 2008 18:52:26 +0800 Content-Type: / ...more >>

select * from win32_printer hangs
Posted by sporren at 5/20/2008 4:02:00 AM
Hi We have two print servers and one of them can´t enumerate printers in wbemtest. i have tested "select * from win32_printer" on both servers (locally) but it hangs on one server. I then tested wmiadap /F on the failing server but it didn´t solve the problem. Any ideas? Thanks ...more >>

WMI problems
Posted by Valcora at 5/19/2008 11:30:34 PM
Hi all, Hope this is the right place for this question. I have a 187 node cluster at the moment (all server 2003) up and running at my company and we are using WMI for monitoring via Solarwinds. the problem im having in is although all the nodes are set up the same 8 of them give me DCOM ...more >>



RE: Getting error executing the Win32Shutdown method C++
Posted by cpp_geek at 5/13/2008 9:51:00 PM
Thanks anyway... I've soved my problem..... "cpp_geek" wrote: > Hi, > Can any one tell me what did i do wrong in the following code: I'm getting > WBEM_E_INVALID_METHOD_PARAMETERS (0x8004102F) error code from ExecMethod > > Code: > //pCimv2 is succesfully connected to : \\\\\.\\root\\c...more >>

First Advice Did Not Solve the Problem --> Re: setup with crystal report
Posted by fastthinker at 5/13/2008 8:22:48 AM
Gary, I followed the advice you have given to Aleks Kleyn. Yet, on the other Win XP workstation, my application is not able to find/load some Crystal Reports Print Engine DLLs. Here are some details on my main project and setup project. Main Project: 1) built in VS.NET 2.0 (2005) 2) based...more >>

Getting error executing the Win32Shutdown method C++
Posted by cpp_geek at 5/13/2008 1:32:00 AM
Hi, Can any one tell me what did i do wrong in the following code: I'm getting WBEM_E_INVALID_METHOD_PARAMETERS (0x8004102F) error code from ExecMethod Code: //pCimv2 is succesfully connected to : \\\\\.\\root\\cimv2 BSTR clsname = SysAllocString(L"Win32_OperatingSystem"); BSTR MethodName...more >>

ERROR Watching Mapped drive
Posted by DEE at 5/8/2008 7:54:16 AM
Hi There, i have an application which watches mapped drive events using FilsSystem Watcher . the filters i am using are these : NotifyFilters.FileName | NotifyFilters.Attributes | NotifyFilters.Size | NotifyFilters.LastWrite now when there are too many file creation in the mapped drive , i...more >>

Re: setup with crystal report
Posted by GD at 5/6/2008 2:30:09 AM
In the setup project, right click on the project/solution name in Solution Explorer and select Properties. Click on the Prerequisites button. Place a checkmark against "Crystal Reports For .Net Framework 2.0" Select "Download Prerequisites from the same location as My Application" Select Ok ...more >>

Find localized name of a the LocalSystem account (NT AUTHORITY\SYSTEM)
Posted by Boaz Ben-Porat at 5/5/2008 6:55:22 PM
We need to find the localized name of the LocalSystem account. Onenglish windows it is 'NT AUTHORITY\SYSTEM', but on other OSs it is something else. (e.g. In German it is 'NT AUTHORITÄT\SYSTEM ) The SID of the LocalSystem account is S-1-5-18', so we tried using Win32_Group class/table with S...more >>

setup with crystal report
Posted by Aleks Kleyn at 5/5/2008 3:57:30 PM
i develope managed C++ application which uses crystal report engine. When I press button crystal report engine need to prepare report on hard drive in pdf format. Everything works on original PC. However uing visual studio 2005 I prepared setup for second PC. However when it is time to prepar...more >>

Re: Setting Display (Monitor, Flat Panel) Power Save Mode
Posted by Matt Brown - identify at 4/6/2008 12:05:03 AM
On Apr 6, 1:54 am, Matt Brown - identify <MatthewBr...@gmail.com> wrote: > I'd like to put my monitor into power save mode. > > The one method that I've found is executing the SetPowerState method > of the CIM_DesktopMonitor or CIM_FlatPanel classes (eg:http://msdn2.microsoft.com/en-us/library/...more >>

Setting Display (Monitor, Flat Panel) Power Save Mode
Posted by Matt Brown - identify at 4/5/2008 10:54:19 PM
I'd like to put my monitor into power save mode. The one method that I've found is executing the SetPowerState method of the CIM_DesktopMonitor or CIM_FlatPanel classes (eg: http://msdn2.microsoft.com/en-us/library/aa393502(VS.85).aspx); but it appears that this method is not implemented. M...more >>

Re: Win32_PnPEntity & HardwareID/CompatibleID
Posted by Jerry West at 3/20/2008 2:32:50 PM
Thanks, I guess I needed to read that a little closer. I kept thinking it was indicating exactly the opposite. JW "urkec" <urkec@discussions.microsoft.com> wrote in message news:66A49B33-DE30-44E9-85BF-CF50BB27A6AE@microsoft.com... > "Jerry West" wrote: > >> I'm enumerating through the ...more >>

RE: Win32_PnPEntity & HardwareID/CompatibleID
Posted by urkec at 3/20/2008 1:06:02 PM
"Jerry West" wrote: > I'm enumerating through the devices on a system using Win32_PnPEntity. Works > great except for two important properties always are missing: HardwareID & > CompatibleID > > I know these return string arrays but the problem actually is that the > property doesn't exi...more >>

Win32_PnPEntity & HardwareID/CompatibleID
Posted by Jerry West at 3/20/2008 12:30:55 PM
I'm enumerating through the devices on a system using Win32_PnPEntity. Works great except for two important properties always are missing: HardwareID & CompatibleID I know these return string arrays but the problem actually is that the property doesn't exist. At least that's the error I get...more >>

SERIAL NUMBER or a "Unique ID" to Display Devices
Posted by Bruno at 3/18/2008 5:57:51 PM
Need detect SERIAL NUMBER or a "Unique ID" to Display Devices. thx all ...more >>

Re: Determine driver INF using WMI
Posted by Gerry Hickman at 3/17/2008 3:11:16 PM
Hi, It depends... In general you should not have any unsigned drivers on any system. If you do, the question is WHY? Anyway, give it a try and compare it against your other class. Jerry West wrote: > Win32_PNPSignedDriver : Wouldn't that almost certainly exclude many > drivers?, i.e...more >>

Re: Determine driver INF using WMI
Posted by Jerry West at 3/16/2008 6:34:02 PM
Win32_PNPSignedDriver : Wouldn't that almost certainly exclude many drivers?, i.e. any drivers that are not signed? I need to enumerate all of the drivers on the system. JW "Gerry Hickman" <gerry666uk@newsgroup.nospam> wrote in message news:ukN7eF5hIHA.200@TK2MSFTNGP02.phx.gbl... > Hi...more >>

Re: Determine driver INF using WMI
Posted by Gerry Hickman at 3/16/2008 6:13:00 PM
Hi, Have you tried Win32_PnPSignedDriver instead? Jerry West wrote: > Is it possible to determine what INF files are associated with each driver. > I can enumerate the devices on the system using Win32_PnPEntity but it > doesn't have a property for the INF file used. It does reference the d...more >>

Determine driver INF using WMI
Posted by Jerry West at 3/15/2008 7:35:20 PM
Is it possible to determine what INF files are associated with each driver. I can enumerate the devices on the system using Win32_PnPEntity but it doesn't have a property for the INF file used. It does reference the driver key in the registry where its located which I could use to fetch this data...more >>

google adsense website for sale
Posted by Vengat at 3/9/2008 4:58:18 AM
<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> <P>Dear friends,</P> <P>Earn from google adsense. A complete ready made google adsense website package for sale @ Rs. 1000 only. </P> <P><STRONG><FONT face=Verdana color=#400040 s...more >>

WMI ,memory leak
Posted by tangshishan_1105@hotmail.com at 3/5/2008 1:16:17 AM
Hi Everyone. I have a issue. I get remote server's information with WMI. when I set proxy blanket, leaking memory . waiting for your advice....more >>

Re: Win32_PerfFormattedData
Posted by tangshishan_1105@hotmail.com at 3/5/2008 1:08:51 AM
On 1=D4=C226=C8=D5, =C9=CF=CE=E76=CA=B109=B7=D6, "dan artuso" <dart...@NOSPA= Mpagepearls.com> wrote: > Hi All, > Why do some of the properties of the > Win32_perfFormattedData_PerfDisk_PhysicalDisk class, > such as the DiskWritesPerSec, always return 0, no matter how often I query= ? > > I ...more >>

provider load failure when attempting to retrieve mac address
Posted by Carl at 2/27/2008 2:51:22 PM
I'm using the wmi class Win32_NetworkAdapterConfiguration and trying to retrieve the mac address with it. However when ever I try to retrieve anything using that, I get the error Provider Load Failure. I tried the same thing with Win32_Processor and get the same error. How can I fix this?...more >>

WMI __MethodInvocationEvent tracking
Posted by babai at 2/19/2008 11:49:44 PM
Hi, I have exposed one of my WCF service through WMI event provider. Now programmatically I want to watch for the '__MethodInvocationEvent' for that service when any of the methods are getting invoked. I have tried with '__InstanceOperationEvent' for any particular service to track the service i...more >>


DevelopmentNow Blog