5
votes
2answers
133 views

checking for missing values in WQL or (WQL/WMI filter to return `true` for desktops/servers, but `false` on laptops)

I have a challenge where I want to use a GPO to set a Power Plan. Working on constructing a WMI Filter (using WQL), I ran into a problem of determining a set of WQL statements that would always ...
0
votes
0answers
105 views

Adding properties to the Win32_UserAccount Class

How to add new properties to *Win32_UserAccount* class and add values to it? I have used wbemtest command and Have created a new property to the class Win32_UserAccount. How to make it fetch the ...
0
votes
1answer
240 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_%' ...
2
votes
1answer
278 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 ...
4
votes
1answer
4k 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 ...
1
vote
1answer
317 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 ...
2
votes
0answers
252 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 ...
0
votes
1answer
352 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 ...
0
votes
1answer
4k views

WMI query between two different AD sites?

I'm having problem in querying WMI between two different AD sites that is not trusting each other What I have tried: Telnet between Windows Server 2008 using IP address and port 135 is all working ...
1
vote
2answers
1k views

active directory users have auto-created private user share

Currently using server 2008 and a logon vbscript to auto mount 3 drives. I'd like to have a mapped network drive that goes to a user-private share automatically. Is this possible to rig up in a login ...
1
vote
1answer
5k views

Which ports does WMI Service in Active Directory use exactly?

I read in the technet, that the WMI Services uses random ports over 1024 because of RPC.. Now is the question does it use 1025-5000 because of the microsoft port reservation or could it use more than ...
2
votes
2answers
4k views

WMI Filter in GPO by UserName/UseGroup

We have a need to lock certain users down to a very restrictive desktop on our terminal servers as well as only serve them a single application which will auto launch. I have a GPO setup for each need ...
2
votes
1answer
7k views

Scripting inventory of machine name, current username, Operating System using WMIC or powershell

I have a text file of every machine in our Windows Active Directory domain, and I would like to determine the currently logged in user (if any) and operating system of each machine using WMIC: WMIC ...
0
votes
1answer
2k views

Using WMI to query entire network for LoginDateTime, UserName, MachineName, IP Address, MAC Address, Operating System?

This is somewhat related to this question: http://serverfault.com/questions/85372/batch-file-to-mass-ping-group-of-computers-on-network-by-name-check-reply-and-r Long story short...I am working on a ...