The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged


use powershell: check for the Primaryname on your Microsoft DNS Server: Get-WmiObject -Namespace 'root\MicrosoftDNS' -Class MicrosoftDNS_AType -Filter "IPAddress = 'xx.xx.xx.xx (IP)'" -ComputerName mydnsservername get all cnames for that host from your Microsoft DNS server: Get-WmiObject -Namespace 'root\MicrosoftDNS' -Class MicrosoftDNS_CNAMEType -...


You can use the SkipAsSource flag when using netsh to add an IP address to an interface: Netsh Int IPv4 Add Address <Interface Name> <IP Address> SkipAsSource=True This will prevent registration in DNS regardless of the setting on the interface a whole. Be careful when using the UI afterwards as it has a habit of resetting it.


I know this is an old question, but I had a similar requirement recently, albeit on Windows Server 2008 R2. Here is one option that came to mind: Block share access via Windows Firewall: In Windows Server 2003 SP1: Control Panel > Windows Firewall > Exceptions tab > Untick File and Printer Sharing > OK button. In my case I ended up putting a Deny on the ...

Top 50 recent answers are included