Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
1answer
87 views

Pinging the hostname of the server I'm on does not reach out to DNS, responds with 'lowest' numerical IP

For example: Server: server1.contoso.com IPs present on server: Initially configured statically with 10.10.20.100, it had two additional IPs added to the same NIC, 10.10.20.20 and 10.10.20.102. A ...
0
votes
1answer
601 views

Use SCOM 2012, WMI, or Powershell to identify all servers that have hyper threading turned off

We recently setup SCOM 2012 and deployed agents to all of our servers. We also have noticed that a number of these servers do not have hyper threading enabled, which they should. Is there any way we ...
0
votes
1answer
304 views

Show processes running on remote computer using WMI

I'm using WMI in order to run commands on a remote machine. For now, and I know it's as it should be, the process which is being run is not shown on the screen of the remote, I can only see it running ...
0
votes
2answers
2k views

Issue when connecting to Hyper-V Server 2012 throw Hyper-V manager(Windows7) and Powershell

I know there is many topic, but i cannot find solution that works. There is issue when connecting to hyper-v server throw hyper-v manager and also powershell. Can not connect to RPC service. ...
0
votes
2answers
1k views

Get User Rights Assignment values in Local Computer Setting using VBScript and WMI

I'd like to get all the values of User Rights Assignment in Local Computer Setting using VBScript and WMI. Is there a way I can do this with VBScript and WMI? Thanks.
11
votes
3answers
951 views

Installing Windows Management Framework 3.0 basically destroyed WMI, how can I fix it without reinstalling the O.S.?

Related, of course, to this question. Before discovering it was somewhat... dangerous, I installed Windows Management Framework 3.0 on a number of Windows Server 2008 R2 SP1 servers, and WMI got ...
30
votes
6answers
2k views

Should I install Windows Management Framework 3.0?

I'm posting this as a BIG CAVEAT to everyone. I know it's not a standard Q&A, but I think this is something every Windows admin should know. There is a very real risk of falling into Big ...
0
votes
1answer
157 views

Determine wifi capabilities of Windows box (with WSUS install rules)

I need to determine if a computer is in fact a laptop with wifi capabilities (with emphasis on wifi rather than laptop). More precisely, I want to distribute a piece of software I wrote via WSUS and ...
0
votes
1answer
209 views

ASP.NET Applications WMI class not found

I'm trying to instrument ASP.NET cache behavior on a web cluster by accessing the counters in the WMI class, Win32_PerfFormattedData_ASPNET_ASPNETApplications. 2 of my servers have this class, but 1 ...
4
votes
1answer
108 views

Is it easy or even possible yet to manage windows firewall with powershell?

I'm doing some POC testing on a server 2012 environment, and during initial firewall configuration I find myself going to the GUI repeatedly when I'd really much rather be able to write a script. I've ...
0
votes
1answer
406 views

GPO WMI username filter not working over RDP

I'm trying to write a WMI filter to prevent a GPO from applying to certain users SELECT * from Win32_ComputerSystem WHERE NOT UserName LIKE 'domain\\user1_%' AND NOT UserName LIKE 'domain\\user2_%' ...
0
votes
1answer
4k views

How to get cluster information remotely via Powershell?

I've been trying to find a good way to gather various pieces of a windows cluster setup remotely, preferably via WMI, as we are not yet at a point where Powershell remoting is implemented (and I know ...
0
votes
1answer
930 views

Remote Administer Local Groups with PowerShell and WMI

How do I administer local groups on a remote server with PowerShell and WMI? For example, I would like to add and remove domain AD groups from the "Remote Desktop Users" group. This article provides ...
1
vote
1answer
717 views

Obtain device driver version and associated GUID using PowerShell?

Right now, I am getting two separate objects A Win32_NetworkAdapter WMI object A Win32_PnpSignedDriver WMI object In my previous scripts, I've made sure I was calling separate objects, and ...
0
votes
1answer
4k views

'The RPC server is unavailable' when converting a physical ISA/Forefront TMG machine to virtual (P2V) in SCVMM

When I try to convert a physical ISA/TMG machine to virtual using SCVMM, i keep getting an error in the Collect machine configuration step ('Scan Now' button): VMM is unable to complete the ...
2
votes
2answers
2k views

How Can I Monitor an IIS 7.5 Application Pool with WMI?

