Re: is it possible to query the windows DHCP servers database?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Phillip Windell (_at_.)
Date: 11/30/04


Date: Tue, 30 Nov 2004 14:31:13 -0600

1. Open the MMC for DHCP
2. Go to the Scope
3. Go to the "Address Leases" under the Scope in the Left Pane
4. Right-Click on "Address Leases" and choose "Export List"
5. Save the text file whereever you like.
6. Repeat the process for every Scope if you have more than one.
7. Repeat the process in each DHCP if there is more than one

You still may not get all since there may be points in time where a few
don't show in the list, but you should be able to get *most* of them anyway.

The same method will work for WINS in the "Active Registrations" but the
list is a little more messy.

The same method works all thoughout Active Directory to create a "text list"
of the contents of any Folder or OU.

-- 
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
"sumGirl" <emebohw@netscape.net> wrote in message
news:a5e13cff.0411301207.30abd7d8@posting.google.com...
> Hi. This is likely lame-brained, but I need to discover the names of
> all user PC's (non servers, all W2K or WXP) on our network and since
> we use DHCP for those machines, I was thinking that DHCP might store
> machine names in some database that I could dump and have a pretty
> good starting point.
>
> Is this a retarded idea or not? If not, can/how to do it? If theres a
> better way to get the names without spaending money, I am all ears as
> well.


Relevant Pages

  • Re: Need help with Multiple DHCP Scopes
    ... You do not have too many machines for one DHCP server to handle. ... On the W2008 server do I need to setup a super scope or just 2 normal ...
    (microsoft.public.windows.server.networking)
  • Re: dhcp vendor classes option
    ... 172.16.16.0/21 first scope for computers ... To have your get a DHCP address AND have them in their own VLAN, ... that points DHCP requests to a DHCP server. ... your phones asking for a resource that is located on the Internet?... ...
    (microsoft.public.windows.server.networking)
  • Re: No DHCP Leases Available - SBS2K3
    ... delete scope 192.168.1.240 dhcpfullforce (command ... scope with two suggested options; stopped DHCP service; ran CEICW again - ... same message as above; started DHCP service; opened Change Server IP Address ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS Reinstall
    ... In DHCP when I select the server it shows 192.168.16.2 and when I expand it ... "The wizard cannot set the DHCP scope options" error message when you run ... Ethernet adapter local area connection: ...
    (microsoft.public.windows.server.sbs)
  • Re: DHCP Setup- Sound like a good idea
    ... Each branch only has one R2 server and approx 15-30 Xp/Vista Clients. ... At corp the primary dhcp could have the branches "backup scopes" enabled ... Corporate HQ - DHCP win2k3r2 server hands out SCOPE for it's location ...
    (microsoft.public.windows.server.networking)