<?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>The BHC Blog &#187; Microsoft Windows</title>
	<atom:link href="http://www.bhcblog.com/category/microsoft-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bhcblog.com</link>
	<description>The Technical Blog of Blackhawk Consulting</description>
	<lastBuildDate>Fri, 03 Sep 2010 19:39:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fixing Active Directory DNS (_msdcs, _sites, _tcp, _udp)</title>
		<link>http://www.bhcblog.com/2009/04/23/fixing-active-directory-dns-_msdcs-_sites-_tcp-_udp/</link>
		<comments>http://www.bhcblog.com/2009/04/23/fixing-active-directory-dns-_msdcs-_sites-_tcp-_udp/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 22:58:42 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Microsoft Windows]]></category>

		<guid isPermaLink="false">http://www.bhcblog.com/?p=157</guid>
		<description><![CDATA[Have you ever accidentally deleted the AD DNS settings such as _msdcs, or installed AD and then needed to add a DNS server? How do you get AD to build it&#8217;s DNS settings. As you know AD is very tightly bound to DNS so if those settings are not there, DNS is probably going to [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever accidentally deleted the AD DNS settings such as _msdcs, or installed AD and then needed to add a DNS server?  How do you get AD to build it&#8217;s DNS settings.   As you know AD is very tightly bound to DNS so if those settings are not there, DNS is probably going to cause a world of hurt moving forward.</p>
<p>Never fear, this can easily be fixed.   To fix this, download the Windows Support Tools :</p>
<ul>
<li><a title="Microsoft Windows 2003 Support Tools" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=6EC50B78-8BE1-4E81-B3BE-4E7AC4F0912D&amp;displaylang=en" target="_blank">Windows 2003 sp1 Support Tools </a></li>
<li><a title="Windows 2000 Support Tools" href="http://www.microsoft.com/downloads/details.aspx?familyid=f08d28f3-b835-4847-b810-bb6539362473&amp;displaylang=en">Windows 2000 Support Tools</a></li>
</ul>
<p>After installing the support tools, verify your dns on the server is set correctly.  Generally I set domain controllers to have their DNS boxes BLANK.. (ie they use themselves to resolve DNS.   If they cannot find the DNS entry they seek, they use the root servers to do recursive queries.).</p>
<p>To check dns, goto TCP/IP properties of your Local Area Connection.. and in the &#8220;Use  the following DNS server addresses:&#8221;  set this value to blank.  It should give you a message when you hit ok that it is using localhost as the DNS server.</p>
<p>Now goto the command prompt and in c:\program files\support tools run :<strong></strong></p>
<blockquote><p><strong>dcdiag /fix</strong></p></blockquote>
<p>then run</p>
<blockquote><p><strong>netdiag /fix</strong></p></blockquote>
<p>Finally run</p>
<blockquote><p><strong>ipconfig /flushdns<br />
ipconfig /registerdns<br />
net stop server<br />
net start server</strong></p></blockquote>
<p>If you refresh your DNS you should now have all your entries in DNS that you need for AD to work properly..  The above command verify more than just fixing the DNS issues, but it doesnt hurt to run them and the dcdiag and netdiag will make sure your AD / DNS are the way they need to be.</p>
<p>One other note.   Net stop server stop more than just DNS .. it also stops Netlogon and Distributed File systems.   THESE SERVICES DO NOT START BACK UP ON THEIR OWN&#8211;   so after you&#8217;ve done the steps above I recommend either a quick reboot or if you cant do that go into service and start any automatic services that are stopped (such as netlogon and distributed file systems..   Your server should now work fine!</p>
<p>Now sit back and relax.</p>
<p><strong><br />
</strong></p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>_______________________________________<BR>PLEASE HELP BY BOOKMARKING OUR SITE...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.bhcblog.com/2009/04/23/fixing-active-directory-dns-_msdcs-_sites-_tcp-_udp/&amp;title=Fixing Active Directory DNS (_msdcs, _sites, _tcp, _udp)' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/delicious.ico' style='width:16px; height:16px; border:none;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.bhcblog.com/2009/04/23/fixing-active-directory-dns-_msdcs-_sites-_tcp-_udp/&amp;title=Fixing Active Directory DNS (_msdcs, _sites, _tcp, _udp)' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/digg.ico' style='width:16px; height:16px; border:none;' alt='[Digg]'  /></a> <a href='http://www.stumbleupon.com/submit?url=http://www.bhcblog.com/2009/04/23/fixing-active-directory-dns-_msdcs-_sites-_tcp-_udp/&amp;title=Fixing Active Directory DNS (_msdcs, _sites, _tcp, _udp)' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/stumbleupon.ico' style='width:16px; height:16px; border:none;' alt='[StumbleUpon]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://www.bhcblog.com/2009/04/23/fixing-active-directory-dns-_msdcs-_sites-_tcp-_udp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HOWTO: Getting Group Policy Updates to External Users</title>
		<link>http://www.bhcblog.com/2009/01/19/howto-getting-group-policy-updates-to-external-users/</link>
		<comments>http://www.bhcblog.com/2009/01/19/howto-getting-group-policy-updates-to-external-users/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 17:35:46 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Join Domain Remotely]]></category>
		<category><![CDATA[Remote users]]></category>

		<guid isPermaLink="false">http://www.bhcblog.com/?p=113</guid>
		<description><![CDATA[I recently had an issue where I needed to get an external user joined back to the domain even though the users was outside the network.  This can be a challenging task if you dont know the trick. The trick to getting an external computer to join an internal network is the switch user button. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had an issue where I needed to get an external user joined back to the domain even though the users was outside the network.  This can be a challenging task if you dont know the trick.</p>
<p>The trick to getting an external computer to join an internal network is the switch user button.</p>
<ol>
<li>First, have the user login to the local admin account.</li>
<li>After the user has logged in, have him connect to the company VPN.  The computer is now joined to the internal company network as if he were anyone else in the office.</li>
<li>If you need to join the computer to the domain, you can now follow the standard steps in computer properties to join the doman.  Then reboot and repeat process (steps 1-2).</li>
<li>After the computer is joined to the doman, or if you&#8217;re just trying to get him to login with a domain account, now have him hit switch user, and login to his domain account.  As long as the vpn connection is still active, you should be able to login to the the domain account and also get new group policy settings pushed to the machine.</li>
</ol>
<p>Once the the user has logged into the domain once, he should not need to vpn in again to login a second time as his domain credentials will now be cached on the machine.   You now have a remote profile for this user that uses the Corporate Domain.</p>
<p>If you have any questions or comments, please feel free to comment below.  Also, if you found this article helpful please digg or del.icio.us this site.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>_______________________________________<BR>PLEASE HELP BY BOOKMARKING OUR SITE...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.bhcblog.com/2009/01/19/howto-getting-group-policy-updates-to-external-users/&amp;title=HOWTO: Getting Group Policy Updates to External Users' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/delicious.ico' style='width:16px; height:16px; border:none;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.bhcblog.com/2009/01/19/howto-getting-group-policy-updates-to-external-users/&amp;title=HOWTO: Getting Group Policy Updates to External Users' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/digg.ico' style='width:16px; height:16px; border:none;' alt='[Digg]'  /></a> <a href='http://www.stumbleupon.com/submit?url=http://www.bhcblog.com/2009/01/19/howto-getting-group-policy-updates-to-external-users/&amp;title=HOWTO: Getting Group Policy Updates to External Users' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/stumbleupon.ico' style='width:16px; height:16px; border:none;' alt='[StumbleUpon]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://www.bhcblog.com/2009/01/19/howto-getting-group-policy-updates-to-external-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Transfer files and VM&#8217;s to ESXi server</title>
		<link>http://www.bhcblog.com/2008/10/18/howto-transfer-files-and-vms-to-esxi-server/</link>
		<comments>http://www.bhcblog.com/2008/10/18/howto-transfer-files-and-vms-to-esxi-server/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 23:54:01 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bhcblog.com/?p=69</guid>
		<description><![CDATA[ESXi server by VMWare is a very powerful on-the-metal virtual machine environment.   However, it is somewhat confusing to many first time users.   Unlike most Operating Systems, or even hosts, there is no User Interface on the actual server- Instead everything is done remotely. The question then becomes, how do you transfer pre-existing vm&#8217;s to the [...]]]></description>
			<content:encoded><![CDATA[<p>ESXi server by VMWare is a very powerful on-the-metal virtual machine environment.   However, it is somewhat confusing to many first time users.   Unlike most Operating Systems, or even hosts, there is no User Interface on the actual server- Instead everything is done remotely.</p>
<p>The question then becomes, how do you transfer pre-existing vm&#8217;s to the datastore?  On first glance it appears you can only create new machines or access VM&#8217;s that are on a network share.</p>
<p>However, there is an easier way!  The best way I&#8217;ve found to copy VM&#8217;s to to the data store is to copy them via SSH/SCP.</p>
<p>In order to do this, you need to turn on the SSH server that is built into the base OS:</p>
<ol>
<li>First, login to console 1 :  (press ctrl-alt-f1)</li>
<li>Type in : unsupported and press enter.</li>
<li>You should now see a tech support warning and a prompt to login.</li>
<li>Login as root and enter your password.</li>
<li>you should now have a root linux hash ( #   )</li>
<li>Edit /etc/inetd.conf  using vi editor (vi /etc/inetd.conf)</li>
<li>and remove the comments in front of the ssh section (remove the # signs. You may have to hit i to enter insert mode.  esc will get you out of insert mode. )</li>
<li>Save the file (Shift-ZZ)</li>
<li>and reboot (init 6)</li>
</ol>
<p>You can now use a program like winSCP to copy files to and from your vmware server.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>UPDATE:</p>
<div class="entry">
<p>A couple additions I will mention… First, before you copy files to your ESXi server you must setup a datastore. Which will be done from the VMWare Infrastructure Client. (if you havent done so already, browse to your vmware server from another client — <a rel="nofollow" href="http://esxiservername/">http://ESXiServerName</a> or IP.  then download and install the vmware client.)</p>
<p>Once inside the VMWare Infrastructure Client, Click on the Configuration Tab, then click on “Storage” in the hardware section.</p>
<p>Once the storage menu has been displayed, click “add storage” in the top right corner of the screen. Follow the steps to create the local datastore.</p>
<p>Once the datastore is created, you can access it via ssh using WinSCP which can be found here :</p>
<p><a rel="nofollow" href="http://winscp.net/eng/download.php">http://winscp.net/eng/download.php</a></p>
<p>connect via ssh, your new datastore can be found here:</p>
<p>/vmfs/volumes/DATASTOREGUID (it’s a long string of numbers)/</p>
<p>then just drop your vm’s here in a folder.  They will show up in the ESXi console.</p></div>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>_______________________________________<BR>PLEASE HELP BY BOOKMARKING OUR SITE...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.bhcblog.com/2008/10/18/howto-transfer-files-and-vms-to-esxi-server/&amp;title=HOWTO: Transfer files and VM&#8217;s to ESXi server' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/delicious.ico' style='width:16px; height:16px; border:none;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.bhcblog.com/2008/10/18/howto-transfer-files-and-vms-to-esxi-server/&amp;title=HOWTO: Transfer files and VM&#8217;s to ESXi server' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/digg.ico' style='width:16px; height:16px; border:none;' alt='[Digg]'  /></a> <a href='http://www.stumbleupon.com/submit?url=http://www.bhcblog.com/2008/10/18/howto-transfer-files-and-vms-to-esxi-server/&amp;title=HOWTO: Transfer files and VM&#8217;s to ESXi server' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/stumbleupon.ico' style='width:16px; height:16px; border:none;' alt='[StumbleUpon]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://www.bhcblog.com/2008/10/18/howto-transfer-files-and-vms-to-esxi-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSL not working in IIS</title>
		<link>http://www.bhcblog.com/2008/09/09/ssl-not-working-in-iis/</link>
		<comments>http://www.bhcblog.com/2008/09/09/ssl-not-working-in-iis/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 17:06:43 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Microsoft Windows]]></category>

		<guid isPermaLink="false">http://www.bhcblog.com/?p=53</guid>
		<description><![CDATA[If you have recently moved an IIS server to another IP, you will sometimes find SSL sometimes no longer works.  This is because IIS does not always correctly update its configuration files. If you go to properties on an IIS site, you will see what IP the site is currently using (such as all unassigned) [...]]]></description>
			<content:encoded><![CDATA[<p>If you have recently moved an IIS server to another IP, you will sometimes find SSL sometimes no longer works.  This is because IIS does not always correctly update its configuration files.</p>
<p>If you go to properties on an IIS site, you will see what IP the site is currently using (such as all unassigned) and what ports the server is listening on (such as 80 and 443) &#8230;</p>
<p>Even if these settings are correct, you should click on the advanced button next to ip address and make sure the ip address and port settings are correct for both regular http and ssl.  I recently had an issue on a server where the main page looked perfect, but IIS has failed to correctly update the IP Address for the ssl section meaning it no longer served https requests for the site.</p>
<p>In addition, another useful tool for diagnosing port / ip issues within iis is netstat.  If you run netstat -a from the command prompt, you will see all ports and IP&#8217;s the server is listening on and what service is using the port.   It can help you diagnose what is happening if a particular service fails to bind properly.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>_______________________________________<BR>PLEASE HELP BY BOOKMARKING OUR SITE...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.bhcblog.com/2008/09/09/ssl-not-working-in-iis/&amp;title=SSL not working in IIS' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/delicious.ico' style='width:16px; height:16px; border:none;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.bhcblog.com/2008/09/09/ssl-not-working-in-iis/&amp;title=SSL not working in IIS' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/digg.ico' style='width:16px; height:16px; border:none;' alt='[Digg]'  /></a> <a href='http://www.stumbleupon.com/submit?url=http://www.bhcblog.com/2008/09/09/ssl-not-working-in-iis/&amp;title=SSL not working in IIS' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='/wp-content/plugins/bookmarkify/stumbleupon.ico' style='width:16px; height:16px; border:none;' alt='[StumbleUpon]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://www.bhcblog.com/2008/09/09/ssl-not-working-in-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
