Announcement

Collapse
No announcement yet.

Get list of domain users with ip

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Get list of domain users with ip

    Hello,

    Can you help me to find a list of domain users with those Ip, for ex:

    User : x1 ---> ip 172.31.xx.xx
    x2 ---> ip 172.31.xx.xx
    .....
    ....
    ..


    Thx

  • #2
    Re: Get list of domain users with ip

    problably you won't get any use with it, but you can create a login script or something like:

    ipconfig /all > \\Server\share\%username%.txt
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: Get list of domain users with ip

      thx for your replay,

      But i havent access to domain server because i'm not domain controler and ipconfig/all display just the config of one user not all the domain users

      Comment


      • #4
        Re: Get list of domain users with ip

        This now sounds not quite right. If you are not an Administrator on the network, why do you need such information?
        1 1 was a racehorse.
        2 2 was 1 2.
        1 1 1 1 race 1 day,
        2 2 1 1 2

        Comment


        • #5
          Re: Get list of domain users with ip

          I'm not an domain administrator but a'm a entreprise administrator, and i need this information to log on by distance to a remote machine to fixe any probleme,

          the moste important is to resolve a name of computer by the knowing the accout of person loged on this machine, do you inderstend ??

          Thx

          Comment


          • #6
            Re: Get list of domain users with ip

            You would need to write some VB code for this purpose i think.

            ***EDIT***

            After some digging around i found PSLoggedOn

            To use it i used the following in a command prompt

            psloggedon username

            where username is the name of the user you are querying.
            Last edited by wullieb1; 1st August 2006, 15:50.

            Comment


            • #7
              Re: Get list of domain users with ip

              Originally posted by okbus
              thx for your replay,

              But i havent access to domain server because i'm not domain controler and ipconfig/all display just the config of one user not all the domain users

              Duhh, run it from a logon script, and watch how many txt files you get into that share.
              And i really really hope you understand that a ipadress isn't user but computer based.

              but try using the option from wullieb1. If that doesn't help, clarify you're question
              Marcel
              Technical Consultant
              Netherlands
              http://www.phetios.com
              http://blog.nessus.nl

              MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
              "No matter how secure, there is always the human factor."

              "Enjoy life today, tomorrow may never come."
              "If you're going through hell, keep going. ~Winston Churchill"

              Comment


              • #8
                Re: Get list of domain users with ip

                thx for your gold proposition,

                But wullieb1 whene i type psloggedon username

                i'have the message: Error opening HKEY_USERS for xxxxx
                Error opening HKEY_USERS for YYYYY
                .......................
                ..............

                XXXX,YYYY: is a name of computers in domain


                It means that it search all computers until resolving the name or What ??


                Please hepl me

                Comment


                • #9
                  Re: Get list of domain users with ip

                  Please post the EXACT syntax that you are using.
                  1 1 was a racehorse.
                  2 2 was 1 2.
                  1 1 1 1 race 1 day,
                  2 2 1 1 2

                  Comment


                  • #10
                    Re: Get list of domain users with ip

                    Originally posted by okbus
                    thx for your gold proposition,

                    But wullieb1 whene i type psloggedon username

                    i'have the message: Error opening HKEY_USERS for xxxxx
                    Error opening HKEY_USERS for YYYYY
                    .......................
                    ..............

                    XXXX,YYYY: is a name of computers in domain


                    It means that it search all computers until resolving the name or What ??


                    Please hepl me
                    what syntax are you using??

                    the username i was using was the username of the user i wanted to check.

                    example

                    psloggedon wullieb1

                    Comment


                    • #11
                      Re: Get list of domain users with ip

                      hello,

                      i use a correct syntaxe: psloggedon okbus for exemple

                      It give me a correct resultat when i use a local user but when i wont to resolve a distance user the error message witch a send it to you apear !!!!

                      Can you give me you @ plse i will send you a srceen capture?

                      Thx very match

                      Comment


                      • #12
                        Re: Get list of domain users with ip

                        hello,

                        i use a correct syntaxe: psloggedon okbus for exemple

                        It give me a correct resultat when i use a local user but when i wont to resolve a distance user the error message witch a send it to you apear !!!!

                        Can you give me you @ plse i will send you a srceen capture?

                        Thx very match

                        Comment


                        • #13
                          Re: Get list of domain users with ip

                          Post screen capture here. Don't forget to save as a JPG so as to consume less space.
                          1 1 was a racehorse.
                          2 2 was 1 2.
                          1 1 1 1 race 1 day,
                          2 2 1 1 2

                          Comment


                          • #14
                            Re: Get list of domain users with ip

                            Good morning,

                            find herewith an attachment containing a prints screen.

                            Thx for your replay
                            Attached Files

                            Comment


                            • #15
                              Re: Get list of domain users with ip

                              1. Was bennalour logged onto a PC when you ran PSLoggedOn
                              2. What is ALCCB025?
                              1 1 was a racehorse.
                              2 2 was 1 2.
                              1 1 1 1 race 1 day,
                              2 2 1 1 2

                              Comment

                              Working...
                              X