Jump to content

List all computers on a domain or network

- - - - -

  • Please log in to reply
5 replies to this topic

#1
Francist

Francist

    Newbie

  • Members
  • PipPip
  • 26 posts
Hi

I need to make a program that list every computer on a network or a domain (domain would be better)
Has anyone ever did this? I've searched around Google though I haven't discovered anything.

Cheers
Francis

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Are you trying to list computer names, IP addresses, other? What type of OS's do you need to gather? Will you have access to the DHCP server?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Francist

Francist

    Newbie

  • Members
  • PipPip
  • 26 posts
Sorry for the lack of detail.

Just the Computer names would be fine, though if there is a way of getting the IP address that would be even better. The network does have a DHCP server, yes.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
You didn't mention the OS's involved. It matters. As a general rule, you won't be able to just poll for this information, you have to have permission to get it.

Dynamic Host Configuration Protocol - Wikipedia, the free encyclopedia
DHCP Client List? - Yahoo! UK & Ireland Answers
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Francist

Francist

    Newbie

  • Members
  • PipPip
  • 26 posts
The computer I want the program that shows the list will be a Windows 7 PC, that has full permissions to connect to all the other computers on the network. Though the computers that I want to be listed will be running Windows 7 and XP.

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
What is your DHCP server?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users