|
Search
Tutorials and Code
Syndication
My Account
Community Forums
Webmaster Tools
Tech Jobs
|
PerformanceCounterCategory.GetCategories() Missing Some CategoriesOn Windows 2008 Server with IIS7, PerformanceCounterCategory.GetCategories() is not returning some performance counter categories, including the new ones such as W3SVC_W3WP and WAS_W3WP from w3ctrs...
Detecting Status Of Printer Using ErrorDectectedState & PrinterStateHi All, I want to know status of local printer whether it is out of paper, low toner etc before sending the document for printing. I asssume PrinterState or PrinterStatus should give...
How Do I Write To WMI Usng .NETHi, I looked all over the web for a simple .NET application that uses .NET class libraries to create a namespace, create class, add properties to it and also add intances to this class. I've seen...
Win32_DeviceChangeEvent And Prohibit Access USBI generated the code below with wmi code creator. It listens the device changings. I want to prohibit the usb access or cdrom access in my computer section. Is there any ideas about it like sddl ...???...
Detecting Whether A Given Drive Letter Represents A Floppy DriveI am using System.IO.DriveInfo.GetDrives() to get all the drives of a system. Now for each of the returned drives I want to find out if they are floppy drives or not. System.IO.DriveInfo has a...
How To Set Paper SizeHi all, could anyone suggest a way to set the paper size in default printer in vbs. I have used WMInterface to do this, but it is not setting the paper size.(below is the code) strComputer = "."...
Unable To Start Server Service On Remote Machinehi, i am trying to start Server service thru .net code on remote machine but unable to do so. here is the code.. ConnectionOptions con = new ConnectionOptions(); con.Authority...
Missing WMI ClassesHello all, I require two classes of WMI namely Win32_PerfFormattedData_InetInfo_InternetInformationServicesGlobal and Win32_PerfFormattedData_W3SVC_WebService for gettin some data. But in some...
Internal Wmi/wql Representation?Hi, I came across a time differential problem recently using WMI inside of VMPlayer which caused queries on the event log using TimeGenerated to have a two hour differential between the time a WQL...
List Wireless Network Adapters Without Packet SchedulersHi everyone, I'm working on an application that is supposed to list the active wireless network adapters _without_ including packet schedulers. This is what we have so far ... Dim searcher...
Passing An Object Into A ManagementTaskI'm trying a relatively simple task between two separate WMI-registered classes - MyOwner and MyItem. On MyOwner, I want to declare a task called "ProcessItem" that takes in an instance of MyItem...
WMI DNS Change Zone Using ChangeZoneTypeHi there, I am trying to use the changezonetype wmi command to change a DNS zone from secondary to primary. I can created a zone but everytime i call this piece of code below to change the zone...
WMI Class Not Registered (0x80040154 Error)Obtain the initial locator to WMI : hres = CoCreateInstance( CLSID_WbemLocator, 0, CLSCTX_INPROC_SERVER, IID_IWbemLocator, (LPVOID *) &pLoc); I...
Killing A Process By NameHey, Im trying to kill a process by name. I have used the msdn example code of killing a process by pid. I wrote a method to get the pid using the name of the process, and its working fine till...
WMI On Citrix Presentation Server ProblemsI have a problem on several of my PS 4.5 Enterprise servers (w2k3). The WMI appears to have corrupted. When looking at the WMI properties, Citrix/Management is no longer there, but a repeat of the...
WMI MSFC_HBAFCPInfo->GetFcpTargetMapping() Method Returns Only OneI downloaded FCTopology.doc from here: http://www.microsoft.com/whdc/device/storage/FCTopology.mspx, and then ran the GetFcpTargetMapping Method vbscript example on several hosts with multiple LUNs...
Win32_terminalservice Instance MissingHi all, I've problem with win32_terminalservice instance. I see class definition but no instance on Terminal server. I can see other TS configuration classes instances but no win32_terminalservice...
Is Disk EncryptedI have a need to determine programmatically whether or not a USB drive is encrypted. I've looked at "Capabilities" under CIM_DiskDrives and CIM_MediaAccessDevice, but neither my local hard drive (...
Connect To Remote Wmi Using Asp.net 2.0 With ImpersonationAll, I have a code developed in WMI that connects to remote machine to collect system information. At present it uses a service account to connect to the WMI on the remote machine but I want to...
WMI Access User PrivilegesHi, What privileges the user must have to read information about disk partition? Thanks
Access Denied While Connecting A Server From Windows 2003 Server UHi All, I am getting an Access Denied while connecting a server from Win2K3 server using WBEMTEST. I will brief you what is happening exactly... I have a Windows 2003 server(XYZ) which is...
How To Re-install WMI ServiceHo to re-install WMI Service which is missing on windows 2000 Server.
Can I Run A VBScript File Remotely?I'm trying to use WMI Win32_Process::Start to launch a VBS file on a remote computer. But I keep getting a ReturnValue of 8 (Unknown Error). I can launch executables like notepad.exe just fine. I've...
Enum All WMI Classes In A System,...Hi, how can i enumerate all availbale WMI Classes/Instances on a runnig System, preferable with .NET and C#? Thx in advance,... Regards Kerem -- -- ----------------------- Beste...
Mofcomp.exe Crash On Instrumented HierarchyHi all, I have a persistant crash of mofcomp.exe on the following hierarchy: [ManagementEntity] public class MyBaseClass { [ManagementKey] public string InstanceId { get; protected set...
Problem Accessing Security Event LogI am trying to execute eventquery.vbs located in c:\windows\system32. following is the systax. eventquery.vbs /S ComputerName /FO TABLE /L Security The above syntax is working fine while using...
Execute Process On Remote Machine And Capture OutputIs there a way to execute a console application on a remote computer and capture the output (what would normally be displayed in the console window) using the WMI Win32_Process class? I'm currently...
Changing IP AddressDear all, Is there any way to change the IP settting using WMI? Includng the Gateway and DNS etc. Thanks for any help. Tedmond
WMI Namespaces No Longer AvailableHi, can anyone shed any light on this please? I developed a tool to read the signal strength from a wireless card using the WMI namespace, and it also got the noise level by using "SELECT * FROM...
DDR2 Memory Type Problem In Win32_physicalmemoryI have DDR2 RAM on my windows XP SP 2 Machine, but on WMI explorer (win32_physicalMemory) i am getting Memory Type = 0(Unknown) instead of 21(ie for DDR2) ,NameSpace is CIMV2. can you please tell...
Folder Name ChangeI'm looking for a way to notify me when folder names on a network share are changed. What I need is the old name and what the new name is now. Is there a way to do this?
Implementing Method Provider With WMI.NET Provider Extension 2.0Hi all, I'm trying to create a managed class with a WMI metod that would return (either as a return value or an output parameter) an object. Here is an example: namespace test { [ManagementEntity...
WMI !!!Hi, I ma using WMI Query "Select * from AntiVirusProduct". If I do not find a specific product or it is disable, then I have to insert some lines to AntiVirusProduct table. Is it possible? If...
Win32_LogicalDisk Does Not Work For Floppy Drives.The following method works great on CD's, removable drives, regular drives. However for a floppy it always return "Not Available". Any ideas? public static void TestFloppy( char driveLetter ) {...
Access Permissions To Execute Method On Win32_NetworkAdapterConfigurationHello all, I'm trying to figure out what permissions are required on a Windows Server 2008 system that will allow me to execute the Win32_NetworkAdapterConfiguration.EnableStatic method. I have...
Network Interface/connection Status On Win2khow to determine the connection status of an interface on windows 2000? in xp, 2k3, etc... I used the class win32_networkadapter's netconnectionstatus field, but this field doesn't exists on 2k :(...
WMI Query Returns Different String Values For Windows XP And VistaIn Windows XP, the WMI query below returns string values of "1' for Letter, "5" for Legal, and "17" for Tabloid. On Vista, the query returns string values of "Letter 8 1/2 X 11 in." for Letter, "...
HOWTO WMI Event NotificationHow can i get subscribed or notified when a value in the NetworkAdapterConfiguracion namespace has been changed? For instance, i have a program that display IP configuration of network cards but...
WMI Query Not Showing Latest Changes In IIsWebServerSettingUsing WMI CIM Studio in the namespace \root\MicrosoftIISV2 and I execute Select * from IIsWebServerSetting I am not seeing changes when they occur on the website, such as a change to the application...
WMI To Get RF Noise Level From Wireless CardHi, I am trying to get the RF noise level from my wireless card using WMI. I can acheive this on my Cisco card using the Atheros5000 namespace, but I am having trouble trying to get a value from...
WMI IssuesHello There, I am working on a custom application which uses WMI to collect information from the system. We found that the systems where WMI has some issues it failed and we didn't get the output...
KB888111 WinXP Sp2,Cann't Get Information Through WMIInstall KB888111 in Winxp sp2,but cann't get audio device information through WMI WIN32 ENTITY,but after instal vs2005,i can get it... I want to know,how can i get audio device information through...
Hyper-V And WMI Control Of A VMHow do you retrieve the SCSI drive information (such as vendor, serial number etc) for pass-through disks for a VM? The Hyper-V WMI storage classes do not appear to suport these.
Errors Publishing Wmi ClassI've created a seperate assembly with a class that is intended to be published through wmi. Then I've created a windows forms app that references that assembly and attempts to publish the class....
The Problem Of Scsi MiniportCurrently, we are developing a SCSI controller card, the functions of EDMA, PIO is OK. However, when we add the WMI part to the code, it seems the code doesn't work. I referred the example of aha154X...
[C#] Error When Using ManagementObject.Get()I am using the following code to check the disk space of a server. It runs ok for several months. But it turns out the following error suddenly one day. I hope someone could give me some direction....
User Permissions For Remote Event WatcherHi all, I have a simple little Windows service that retrieves events from a remote computer through WMI and a ManagementEventWatcher. It all works just fine... as long as the user I specify in...
Unmapped Win32_LogicalDiskI have 66 logical disks on a hard drive, but only one is mapped to a drive letter. It seems that querying Win32_LogicalDisk only shows me only this one, not the other 65. Is there a way to get info...
Query Software RaidDoes anyone know where i can find the current RAID status of my drives on WMI? Im using software raid (dynamic drives) so its not related to hardware, but i want to monitor a raid rebuild with WMI...
When Using System.IO.FileStream, I Write 8 Bytes, Then Seek To The Start Of The File, Does The 8 Bytes Get Flushed On Seek And The Buffer Become A Readbuffer At That Point Instead Of Being A Write Buffer?When using System.IO.FileStream, I write 8 bytes, then seek to the start of the file, does the 8 bytes get flushed on seek and the buffer become a readbuffer at that point instead of being a write...
|
Latest Tech Bargains
Advertisement
Free Magazine Subscriptions
Today's Pictures
Today's Video
Other Resources
Latest Download
Latest Icons
|