Active Directory Cookbook for windows server 2003- P43:If you are familiar with the O'Reilly Cookbook format that can be seen in other popular books, such as the Perl Cookbook, Java Cookbook, and DNS and BIND Cookbook, then the layout of this book will not be anything new to you. The book is composed of 18 chapters, each containing 10-30 recipes for performing a specific Active Directory task. Within each recipe are four sections: problem, solution, discussion, and see also. | Recipe Preventing a Domain Controller from Dynamically Registering All Resource Records Problem You want to prevent a domain controller from dynamically registering its resource records using DDNS. If you manually register domain controllers resource records you ll want to prevent those domain controllers from attempting to dynamically register them. If you do not disable them from sending dynamic update requests you may see annoying error messages on your DNS servers that certain DDNS updates are failing. Solution Using a command-line interface reg add HKLM System CurrentControlSet Services Netlogon Parameters v RETURN UseDynamicDNS t REG_DWORD d 0 The operation completed successfully. net stop netlogon The Net Logon service is stopping. The Net Logon service was stopped successfully. del SystemRoot system32 config net start netlogon The Net Logon service is starting. The Net Logon service was started successfully. Using VBScript This code prevents a DC from registering resource records dynamically. It must be run directly on the server. Create Registry Value const HKLM H80000002 set oReg GetObject winmgmts root default StdRegProv strKeyPath System CurrentControlSet Services Netlogon Parameters if HKLM strKeyPath UseDynamicDNS 1 0 then Error creating registry value else Created registry value successfully end if Stop Netlogon service strService Netlogon set objService GetObject WinMgmts root cimv2 Win32 strService if 0 then Error stopping strService service else Stopped strService service successfully end if 431 Delete file set WshShell CreateObject set objFSO CreateObject set objFile SystemRoot system32 config Deleted successfully Start Netlogon .