• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 848
  • Last Modified:

AD and DNS Logging

How do I found out what IP addresses are authenticating to a Windows Server 2003 Domain Controller. I am retiring a Domain and need to verify how many machines are still actively logging into this Domain so that these users can be contacted prior to retiring. I turned on DNS Log Queries but this does not give me much.

Thanks!
0
Darrell Kirby
Asked:
Darrell Kirby
1 Solution
 
Mike KlineCommented:
There are different logging levels you can look at  http://support.microsoft.com/kb/314980  or the security event logs

....but really you don't need to users don't need to do anything.  You updated their DNS server IPs (if those change) but the client (XP, 7, etc) is smart enough to pick another DC for authentication.

Thanks

Mike
0
 
Justin OwensITIL Problem ManagerCommented:
Another suggestion would be to check Active Directory Sites and Services and see if there are any defined sites and subnets in AD.  Even then, that is a suggested server, not a "mandated only" server.  Mike is correct in that it should just be safe to remove.

DrUltima
0
 
Renato Montenegro RusticiIT SpecialistCommented:
Try raizing the net logon logging:

Enabling debug logging for the Net Logon service
http://support.microsoft.com/kb/109626

I usually use this to find out what ip addresses with no AD sites are logging to a domain controller (no modification to logging level is needed). Maybe you can do it by raizing the logging.

I'm wondering something. Maybe you can create an additional AD site. Then, do not associate any subnets to it. Move your domain controller to this new site. The log may start to show you what IP addresses are logging on your server.

Another clear choices would be to use tcpview, netmon or wireshark.
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
elawadCommented:
is the forward lookup zone of the retired domain still exists or you also deleted it, if its still exists the computers that are still joined to that domain will register themselves in the zone. and that is how you can check who is still on that domain. and if you delete it just recreate it and you should be fine.
0
 
InterframeGapCommented:
I would look at using WMI or ADSI -

Many scripts at the scripting center which may help you here is the dhcp specific scripts:
http://gallery.technet.microsoft.com/scriptcenter/site/search?f%5B0%5D.Type=SearchText&f%5B0%5D.Value=dhcp&x=0&y=0

Read the information well and understand the scripts intentions and make sure that you are comfortable using the script in its current form.  If you have questions, the forum there is very good and well respected.

DMT
0
 
Renato Montenegro RusticiIT SpecialistCommented:
I did the test. It seems to work just fine. Here is the step by step:

1) Raise the netlogon debug level in the domain controller:

nltest /dbflag:0x2080ffff

2) Restart the netlogon service in order to the flag take effect:

net stop netlogon && net start netlogon

3) Leave the flag for a period of time collecting the data. When you think it's enough, just turn it off and restart the netlogon:

nltest /dbflag:0x0
net stop netlogon && net start netlogon

----------------------

Ok, you can inspect the netlogon file while the logging is running or after some hours. You pick.

To summarize the results, run a findstr to collect only the authentication:

findstr -l "NetrServerAuthenticate returns Success" C:\Windows\Debug\netlogon.log > auths.txt

You can now open this txt in Excel and filter the data (extract the computer names, eliminate the duplicates, etc).

See if that works for you.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Tackle projects and never again get stuck behind a technical roadblock.
Join Now