<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>I Fix Things &#187; Active Directory</title>
	<atom:link href="http://gtwy.net/fix/category/ad/feed/" rel="self" type="application/rss+xml" />
	<link>http://gtwy.net/fix</link>
	<description>I fix things so you don&#039;t have to</description>
	<lastBuildDate>Wed, 01 Sep 2010 17:01:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Incorrect Time and Date on Domain Computers</title>
		<link>http://gtwy.net/fix/2009/12/incorrect-time-and-date-on-domain-computers/</link>
		<comments>http://gtwy.net/fix/2009/12/incorrect-time-and-date-on-domain-computers/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 11:30:59 +0000</pubDate>
		<dc:creator>James Watt</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://gtwy.net/fix/?p=72</guid>
		<description><![CDATA[How to resolve domain-wide time synchronization problems in a Microsoft Windows 2000, 2003 or 2008 domain.]]></description>
			<content:encoded><![CDATA[<p>I was doing maintenance work on a computer when I noticed that the clock was ahead by about five minutes. I went to change the clock, but that did not fix the problem. (Time immediately reverted back after a Windows Update reboot). I then remembered that the primary domain controller controls the time on every machine in the domain, and sure enough the rest of the computers were ahead by about five minutes. I am extremely anal about the time after experiencing the results of sloppy timekeeping.</p>
<p>During the last switch to daylight savings, my BlackBerry's time was not correctly syncing with Verizon and I unknowingly adjusted my car and wrist watch to it. While I was five minutes early for everything, I kept thinking that the world must be experiencing serious time problems - my GPS and television show times were wrong! I couldn't understand what was happening. I googled in hopes others were experiencing the same problem, thinking this was some widespread issue. It sounds laughable, but when you adjust every clock in your house, car, etc. - you live by that time. Fortunately, I figured the problem out before publishing some asinine article about how the world was experiencing a time delay.</p>
<p>With my recent time drama in mind, I considered this domain-wide time problem and decided it was worth resolving. My first instinct was that the battery in the domain controller needed replaced. Since it was after hours, I simply powered down the machine and <a href="http://www.youtube.com/watch?v=3Fk35oeJANg" target="_blank">changed the battery</a>. These come in handy, so I usually have a few in my work bag. After booting the machine, I adjusted the clock and assumed all was well. Unfortunately, when I returned two weeks later for maintenance, the clock had again drifted by a few minutes. Subsequently, all of the computers in the domain had incorrect times. Time to start pulling hair out? Maybe not yet.</p>
<p>Something else to consider is the Microsoft NTP settings which come default on Microsoft Windows computers. What is the address? Ntp.Microsoft.com? Whatever it is, I am fed up. Obviously something changed my correct time and synchronized it with the wrong time, or maybe it isn't synchronizing at all. Regardless, I was able to enter the following commands into the command prompt to solve the problem.</p>
<blockquote><p>net time /setsntp:pool.ntp.org<br />
net stop w32time<br />
net start w32time</p></blockquote>
<p>The first command tells Windows which NTP server you want to use. The second two commands restart your time service. All of the computers on the domain now abide by the correct time.</p>
<p><strong>Update:</strong> On Server 2008 R2 you have to use these commands instead:</p>
<blockquote><p>w32tm /config /syncfromflags:manual /manualpeerlist:pool.ntp.org<br />
w32tm /config /reliable:yes<br />
w32tm /config /update<br />
w32tm /resync<br />
net stop w32time<br />
net start w32time</p></blockquote>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 493px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">W32tm /config /syncfromflags:manual /manualpeerlist:pool.ntp.org</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 493px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">W32tm /config /reliable:yes</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 493px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">W32tm /config /update</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 493px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">W32tm /resync</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 493px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Net stop w32time</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 493px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Net start w32time</div>
]]></content:encoded>
			<wfw:commentRss>http://gtwy.net/fix/2009/12/incorrect-time-and-date-on-domain-computers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Active Directory: Joining a Domain</title>
		<link>http://gtwy.net/fix/2009/12/active-directory-joining-a-domain/</link>
		<comments>http://gtwy.net/fix/2009/12/active-directory-joining-a-domain/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 11:30:01 +0000</pubDate>
		<dc:creator>James Watt</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://gtwy.net/fix/?p=26</guid>
		<description><![CDATA[How to avoid common mistakes when joining a computer to a Microsoft Windows Server domain.]]></description>
			<content:encoded><![CDATA[<p>All IT Professionals cross their fingers when joining a computer to a domain. This is because everything has to be perfect; one mistake and it fails. In this guide, I will attempt to explain important settings, which are often configured incorrectly. Be mindful of the DNS information provided below. Incorrectly configured DNS settings account for 90% of Active Directory problems.</p>
<ul>
<li>Your first DNS entry in your TCP/IP settings must be your Primary Domain Controller. If you only have one domain control, your secondary DNS server should be blank!! By including DNS servers from outside of your domain, it is extremely possible that your computers will fail to register with Active Directory's DNS. Initially, a secondary outside DNS server will not cause an issue. However, this will cause you major network resource problems down the road. If you did not have the correct DNS settings, restart your computer after making the change. This will ensure you are registered with DNS. If you use DHCP on your network, please update your DHCP server to give out the correct DNS information to your clients!</li>
<li>On your Primary Domain Controller, your primary DNS setting must be 127.0.0.1 (alternatively, it can be the actual IP address of itself). The only time you have a secondary DNS server is if you have more than one server running Active Directory, otherwise it should be blank. Place ISP provided DNS IP addresses in your actual <em>Administrative Tools: DNS snap-in</em>, otherwise all computers on your network will only resolve local addresses.</li>
<li>You need to be able to ping the name of your Primary Domain Controller. If you ping SERVER1 and do not get a result, first try to ping the IP Address manually (i.e. ping 192.168.1.10). This will help narrow down your point of failure. Are you even able to get onto the Internet? Unless you are doing some weird VPN or building-to-building configuration, make sure your netmask, network, and gateway are the same as on the server.</li>
<li>Try disabling the firewalls on both the server and the client computer. While on XP machines this can be done by killing the service, I have seen Server 2008 and Windows 7 machines completely lose network access when the Windows Firewall Service was shutdown. To prevent this from happening, use the <em>Windows Firewall with Advanced Security</em> window to manually turn off your firewall instead of killing the service.</li>
<li>When joining a domain, you can enter just the domain name (i.e. "contoso") or you can enter the Fully Qualified Domain Name (FQDN) "contoso.local". Sometimes a computer will not let you join unless you use the FQDN, but other times it fails until you drop off the ".local". Make sure to try it both ways.</li>
<li>It's not a bad idea to install all of the Microsoft Updates on the server as well as on the client computers, including any optional group policy client side updates.</li>
<li>If all else fails, sometimes the <em>File and Printer Sharing protocol</em>, located in the Network Adapter settings for your Primary Domain Controller, must be uninstalled and then reinstalled. This is done by unchecking it in the properties of your "Local Area Connection", restarting your server and then rechecking it again. I have only had to do this one time in my entire career.</li>
<li>If you do not see an option to join a domain, you are most likely running a Home version of Windows. You need to have Windows XP Professional, Windows Vista Business, Windows Vista Ultimate, Windows 7 Professional or Windows 7 Ultimate in order to connect to a domain.</li>
</ul>
<p>If you encounter any errors or problems that this guide was unable to resolve, please post your error message below. One of the techs here will be more than happy to give you some pointers and help you resolve your issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://gtwy.net/fix/2009/12/active-directory-joining-a-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
