Win32_GroupUser does not work

Discussion in 'Windows XP WMI' started by narnerao, Aug 24, 2006.

  1. narnerao

    narnerao

    Joined:
    Aug 24, 2006
    Messages:
    1
    Likes Received:
    0
    1)When I run wbemtest.exe and run a query

    Select PartComponent from Win32_GroupUser where GroupComponent="Win32_Group.Domain='Test',Name='Users'",
    I get 3 objects, showing Win32_UserGroup=<no key>.
    I can see the entries in Win32_UserGroup but query does not work. Please suggest way out.

    2)When I connect to a remote computer using wbemtest.exe and impersonate the user, I don't see all the entries when I query Win32_UserAccount and Win32_GroupUser (some domain/users are hidden). But when I run the wbemtest.exe on the remote computer I can see all the entries. How can I get all the entries when I query a remote computer for Win32_UserAccount and Win32_GroupUser.

    I need to write a VB.Net program once the queries are working.Please help
     
    narnerao, Aug 24, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dimitri Meeuws

    WMI: Win32_Product - Does not return all products

    Dimitri Meeuws, Oct 26, 2004, in forum: Windows XP WMI
    Replies:
    3
    Views:
    9,666
    Steffen Grellmann
    Oct 29, 2004
  2. Guest
    Replies:
    0
    Views:
    1,216
    Guest
    Jan 19, 2005
  3. Hannibal

    WMI SDK does not show any information

    Hannibal, Mar 1, 2005, in forum: Windows XP WMI
    Replies:
    2
    Views:
    879
    Hannibal
    Mar 6, 2005
  4. Guest

    InUseCount of CIM_DataFile does not work.

    Guest, Aug 29, 2006, in forum: Windows XP WMI
    Replies:
    0
    Views:
    1,290
    Guest
    Aug 29, 2006
  5. VAL

    cd / dvd & floppy will not work

    VAL, Jun 25, 2009, in forum: Windows XP WMI
    Replies:
    0
    Views:
    555
Loading...

Share This Page