I currently have an application in a load balanced IIS cluster (NLB) on Server 2008 R2. This application leverages some legacy database access code which occasionally fails enough to disable the app ...
1
vote
2answers
2k views

Get detailed network adapter information using PowerShell

Is there an alternative to Get-NetAdapterRss that can be used on Windows Server 08/03/etc.? I'm looking to query NIC information from servers with a powershell script, but cannot seem to find how to ...
1
vote
1answer
232 views

WMI Access Denied using Windows 2008 connecting to Windows 2003

I'm trying to connect from a Windows 2008 server to Windows 2003 using WMI, however, each time I get access denied. There is no firewall between the servers, no hardware or software. The account is a ...
1
vote
1answer
1k views

Cannot WMI Query root\MSCluster namespace as Local Admin

I'm trying to use WMI Explorer to query the root\MSCluster namespace on various hosts to obtain cluster resource group and resource object data. I can access the namespace with no issue on Win2K3 ...
2
votes
1answer
342 views

Windows ADSI , WMI and Registry. How Do They All Relate With Each Other?

I have a work task which involves setting up Windows XP machines. I'm not a Windows user normally which is why I ask this question. The tasks involved in setting up one of these machines involve ...
1
vote
0answers
6k views

List ALL Printers using Powershell

I'm having issues listing all the printers on a computer using Powershell. We have a batch script that will add/remove/list "per computer" printers using PrintUI. I can use PrintUI to list the ...
0
votes
1answer
278 views

Is there a perfmon replacement? [closed]

I need faster stats polling and more granular display than once a second... Is there a way to configure perfmon to poll/display on faster intervals? Or is there an alternative that can query the same ...
4
votes
1answer
6k views

How to apply an Group Policy only to Clients in a specific IP range? (using WMI Filter)

I need to apply a GPO only to some computers in a specific network range. I'm aware that there many other solutions for this issue. I could group them into an OU or use Sites. But the current ...
5
votes
1answer
5k views

WMI Rights required to read root\MicrosoftIISv2 in IIS7 with IIS6 compatibility mode

I need to manage my IIS7 (Windows Server 2008) remotely with a WMI IIS6 API. So I added the IIS6 WMI Compatibility and IIS6 Metabase Compatibility roles to access the root\MicrosoftIIsv2 namespace. I ...
2
votes
0answers
842 views

How to Make a WMI call fail?

I'm a developer but I have a question that seems belongs more in the ServerFault category than StackOverflow. We have a production service that every so often tends to throw: ...
0
votes
1answer
760 views

WMIC command to find update

Is there a way to find if multiple MS updates are installed using WMIC command: wmic qfe | find ? Thanks
7
votes
4answers
8k views

Network Logon Issues with Group Policy and Network

I am gravely in need of your help and assistance. We have a problem with our logon and startup to our Windows 7 Enterprise system. We have more than 3000 Windows Desktops situated in roughly 20+ ...
1
vote
1answer
346 views

excecute batch command over MSI Package

I have a huge network of PCs that are all in a same domain (active directory). I want to enable WMI service and relative port, then set the domain's administrator credentials to WMI credentials over ...
4
votes
1answer
2k views

How to get physical partition name from iSCSI details on Windows?

I've got a piece of software that needs the name of a partition in \Device\Harddisk2\Partition1 style, as shown e.g. in WinObj. I want to get this partition name from details of the iSCSI connection ...
0
votes
1answer
1k views

Configuring ZenOSS to monitor CPU load

I'm trying test out monitoring tools for a network at work with a coworker but neither of us have ever used an sort of monitoring tools before. Currently we are experimenting with ZenOSS and having ...
2
votes
0answers
311 views

Processing of group policy failed - Only on 32bit machines

When forcing a group policy update I get the following messgae, but only on 32bit windows machines. 64bit works fine. Running windows 7. The processing of Group Policy failed. Windows could not ...
1
vote
0answers
888 views

WMI Error in event log every boot: EventID 5605

I have a few servers that I keep getting the EventID error 5605 The root\cimv2\TerminalServices namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if ...
0
votes
2answers
666 views

How to retrieve names of all private MSMQ queues - efficiently?

How can I retrieve the names of all of the private MSMQ queues on the local machine, without using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(".")? I'm using PowerShell so any solution ...
4
votes
1answer
816 views

