<?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>Rob Golding &#187; Windows Server</title>
	<atom:link href="http://www.robgolding.com/blog/category/windows-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robgolding.com</link>
	<description>Technology Consultant</description>
	<lastBuildDate>Mon, 07 Jun 2010 22:04:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux-Windows Integration (à la Likewise-Open &amp; Winbind)</title>
		<link>http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/</link>
		<comments>http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 16:12:47 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Home Network]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/?p=165</guid>
		<description><![CDATA[Recently, I've been doing a lot of work trying to integrate Linux &#38; Windows machines on a single network. The project begun with a need to allow windows users access to file shares using Samba, and Linux users access to the same data using NFS. As you may know, Samba (or more specifically the SMB [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I've been doing a lot of work trying to integrate Linux &amp; Windows machines on a single network. The project begun with a need to allow windows users access to file shares using Samba, and Linux users access to the same data using NFS. As you may know, Samba (or more specifically the SMB protocol) uses a username/password combination to authenticate users, while NFS uses user IDs and group IDs (UIDs &amp; GIDs) on the local machines to achieve the same end. Therefore, I needed a way to consistently authenticate Windows domain users on Linux machines, whilst maintaining a consistent conversion from SID -&gt; UID, and vice-versa.</p>
<p>Domain authentication can be achieved relatively simply, by using either <a title="Winbind" href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html">Winbind</a> (part of the Samba project) or the new kid on the block, <a title="Likewise Open" href="http://www.likewise.com/products/likewise_open/">Likewise</a>. Likewise-Open offers a simple procedure for joining domains, and the new version comes packaged with it's own version of Kerberos. It also hashes the Windows SID into a UNIX UID in a consistent manner - so the UIDs are always the same across your entire environment. Sounds perfect, right? Well, no. Not quite. The problem with Likewise-Open, is that it's difficult to integrate with Samba. Though it does ship with a "compatibility module" called <strong>lwi_compat</strong>, which allows Samba to hook into Likewise's authentication module, I found this quite difficult to get working, and I only achieved partial success through guesswork - as the documentation didn't actually help much, given they only officially support Samba 3.0.x (while Ubuntu now uses 3.3.x). When I did get it going, however, it only recognised the Windows users' <strong>primary</strong> group, not any of the other groups they were members of. This meant that my (possibly overly) complex system of ACLs and user directories just didn't work at all. So, on to Plan B...</p>
<p>When I read through the short (but sweet) Ubuntu Wiki article entitled <a title="ActiveDirectoryWinbindHowto" href="https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto" target="_blank">ActiveDirectoryWinbindHowto</a>, I felt like somewhat of a fool after reading a small, illusive section called <em>Adding more than one Linux machine to a Windows network.</em> Bingo! This section described a problem whereby the traditional Winbind domain authentication method would lead to inconsistent UIDs across the network, and thus cause headaches when trying to achieve anything like what I was aiming for. It suggested using a method of mapping SIDs to UIDs called <em>RID</em>. I assume this stands for <em>Relative ID</em>, which is another kind of ID Active Directory uses to track users within a domain. These <strong>can</strong> possibly clash from domain to domain, so it is advised not to use this method when your network contains a trust between multiple Windows domains, but for the simpler setup (like my own) it's a godsend.</p>
<p>This meant that I could use RID mapping within Winbind, which is part of Samba itself (so no troubles integrating those two), and achieve a consistent SID-UID mapping scheme across the network, allowing me to finally enable access to the file shares via. NFS. Amazingly, NFS "Just Worked" straight away, and I've written some nice wrapper programs around <strong>chown</strong>,<strong> getfacl</strong> and <strong>setfacl</strong> to set the correct owner and permissions on entire directory trees, which saves a lot of time when your UIDs are changing as often as mine were! I'm also using <strong>autofs</strong> to automatically map user's home directories on the Linux machines, which has proven itself to be very useful. I just used static <em>fstab</em> entries to map the other "general" file shares, like <em>software</em> and <em>media</em> - as I couldn't seem to get autofs direct maps working (apparently they are only partially working in Ubuntu anyway, but it seems as though they are completely broken to me).</p>
<p>On a side note, I've also just finished developing a Python-based rsync backup program, which allows me to write a _very_ small script to backup remote servers using rsync over SSH, and tar up the contents of all the servers into one archive. This is really useful, as I have a lot of disparate locations on different servers that all need to be pulled onto the backup drive every night. Now though, I should really concentrate on some revision for the exams I have after Christmas!</p>
<p>Happy holidays, everyone! (That's Merry Christmas and a happy new year, but just between you and me).</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/&amp;title=Linux-Windows+Integration+%28%C3%A0+la+Likewise-Open+%26+Winbind%29" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/&amp;title=Linux-Windows+Integration+%28%C3%A0+la+Likewise-Open+%26+Winbind%29" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/&amp;title=Linux-Windows+Integration+%28%C3%A0+la+Likewise-Open+%26+Winbind%29" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/&amp;title=Linux-Windows+Integration+%28%C3%A0+la+Likewise-Open+%26+Winbind%29" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/&amp;t=Linux-Windows+Integration+%28%C3%A0+la+Likewise-Open+%26+Winbind%29" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Linux-Windows+Integration+%28%C3%A0+la+Likewise-Open+%26+Winbind%29+-+http://tinyurl.com/yf9a4ue+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/&amp;n=Linux-Windows+Integration+%28%C3%A0+la+Likewise-Open+%26+Winbind%29&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=165&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2009/12/24/linux-windows-integration-a-la-likewise-open-winbind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 Autodiscover Issues</title>
		<link>http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/</link>
		<comments>http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 20:06:57 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Home Network]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/?p=150</guid>
		<description><![CDATA[Over the past week, I've been upgrading my e-mail system to Exchange 2007 (I was previously using Exchange '03). For me, it's very useful to have the systems that I write about, and consult for, installed at home in a "semi-production" manner. It means that I have a system to work on, and I am [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-154" style="margin: 0px 10px;" title="Exchange 2007 Logo" src="http://www.robgolding.com/wp-content/uploads/2009/07/exchange2007logo.jpg" alt="Exchange 2007 Logo" width="144" height="168" />Over the past week, I've been upgrading my e-mail system to Exchange 2007 (I was previously using Exchange '03). For me, it's very useful to have the systems that I write about, and consult for, installed at home in a "semi-production" manner. It means that I have a system to work on, and I am concerned with keeping it up and running as smoothly as possible - which introduces me to intricacies that I would not otherwise encounter, if I were just running a little test lab.</p>
<p>For example, when setting up Outlook Anywhere (the rebranded RPC/HTTP feature of Exchange, allowing Outlook users to connect from outside the organisation) I discovered a lot of "Sync Issues" appearing in my Inbox. The messages all had a common theme:</p>
<pre>11:19:07 Synchronizer Version 12.0.6315
11:19:07 Synchronizing Mailbox 'User'
11:19:07 Synchronizing Hierarchy
11:19:07 Done
11:19:09 Microsoft Exchange offline address book
11:19:09              Not downloading Offline address book files.  A server (URL) could not be located.
11:19:09       0X8004010F</pre>
<p>Clearly, something was wrong with the Offline Address Book. I was only getting these messages when using Outlook Anywhere, however, so this issue was obviously specific to RPC/HTTP.</p>
<p>Looking up the error code, I found that the problem I was experiencing was <strong>very</strong> common, but that nowhere seemed to have the ultimate repair. The information available was sparse, and I had to put together my own solution - which I will document below.</p>
<p>First, I registered an extra DNS (A) record for my email domain, called "autodiscover". I must be clear here, that this is for the mail domain, not for the domain used to access your OWA site. For example (and we'll go with the Microsoft classic here), if your users have addresses such as<em> user1@contoso.com</em>, <em>user2@contoso.com</em> and you access your OWA via <em>https://mail.contoso.com/owa</em>, then you need to register an A record for <strong>autodiscover.contoso.com</strong>.</p>
<p>Next, I prepared a new certificate request, that would hopefully end up with me obtaining a certificate that I could use to replace the current one, which would be valid for both <em>mail.contoso.com</em> and <em>autodiscover.contoso.com</em> (to continue with our example) - so that my Outlook clients could successfully access the autodiscover service, and download the OAB. To do this, I used the following EMS command:</p>
<pre class="dos">New-ExchangeCertificate -domainname mail.contoso.com, exchange.contoso.local, autodiscover.contoso.com -Friendlyname &quot;Contoso Exchange CAS SAN Certificate&quot; -generaterequest:$true -keysize <span style="">1024</span> -path c:\certrequest.req -privatekeyexportable:$true –subjectname &quot;c=GB o=contoso inc, CN=mail.contoso.com&quot;</pre>
<p>This command requires a little explanation. The<em> -domainname </em>switch is used to specify a list of addresses for which this server is valid. This is called a <strong>SAN </strong>(Subject Alternative Name). Not all CA's support SANs, but Windows Server 2008's CA Services does, which I will come back to later. Next, we give the certificate a "Friendly Name", which is just a reference for you, the administrator. Then we specify that we are looking to generate and save a request, and that we want to be able to export the private key. The <strong>Subject Name</strong> is important, but also slightly confusing. You must specify your country code (US, GB, ES), your organisation name, and Common Name (<strong>CN</strong>) - which is the most important one. This must be the URL used to access the SSL service using a web browser, so mine was <em>mail.contoso.com</em>.</p>
<p>Once this request is saved, I passed it on to my CA to get the certificate issued. If you're using a 3rd party CA (like VeriSign), then you'll have to check first whether they support SANs. I use self-signed certificates, and my CA is running Windows Server 2008, which does support SANs, so I issued the request internally. This is done by accessing the CertSrv website, at http://servername/certsrv, and clicking the "Request a Certificate" link. Then, I chose "Advanced Request", and pasted the reqest file's contents into the box, and picked the "Web Server" template.</p>
<p>This presented me with a downloadable certificate, which I saved locally in CER format on the exchange server. Then I used the following command to import the certificate:</p>
<pre class="dos">Import-ExchangeCertificate –path &lt;certificate&gt;</pre>
<p>Once the certificate was imported, I enabled it for use with exchange. A similar command is used for this:</p>
<pre class="dos">Enable-ExchangeCertificate</pre>
<p>This prompted for a list of services, where I entered <em>IMAP, IIS, SMTP</em> as these are the default installed services. Only IIS actually gets used here, so I shouldn't worry too much about this one. If you're not sure, then just enter the same as me. Lastly, it asked for a thumbprint, which I copied and pasted from the output of the import command. Finally, after accepting the confirmation, the certificate was enabled.</p>
<p>And that was it. Both OWA and Outlook Anywhere are now working perfectly, and hopefully this post will help at least one other lost soul with the same problem!</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/&amp;title=Exchange+2007+Autodiscover+Issues" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/&amp;title=Exchange+2007+Autodiscover+Issues" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/&amp;title=Exchange+2007+Autodiscover+Issues" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/&amp;title=Exchange+2007+Autodiscover+Issues" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/&amp;t=Exchange+2007+Autodiscover+Issues" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Exchange+2007+Autodiscover+Issues+-+http://tinyurl.com/yz9b3er+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/&amp;n=Exchange+2007+Autodiscover+Issues&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=150&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2009/07/07/exchange-2007-autodiscover-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Roaming Firefox Profiles</title>
		<link>http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/</link>
		<comments>http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 15:22:22 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Home Network]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/?p=130</guid>
		<description><![CDATA[As a sort of follow-on from my last post, I thought I'd write a little about the latest little addition to my system - roaming Firefox profiles. This is something I had always considered to be almost impossible to achieve, without complicated logon and logoff scripts that syncronise the correct folder(s) to give the same [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-132" title="firefox-logo" src="http://www.robgolding.com/wp-content/uploads/2009/04/firefox-logo.png" alt="firefox-logo" width="195" height="100" />As a sort of follow-on from my last post, I thought I'd write a little about the latest little addition to my system - roaming Firefox profiles. This is something I had always considered to be almost impossible to achieve, without complicated logon and logoff scripts that syncronise the correct folder(s) to give the same effect as a 'redirected' profile. Well I discovered a much easier way to achieve actual *real* profile redirection, when browsing around the features offered by Group Policy Client Side Extensions.</p>
<p>The basic idea is that Firefox has a file called <strong>profiles.ini</strong>, which takes care of all the configured profiles, and where they are stored. I used this file to change the default profile location to within the user's home directory on the file server. I had to use a home drive, mapped to the root of my users' folder redirection directory on the server, as I presumed UNC paths were unsupported in the .ini file. I did this with a GP Preference drive map using the <strong>%USERNAME%</strong> variable, and an amazing feature of GP Preferences - parsing and even <em>altering </em>ini files. You can specify which section of the ini file you are interested in, and which key you want changing. How useful! My policy looks like this:</p>
<p><img class="alignleft size-full wp-image-131" style="margin: 5px 10px 5px 0px;" title="firefox-gp-policy" src="http://www.robgolding.com/wp-content/uploads/2009/04/firefox-gp-policy.png" alt="firefox-gp-policy" width="489" height="66" /></p>
<p>You can probably work out what's going on here, but I'll give a quick overview. Basically, you specify the ini file to edit - in this case it's <strong>%APPDATA%\Mozilla\Firefox\profiles.ini</strong>. Using the <strong>%APPDATA%</strong> variable means that it will always resolve to the correct location in the user's local profile, whether they are on XP or Vista. Then we specify the section of the ini file - I'm interested in <strong>Profile0</strong>. This is the only profile present by default, but allows users to have multiple profiles if they wish without overwiting their settings when they log off. Finally, you specify the key to change, and what to change it to. I rename the default profile to Firefox, and change it's location to <strong>H:\Firefox</strong>. Also, this path is not relative, so I have to change <strong>IsRelative </strong>to <strong>0</strong>.</p>
<p>OK, so now we have the Firefox profile location sorted, we need to make sure that folder exists - or Firefox will just overwrite our changes and make it's own folder in the default location. It's easy to use GP Preferences for this as well - as there's a <strong>Folders</strong> preference category. So I just made a new folders preference for <strong>\\zeus\UserData\%USERNAME%\Firefox</strong>, with the action of <strong>create</strong> (zeus is my main DC and File Server). I used the UNC path to be sure that the folder is created, even if the drive map hadn't come into effect when this preference was applied. Also, a little trick I had to pull here was ticking the checkbox titled <strong>Run in logged-on user's security context</strong> on the <strong>common </strong>tab. This is because only the user has permissions on their home directory, so this preference needed to run in the context of that user for it to work successfully (without access denied errors).</p>
<p>Once this was finished, the system started to work flawlessly. I copied the contents of existing Firefox profiles to the newly created directories, and they were picked up by Firefox with no problems. New users get blank profiles as expected, but they are stored on the file server instead of the local machine. One little issue I have encountered is that a user can't logon at more than one machine, and start Firefox - as the program can't lock particular files in the profile. This just results in a message saying this Firefox is already running though, which is pretty much correct (and I can't see why this would ever cause problems for the user).</p>
<p>The last trick I employed, to make things a little speedier and to reduce uneccesary file server traffic, was to disable disk caching on the roaming Firefox profiles. To do this, I used a file policy in GP Preferences to copy a tiny user.js (Firefox's preference file override) which contained only one line:</p>
<p><span class="note">user_pref("browser.cache.disk.enable", false);</span></p>
<p>This turns off disk caching completely, which will not only save space on the file server, but should speed things up as well. I hosted this file elsewhere on the file server, and told the file policy to simply copy it into place, within the user's Firefox profile. Here's the preference:</p>
<p><img class="alignleft size-full wp-image-139" title="firefox-userjs-gp-pref" src="http://www.robgolding.com/wp-content/uploads/2009/04/firefox-userjs-gp-pref.png" alt="firefox-userjs-gp-pref" width="502" height="35" /></p>
<p>So there you have it, my technique for enabling roaming Firefox profiles. If you've achieved the same through a different method, or have any ideas on this this could be improved, then I'd love to hear how - feel free to comment on this post.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/&amp;title=Roaming+Firefox+Profiles" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/&amp;title=Roaming+Firefox+Profiles" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/&amp;title=Roaming+Firefox+Profiles" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/&amp;title=Roaming+Firefox+Profiles" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/&amp;t=Roaming+Firefox+Profiles" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Roaming+Firefox+Profiles+-+http://tinyurl.com/yjabrkr+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/&amp;n=Roaming+Firefox+Profiles&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=130&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2009/04/13/roaming-firefox-profiles/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 Migration</title>
		<link>http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/</link>
		<comments>http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 14:18:55 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Home Network]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/?p=122</guid>
		<description><![CDATA[
Thanks to the MSDNAA program, I'm able to try out the latest version of Windows Server in the lab. I opted to migrate my domain accross to a new machine, instead of performing an in-place upgrade. Personally I feel this is a much safer bet, and tend to migrate domain controllers whenever I'm doing something [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-123 alignleft" title="windows-server-2008" src="http://www.robgolding.com/wp-content/uploads/2009/04/windows-server-2008.jpg" alt="Windows Server 2008" width="300" height="89" /></p>
<p>Thanks to the MSDNAA program, I'm able to try out the latest version of Windows Server in the lab. I opted to migrate my domain accross to a new machine, instead of performing an in-place upgrade. Personally I feel this is a much safer bet, and tend to migrate domain controllers whenever I'm doing something pretty major to a DC.</p>
<p>So far everything looks good, I've upped the forest and domain functional level to Server 2008, so I can now take advantage of some of the new features - though I'm yet to find out what they all are! The best thing so far (by a mile I'd like to add) is the addition of Group Policy Preferences. Although it's annoying having to install the Client-Side Extensions on every machine in the domain (that is if WSUS isn't in use), the gains faw outweigh this bit of pain. I only wish an MSI could have been released, so that it could easily be pushed out using the existing Group Policy infrastructure. Never mind, eh?</p>
<p><img class="size-full wp-image-127 alignright" title="gp-preferences" src="http://www.robgolding.com/wp-content/uploads/2009/04/gp-preferences.png" alt="gp-preferences" width="202" height="360" />Anyway, on with the good! The new GP Preferences allow an administrator to define, amongst others, drive maps for client machines, printer connections and power options. As you may be thinking, this just about does away with the need for logon scripts! Most, if not all of the common tasks that are performed with logon scripts can now be done from a group policy object.</p>
<p>There are also a lot of changes to the way Active Directory works. In Server 2008, Active Directory Domain Services can be installed on a machine, without actually making it a DC. What this means is that a standard server build can be 'sysprepped' with the files required for promoting the server to a DC, without actually doing the promotion. Also, Read-Only Domain Controllers (RODCs) have been introduced as a new feature. Essentially, an RODC just caches queries from a normal DC, usually located at another site - apparently allowing for faster logon times at remote sites with slow links. After discussion with a colleague, however, the benefits of such a system are maybe not quite as advertised. For example, only one RODC can be installed per site - so larger sites can't benefit from the redundancy and load balancing offered by multiple DCs, if RODCs are used. Also, the much-touted security advantages of using an RODC aren't as they seem either, as the database can be just as easily written to, just through another "normal" DC.</p>
<p>More on this later!</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/&amp;title=Windows+Server+2008+Migration" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/&amp;title=Windows+Server+2008+Migration" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/&amp;title=Windows+Server+2008+Migration" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/&amp;title=Windows+Server+2008+Migration" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/&amp;t=Windows+Server+2008+Migration" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Windows+Server+2008+Migration+-+http://tinyurl.com/yjtcq7l+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/&amp;n=Windows+Server+2008+Migration&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=122&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2009/04/10/windows-server-2008-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leveraging VSS and Robocopy for Robust Backups</title>
		<link>http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/</link>
		<comments>http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 20:50:11 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Home Network]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/?p=116</guid>
		<description><![CDATA[To go with the recent network upgrades and anti-spam system, I have been working on a new way to back all this information up. The solution I've come up with is surprisingly simple: VSS Snapshots with Robocopy to mirror the changes. The basic idea is that the backup script creates a Volume Shadow Copy Service [...]]]></description>
			<content:encoded><![CDATA[<p>To go with the recent network upgrades and anti-spam system, I have been working on a new way to back all this information up. The solution I've come up with is surprisingly simple: VSS Snapshots with Robocopy to mirror the changes. The basic idea is that the backup script creates a <strong>V</strong>olume <strong>S</strong>hadow Copy <strong>S</strong>ervice Snapshot, and "exposes" (mounts) the snapshot with an unused drive letter. Robocopy then mirrors the contents of this snapshot to the backup drive, allowing even files that are locked to be backed up. Add in a bit of error-checking and status emails, and we have a pretty solid backup system. I'll run through the details below.</p>
<p>To create the VSS snapshot, I used a script sourced from an <a href="http://blogs.msdn.com/adioltean/archive/2005/01/20/357836.aspx">MSDN blog</a> called CreateShadow, which I modified slightly to suit my purpose. I had it keep the temporary variables script, so I could use it later on (once the backup has finished) to delete the snapshot.</p>
<p>Once the snapshot is created and exposed, I used Robocopy with the mirror (/MIR) switch, to copy the contents to the backup drive. It just so happens that the backup drive is connected to a Samba server running on Ubuntu. This meant that I ran into a problem with timestamps whereby files were always classified as "newer", even if they hadn't changed at all since the last run. I fixed this by using the <strong>F</strong>at <strong>F</strong>ile <strong>T</strong>imes (/FFT) switch which gives a 2-second granularity on the timestamp of files, which solved the issue straight away.</p>
<p>The backup having completed, the script calls the temporary variables script generated by the CreateShadow script, to reinstate the snapshot ID, which is then used to remove the shadow copy cleanly.</p>
<p>In theory, this is an extremely efficient and robust backup system - not to mention being completely free of any licence fees. I may improve it in the future by adding functionality with multiple backup sets - at the moment I only have one day to recover from any accidental deletions - barring the previous versions.</p>
<p>One thing I am stuggling with at present, however, is the fact that when the backup runs under scheduled task at 3am, a number of files throw access denied errors - namely any files or directories with special characters. This is a particularly strange issue as the process works flawlessly when launched manually. I am still trying to solve the issue, but I'll be sure to post an update if and when I find the solution.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/&amp;title=Leveraging+VSS+and+Robocopy+for+Robust+Backups" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/&amp;title=Leveraging+VSS+and+Robocopy+for+Robust+Backups" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/&amp;title=Leveraging+VSS+and+Robocopy+for+Robust+Backups" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/&amp;title=Leveraging+VSS+and+Robocopy+for+Robust+Backups" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/&amp;t=Leveraging+VSS+and+Robocopy+for+Robust+Backups" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Leveraging+VSS+and+Robocopy+for+Robust+Backups+-+http://tinyurl.com/yadr2o6+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/&amp;n=Leveraging+VSS+and+Robocopy+for+Robust+Backups&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=116&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2009/01/14/leveraging-vss-and-robocopy-for-robust-backups/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Office 2007: &#8220;There has been a network or file permission error.&#8221;</title>
		<link>http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/</link>
		<comments>http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:49:30 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Home Network]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/?p=100</guid>
		<description><![CDATA[Recently I have been having a strange issue on my desktop PC, whereby saving an Office document (Word, Excel etc.) inside the My Documents folder - which is redirected to my file server - gives the following error:
There has been a network or file permission error. The network connection may be lost.
(&#60;filename&#62;)
I've been trying to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have been having a strange issue on my desktop PC, whereby saving an Office document (Word, Excel etc.) inside the My Documents folder - which is redirected to my file server - gives the following error:</p>
<blockquote><p>There has been a network or file permission error. The network connection may be lost.<br />
<var>(&lt;filename&gt;</var>)</p></blockquote>
<p>I've been trying to find out the cause of this for some time now, while working round it by simply saving the file to my desktop and copying it over to My Documents.</p>
<p>Anyway, I have just found the problem. I had a little plugin installed that allowed the indexing service on Windows Vista to index a network location, meaning I could search the My Documents folder quickly. This was the cause of the issue, and removing the index solved the problem. I wanted to write the solution up here in the hope that this helps someone in the same situation.</p>
<p class="note">Note: There have been other solutions to this problem cited, including anti-virus programs, and network congestion.The KB article for this issue is located <a title="KB291156" href="http://support.microsoft.com/kb/291156" target="_blank">here</a>.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/&amp;title=Office+2007%3A+%22There+has+been+a+network+or+file+permission+error.%22" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/&amp;title=Office+2007%3A+%22There+has+been+a+network+or+file+permission+error.%22" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/&amp;title=Office+2007%3A+%22There+has+been+a+network+or+file+permission+error.%22" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/&amp;title=Office+2007%3A+%22There+has+been+a+network+or+file+permission+error.%22" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/&amp;t=Office+2007%3A+%22There+has+been+a+network+or+file+permission+error.%22" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Office+2007%3A+%22There+has+been+a+network+or+file+permission+error.%22+-+http://tinyurl.com/yz4tdnr+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/&amp;n=Office+2007%3A+%22There+has+been+a+network+or+file+permission+error.%22&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=100&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using Locally-Attached Network Printers with Terminal Services</title>
		<link>http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/</link>
		<comments>http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 10:17:16 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/?p=49</guid>
		<description><![CDATA[If you work with Microsoft's Terminal Services on a regular basis, you've probably come accross a printing issue at some point. The point of this post is to provide a potential solution to the problem whereby locally attached network printers cannot be used from a remote terminal services session. By locally attached, I mean directly [...]]]></description>
			<content:encoded><![CDATA[<p>If you work with Microsoft's Terminal Services on a regular basis, you've probably come accross a printing issue at some point. The point of this post is to provide a potential solution to the problem whereby locally attached network printers cannot be used from a remote terminal services session. By locally attached, I mean directly connected via. IP address, and not by way of a print server. This is often the case with consumer grade network printers, or wireless equivalents.</p>
<p>The concept is simple - attach the network printer as normal, then share it. Then, connect to the share on the local machine - thus using the printer as it is connect via a print server - with the server being the local machine. Here are the steps required to achieve this:</p>
<ul>
<li>First attach the printer as normal. For the type of connection I am describing this is via. a TCP/IP port. So choose <strong>New Printer</strong> in Printers and Faxes, and then <strong>Local printer attached to this computer</strong>.</li>
<li>When asked the type of port, choose TCP/IP, and enter the IP address of the network printer.</li>
<li>Once the printer is connected, share it. This can be done from the wizard, or by using the <strong>Sharing and Security</strong> panel afterwards.</li>
<li>Then, choose <strong>New Printer</strong> again, this time selecting a network printer. Then enter <strong>\\&lt;machine_name&gt;\&lt;share_name&gt;</strong> as the path to the printer. Obviously machine name is the name of your computer, and share name is the name with which you shared the printer in the previous step.</li>
<li class="note">Note: This step will not introduce a new printer item to your list of printers, so don't be alarmed when nothing new appears. Just connect to the terminal server as in the last step.</li>
<li>Once this is done, connect to your terminal services session and wait for a minute or two for the printer to appear. Note that version 6 of the <strong>Microsoft Terminal Services Client</strong> may be required for this to work.</li>
</ul>
<p>Although it seems hacky, and untidy, this solution seems to work well, so I hope this will help at least one person out there. Happy printing.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/&amp;title=Using+Locally-Attached+Network+Printers+with+Terminal+Services" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/&amp;title=Using+Locally-Attached+Network+Printers+with+Terminal+Services" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/&amp;title=Using+Locally-Attached+Network+Printers+with+Terminal+Services" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/&amp;title=Using+Locally-Attached+Network+Printers+with+Terminal+Services" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/&amp;t=Using+Locally-Attached+Network+Printers+with+Terminal+Services" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Using+Locally-Attached+Network+Printers+with+Terminal+Services+-+http://tinyurl.com/yghcg7e+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/&amp;n=Using+Locally-Attached+Network+Printers+with+Terminal+Services&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=49&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2008/07/08/using-locally-attached-network-printers-with-terminal-services/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Restoring the Separate _msdcs Zone</title>
		<link>http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/</link>
		<comments>http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 15:36:29 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/index.php/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/</guid>
		<description><![CDATA[Okay, so if you're anything like me - and like things to be done properly first time (and also to look neat), then you'll know what I mean  when I talk about the separate _msdcs zone in DNS on a Windows AD DNS Server. Of course, you have to be a nerd, like me, [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so if you're anything like me - and like things to be done properly first time (and also to look neat), then you'll know what I mean  when I talk about the separate _msdcs zone in DNS on a Windows AD DNS Server. Of course, you have to be a nerd, like me, to know what I'm talking about here also - but that's assumed seeing as you're reading this blog.  I digress...</p>
<p>If you have ever reconfigured said DNS server, and recreated the DNS zones from scratch, you'll know that the neat zone that keeps all the SRV records separate from the oh-so-important A records, disappears - and gets put in a folder under the usual domain root.</p>
<p>Well, I have a solution to the ever so pressing issue. Obviously the only way anyone is going to risk breaking their whole Active Directory network will be if, like me, they are so _totally_ OCD about this kind of thing.</p>
<p>So, if you're interested, I've written a short article on how to restore this behaviour, and published it as always on maxms.net. If you think it might help you out, then here's the link:</p>
<p><a href="http://maxms.net/article/Restoring-the-Separate-_msdcs-Zone-in-DNS" title="Restoring the Separate _msdcs Zone in DNS">http://maxms.net/article/Restoring-the-Separate-_msdcs-Zone-in-DNS</a></p>
<p>But remember, follow that article at your own risk!</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/&amp;title=Restoring+the+Separate+_msdcs+Zone" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/&amp;title=Restoring+the+Separate+_msdcs+Zone" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/&amp;title=Restoring+the+Separate+_msdcs+Zone" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/&amp;title=Restoring+the+Separate+_msdcs+Zone" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/&amp;t=Restoring+the+Separate+_msdcs+Zone" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Restoring+the+Separate+_msdcs+Zone+-+http://tinyurl.com/y8fat66+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/&amp;n=Restoring+the+Separate+_msdcs+Zone&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=43&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2008/02/10/restoring-the-separate-_msdcs-zone-in-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Active Directory Practices</title>
		<link>http://www.robgolding.com/blog/2008/01/11/active-directory-practices/</link>
		<comments>http://www.robgolding.com/blog/2008/01/11/active-directory-practices/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 11:56:16 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/index.php/2008/01/11/active-directory-practices/</guid>
		<description><![CDATA[As a matter of curiosity more than anything, I often wonder whether other people's methods and practices for setting up AD are similar to my own. I will explain as best I can my own procedure, in an attempt to see how it compares to the rest of the IT community.
Firstly, I install DNS on [...]]]></description>
			<content:encoded><![CDATA[<p>As a matter of curiosity more than anything, I often wonder whether other people's methods and practices for setting up AD are similar to my own. I will explain as best I can my own procedure, in an attempt to see how it compares to the rest of the IT community.</p>
<p><img src="http://www.robgolding.com/wp-content/uploads/2008/01/ad.png" alt="Active Directory Tree" align="left" hspace="10" />Firstly, I install DNS on the Domain Controller to-be. I don't do any configuration on the service, just install it. Then, running DCPromo, I allow the wizard to configure the DNS Service for me. This makes sure that the two separate zones will be present - _msdcs.domain.name, and domain.name. This seems much neater to me, and I like to see this result - so I allow the wizard to take care of it.</p>
<p>When the domain is installed, the first thing I usually do is open up the default domain policy and remove all the password complexity options. These are usually just an annoyance - and unless the network has any particular security needs, I disable them all. Maybe leaving the length value at 6 if it's inappropriate to turn it off completely. I like managing GPO's from the Group Policy Management Console (GPMC), so that usually gets installed straight away.</p>
<p>In regard to the structure of the domain, I make an OU with the domain's Netbios name in the root, and under that I create some OU's as follows:</p>
<ul>
<li>Computers</li>
<li>Distribution Groups (If Exchange will be installed)</li>
<li>Security Groups</li>
<li>Servers
<ul>
<li>Exchange Servers (for a special shutdown script)</li>
</ul>
</li>
<li>System Users</li>
<li>Users</li>
</ul>
<p>As for an explanation for that Exchange Servers OU, I make a shutdown script to stop all the exchange servers when it shuts down, to make the process a hundred times faster. I am so impressed by this technique, it works flawlessly every time. This OU allows me to assign the shutdown script via GPO to all Exchange Servers in the domain. Note that the DC stays in its own Domain Controllers OU that is created by the system automatically.</p>
<p>I guess at this point I'm feeling like I should do a backup of the DC. DHCP servers need authorizing, and Remote Desktop needs configuring. When that's done, we're basically there. Get the clients joined to the domain and we're off!</p>
<p>I have no idea whether my procedure is similar to anyone elses, or in any way superior (or indeed inferior) to others. Give me some opinions anyway, it will be interesting to hear from the rest of the community.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2008/01/11/active-directory-practices/&amp;title=Active+Directory+Practices" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2008/01/11/active-directory-practices/&amp;title=Active+Directory+Practices" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2008/01/11/active-directory-practices/&amp;title=Active+Directory+Practices" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2008/01/11/active-directory-practices/&amp;title=Active+Directory+Practices" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2008/01/11/active-directory-practices/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2008/01/11/active-directory-practices/&amp;t=Active+Directory+Practices" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Active+Directory+Practices+-+http://tinyurl.com/ygmcsaq+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2008/01/11/active-directory-practices/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2008/01/11/active-directory-practices/&amp;n=Active+Directory+Practices&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=37&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2008/01/11/active-directory-practices/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Network Redesign</title>
		<link>http://www.robgolding.com/blog/2007/09/25/network-redesign/</link>
		<comments>http://www.robgolding.com/blog/2007/09/25/network-redesign/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 17:45:52 +0000</pubDate>
		<dc:creator>Rob Golding</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Home Network]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.robgolding.com/index.php/2007/09/25/network-redesign/</guid>
		<description><![CDATA[Okay, so the network that I have been managing for some time now has just undergone a pretty big redesign. It’s actually a home network, but it spans 2 sites – my house and my friend’s house. They are “joined” by a site-to-site VPN connection, which gives us a load of benefits like easily sharing [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Okay, so the network that I have been managing for some time now has just undergone a pretty big redesign. It’s actually a home network, but it spans 2 sites – my house and my friend’s house. They are “joined” by a site-to-site VPN connection, which gives us a load of benefits like easily sharing photos, programs, and an AD/Exchange forest.</p>
<p class="MsoNormal"><a href="http://www.robgolding.com/wp-content/uploads/2007/09/network-diagram-public.png" title="Network Diagram"><img src="http://www.robgolding.com/wp-content/uploads/2007/09/network-diagram-public-thumbnail.png" align="left" height="233" hspace="10" width="200" /></a>Up until recently, the network was running with just one physical server at each site, we shall call them Site A and Site B, each with <a href="http://www.vmware.com/server" target="_blank">VMware Server</a> installed. Both servers were configured almost identically, with the host machine running <a href="http://www.microsoft.com/windowsserver2003/technologies/directory/activedirectory/default.mspx" target="_blank">AD (Active Directory)</a> and <a href="http://support.microsoft.com/ph/1773" target="_blank">Exchange 2003</a>, and a VM running <a href="http://www.microsoft.com/isaserver/prodinfo/default.mspx" target="_blank">ISA Server 2006</a> for the firewall/VPN. Another VM was used for hosting some websites in the Perimeter network.</p>
<p class="MsoNormal">The redesign saw one new server in at Site A and two new servers at Site B – although the main server at Site A has been upgraded significantly. The new servers were installed to take the firewall away from the Virtual Machine to a physical one – as this is much more secure. Also, the second new server at Site B hosts Exchange, while this is now on a VM at Site A.</p>
<p class="MsoNormal">This network doesn’t support many clients or users, but it used mostly for educational purposes. For that it is perfect. We have a multi-tree forest AD configuration, with one domain for each site (or each house!), and one Exchange organisation spans the entire forest, with one Exchange server at each site. This also helps if one server/network is down, as the other will pick up the email for both sites – so we have a failsafe if one network is having problems.</p>
<p class="MsoNormal">I have published a “public” version of the network diagram, with external IP addresses/names removed, just in case anyone might find it interesting. Just click the thumbnail for a fullsize version.</p>
<p class="MsoNormal"> As you may have noticed, I've used the names of gods from Greek and Roman mythology for the servers. The web servers are the oldest ones there so they haven't been renamed yet. Maybe an exiting project for the future!</p>
<p class="MsoNormal">Both networks now have a 20mb/784kb internet connection (up/down), so the VPN link is essentialy 784kb/sec both ways. That's pretty good for things like AD replication, but not brilliant for sharing files and photos.</p>
<p class="MsoNormal">The active directory is the aspect of the network I am most proud of. Since the rebuild it has been working flawlessly, although I am forever looking at ways to expand the directory. The DC at each site hosts a DNS zone for both domains, which provides redundancy for DNS if one DC is down, and both servers hold a copy of the <a href="http://technet2.microsoft.com/windowsserver/en/library/24311c41-d2a1-4e72-a54f-150483fa885a1033.mspx?mfr=true" target="_blank">Global Catalog</a>. This allows for fast directory searches from both sites, and gives each Exchange server a GC to look to.</p>
<p class="MsoNormal">The forest is split logically, as well as physically, into sites. This allowed me to easily alter the replication schedule for the Domain Controllers, although I decided to leave this at hourly intervals, as I saw no reason to alter this value.</p>
<p class="MsoNormal">Hopefully the AD forest and network infrastructure will provide a solid base to expand on, and I will post about any major additions to the network. At present the clients consist of XP and Vista machines, but we are soon to aquire a new desktop, which will be running Vista, that will make a nice addition to AD.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.robgolding.com/blog/2007/09/25/network-redesign/&amp;title=Network+Redesign" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.robgolding.com/blog/2007/09/25/network-redesign/&amp;title=Network+Redesign" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.robgolding.com/blog/2007/09/25/network-redesign/&amp;title=Network+Redesign" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.robgolding.com/blog/2007/09/25/network-redesign/&amp;title=Network+Redesign" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.robgolding.com/blog/2007/09/25/network-redesign/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.robgolding.com/blog/2007/09/25/network-redesign/&amp;t=Network+Redesign" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Network+Redesign+-+http://tinyurl.com/yaxmvd6+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.robgolding.com/blog/2007/09/25/network-redesign/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.robgolding.com/blog/2007/09/25/network-redesign/&amp;n=Network+Redesign&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<img src="http://www.robgolding.com/?ak_action=api_record_view&id=15&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robgolding.com/blog/2007/09/25/network-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
