Tidying up AD

This topic contains 17 replies, has 4 voices, and was last updated by Avatar ikon 10 years, 2 months ago.

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • Avatar
    Deland01
    Participant
    #144897

    I have an old PC I need to format, I also plan on changing the name of the box after its been formatted.

    Does AD link computers through MAC address or will it just be the sid?

    Basically if I remove the pc and try to re-add it with a different name will it upset things?

    Avatar
    joeqwerty
    Moderator
    #302897

    Re: Tidying up AD

    The computer account is SID based, not MAC based. Just delete the old computer account from the domain and you’ll be fine. Also, check DHCP, DNS, and WINS for any references to the old computer and delete those as well.

    Avatar
    Deland01
    Participant
    #293366

    Re: Tidying up AD

    Cool, thanks

    I’ve done the DNS & DHCP but cant find the WINS. I don’t think we have a WINS server setup. would it be listed on Administrative Tools folder if we had WINS enabled?

    Avatar
    joeqwerty
    Moderator
    #302900

    Re: Tidying up AD

    It would, so if you don’t see it you’re probably not using it.

    Avatar
    Deland01
    Participant
    #293367

    Re: Tidying up AD

    Ive just pingged the machine name and its given me back an IP, how would I remove this?

    All Ive done is deleted the machine form DNS, its wasnt in the DHCP.

    Avatar
    stamandster
    Member
    #280347

    Re: Tidying up AD

    Sometimes it’ll be cached in your local DNS cache

    ipconfig -flushdns

    or

    net stop dnscache && net start dnscache

    or reboot ;)

    Avatar
    Deland01
    Participant
    #293368

    Re: Tidying up AD

    Would this just be on the DC that looks after DNS or on all DC’s?

    Avatar
    Deland01
    Participant
    #293369

    Re: Tidying up AD

    Scrap that last one, its only on eth DNS server.

    This is wat I see if I ping the old box which was called MARKCOLEMAN

    C:Documents and Settingsadministrator.CCM-CA>ping markcoleman

    Pinging markcoleman.ccm-ca.local [192.168.0.145] with 32 bytes of data:

    Reply from 192.168.0.145: bytes=32 time=2ms TTL=128
    Reply from 192.168.0.145: bytes=32 time<1ms TTL=128
    Reply from 192.168.0.145: bytes=32 time<1ms TTL=128
    Reply from 192.168.0.145: bytes=32 time<1ms TTL=128

    Ping statistics for 192.168.0.145:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 2ms, Average = 0ms

    C:Documents and Settingsadministrator.CCM-CA>

    Avatar
    joeqwerty
    Moderator
    #302903

    Re: Tidying up AD

    Mark Coleman as in the MMA fighter?

    At any rate, you should flush the DNS cache on the DNS servers.

    Avatar
    Deland01
    Participant
    #293370

    Re: Tidying up AD


    Flushed the cache on the DNS server but it still knows what markcoleman is. Surely its wouldn’t know what this was any more?

    I cant understand it

    Avatar
    stamandster
    Member
    #280350

    Re: Tidying up AD

    Go into your DNS on that DC and delete all remains of markcoleman

    try this

    ipconfig -flushdns
    net stop dns && net start dns

    Avatar
    Deland01
    Participant
    #293371

    Re: Tidying up AD

    this is what I did. Ive just done it again and I can still resolve MARKCOLEMAN when I ping it

    Avatar
    stamandster
    Member
    #280351

    Re: Tidying up AD

    did you happen to put it in the host file for some reason?

    Avatar
    Deland01
    Participant
    #293372

    Re: Tidying up AD

    The host file is empty apart from the 2 example hosts

    Avatar
    joeqwerty
    Moderator
    #302904

    Re: Tidying up AD

    I should have been more specific, flush the DNS server cache and the DNS client cache on the DNS servers. To clear the server cache go to the DNS mmc console, right click the server and select clear cache from the pop up menu. Then from a command prompt on the DNS server type: ipconfig /flushdns.

    Avatar
    Deland01
    Participant
    #293373

    Re: Tidying up AD

    Just done this and its still not plaing ball.

    Microsoft Windows [Version 5.2.3790]

    (C) Copyright 1985-2003 Microsoft Corp.
    C:Documents and SettingsAdministrator>ipconfig /flushdns

    Windows IP Configuration

    Successfully flushed the DNS Resolver Cache.

    C:Documents and SettingsAdministrator>ping markcoleman

    Pinging markcoleman.ccm-ca.local [192.168.0.145] with 32 bytes of data:

    Reply from 192.168.0.145: bytes=32 time<1ms TTL=128
    Reply from 192.168.0.145: bytes=32 time<1ms TTL=128
    Reply from 192.168.0.145: bytes=32 time<1ms TTL=128
    Reply from 192.168.0.145: bytes=32 time<1ms TTL=128

    Ping statistics for 192.168.0.145:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

    C:Documents and SettingsAdministrator>

    Avatar
    joeqwerty
    Moderator
    #302906

    Re: Tidying up AD

    So let me summarize:

    1. You had a compuetr in the domain named markcoleman.

    2. You disjoined this computer from the domain and renamed it.

    3. You deleted the computer account in the domain and deleted any and all DNS records for this computer.

    4. You ping markcoleman and get a response from a computer with ip address 192.168.0.145.

    Is that about right?

    If so, then there is another computer with ip address 192.168.0.145 or there’s another computer named markcoleman.

    Avatar
    ikon
    Member
    #354229

    Re: Tidying up AD

    you need to flush both the server and your client cache, unless you are running a ping -a or nslookup from the dns server itself.

Viewing 18 posts - 1 through 18 (of 18 total)

You must be logged in to reply to this topic.