What are the minimum permissions to read the WMI class 'MSSerial_PortName'?

I am configuring a local application user (part of BUILTIN\Users) on a Windows 7 kiosk. The kiosk has a special USB device running on a virtual COM port. The user needs permission to read the WMI ...
1
vote
1answer
593 views

How can I manually remove a dead OCS 2007 R2 Monitoring server?

At the moment, I'm trying to get what is effectively a cut down version of our production OCS 2007 R2 environment working in a segregated lab. For a variety of different reasons, this initially ...
2
votes
2answers
3k views

Powershell or WMI to pull Printer Properties and Additional Drivers?

What I am trying to accomplish: Use a powershell script (WMI or cmdlets directly, or a combination) to query a 2003 or 2008 server with the PrintServer role, enumerate the printers shared, then list ...
1
vote
1answer
710 views

Group policy results failing with “Invalid class” error

When trying to run the Group Policy Results Wizard against a specific workstation, I'm getting the following error: The wizard was unable to generate the computer or user's data due to insufficient ...
5
votes
1answer
13k views

How to monitor DFSR backlog more efficiently than dfsrdiag

Is there a way to monitor the DFSR backlog in a manner more efficient than using dfsrdiag.exe backlog? I wrote a program that just slurps in the backlog count via dfsrdiag.exe backlog /smem:alpha ...
2
votes
2answers
3k views

CMD - Rename Local Computer, Join Domain, Join Specific OU

Alright so not sure if this is entirely possible all in one. Situation: Brand new computer not on the domain, just a local workgroup. Want to change that computers name, join a domain, and put the ...
0
votes
2answers
1k views

WMI script to list of memberships of current computer?

I have a AD hosted on 2003R2 and 2008R2, I would like to check the membership for the domain computer (e.g. compA) when an user logs on using that computer (e.g. compA) and perform certain operations ...
0
votes
2answers
781 views

WMI query to check setting “Reversible Encryption” in Windows XP

In Windows XP, there are two settings in Group Policy I'm looking at: Password must meet complexity requirements Store password using reversible encryption Both of these settings are under Local ...
0
votes
1answer
216 views

Cannot lookup domain objects using WMI when connected to remote server

I have a VBscript on server10 that takes a parameter of a server name, connects to the server name and queries WMI for information about members of groups. Set objWMIService = GetObject("winmgmts:\\" ...
4
votes
1answer
1k views

Have issue with monitoring 32bit app pools running on 64bit IIS

I am performing a monitoring task on my 64bit web server which has couple of applications pools running in 32bit mode. I am using .Net CLR Memory object in perfmon to monitor them. However, my ...
0
votes
1answer
349 views

Monitor if Perfmon counter sets are running

We have an issue where occasionally over time, a Perfmon counter set will stop. We are looking for a way to monitor if a particular counter set is running, does anyone know of a way to do this? We ...
0
votes
1answer
595 views

WMI Security issue

When I am trying to access WMI from a remote domain controller using WMIMGMT.MSC, I keep getting "Failed to connect to \(remote server) because 'Win32: Access is denied.'. Does anyone have any ideas ...
1
vote
1answer
620 views

Using Win32_FileSpecification WMI instances

I am trying to get a checksum of a remote file using Win32_FileSpecification class via WMI, but am running into a few problems. It uses CheckID as the key, which looks to be similar to the path with ...
1
vote
0answers
742 views

wmic shows network drives as used that have been unmapped

I have a script running on Windows 7 Professional SP1 x64 that maps the first available network drive to a network resource, uses it, and then deletes the mapping. Unfortunately, after deleting the ...
2
votes
2answers
467 views

WMI is showing wrong version of Microsoft Access

We use Microsoft Access for certain database functions and as most of you already know an Access database can be very grumpy when accessed by an outdated version of Access. In order to control this I ...
0
votes
4answers
239 views

Complete server snapshot for troubleshooting performance?

From time to time, something happens to our website that makes it slow and unresponsive. Inevitably, this happens at like 3 AM, on a day when all the devs have gone to bed early. Are there any good ...
0
votes
2answers
324 views

PC inventory system that does not rely on WMI [closed]

I'm looking for a software that can make an inventory of the PCs on your network for an SMB environment. I know ther are plenty (Spiceworks, LanSweeper, etc). But they all rely on WMI to function. The ...