<?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>Saved for later reference &#187; quick</title>
	<atom:link href="http://www.lejordet.com/category/quick/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lejordet.com</link>
	<description>online repository of stuff I had to google for hours to figure out</description>
	<lastBuildDate>Tue, 31 Jan 2012 19:37:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>&#8220;Microsoft Dynamics CRM for Outlook with Offline Access has already been configured for a user on this computer. Only one use can be configured per computer for Microsoft CRM for Outlook with Offline Access.&#8221;</title>
		<link>http://www.lejordet.com/2010/09/microsoft-dynamics-crm-for-outlook-with-offline-access-has-already-been-configured-for-a-user-on-this-computer-only-one-use-can-be-configured-per-computer-for-microsoft-crm-for-outlook-with-offline/</link>
		<comments>http://www.lejordet.com/2010/09/microsoft-dynamics-crm-for-outlook-with-offline-access-has-already-been-configured-for-a-user-on-this-computer-only-one-use-can-be-configured-per-computer-for-microsoft-crm-for-outlook-with-offline/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 11:46:57 +0000</pubDate>
		<dc:creator>Lars Erik Jordet</dc:creator>
				<category><![CDATA[office]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[dynamics]]></category>
		<category><![CDATA[win32]]></category>

		<guid isPermaLink="false">http://www.lejordet.com/?p=126</guid>
		<description><![CDATA["Microsoft Dynamics CRM for Outlook with Offline Access has already been configured for a user on this computer. Only one use can be configured per computer for Microsoft CRM for Outlook with Offline Access." - how to configure Dynamics for a different user.]]></description>
			<content:encoded><![CDATA[<p>If you try to swap users on a laptop, with Dynamics CRM installed in Offline Access mode, it will give the error above; searching gave me 
<a  href="http://blogs.technet.com/b/crmchina/archive/2010/06/04/quot-microsoft-dynamics-crm-for-outlook-with-offline-access-has-already-been-configured-for-a-user-on-this-computer-only-one-use-can-be-configured-per-computer-for-microsoft-crm-for-outlook-with-offline-access-quot.aspx" onclick="javascript:pageTracker._trackPageview('/external/blogs.technet.com/b/crmchina/archive/2010/06/04/quot-microsoft-dynamics-crm-for-outlook-with-offline-access-has-already-been-configured-for-a-user-on-this-computer-only-one-use-can-be-configured-per-computer-for-microsoft-crm-for-outlook-with-offline-access-quot.aspx');" >this page from the Chinese Dynamics CRM team</a>, so I&#8217;m just going to repeat it here:</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; C:\<span style="color: #33cc33;">&gt;</span>osql –E –S localhost\CRM<br />
&nbsp; &nbsp; &nbsp; 1<span style="color: #33cc33;">&gt;</span> drop database mscrm_msde<br />
&nbsp; &nbsp; &nbsp; 2<span style="color: #33cc33;">&gt;</span> go<br />
&nbsp; &nbsp; &nbsp; 1<span style="color: #33cc33;">&gt;</span> quit</div></td></tr></tbody></table></div>
<p>Basically, you connect to the SQL Server on the local computer, and delete the Offline Access database, allowing you to reconfigure as normal. Note that this won&#8217;t let you reconfigure the user as &#8220;online only&#8221; &#8211; the new configuration will automatically be Offline Access.</p>
<p>Secondly, this works even if the user is not Local Administrator on the computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lejordet.com/2010/09/microsoft-dynamics-crm-for-outlook-with-offline-access-has-already-been-configured-for-a-user-on-this-computer-only-one-use-can-be-configured-per-computer-for-microsoft-crm-for-outlook-with-offline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to add a network printer automatically in Windows</title>
		<link>http://www.lejordet.com/2010/08/script-to-add-a-network-printer-automatically-in-windows/</link>
		<comments>http://www.lejordet.com/2010/08/script-to-add-a-network-printer-automatically-in-windows/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 08:47:04 +0000</pubDate>
		<dc:creator>Lars Erik Jordet</dc:creator>
				<category><![CDATA[quick]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[install printer]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[win32]]></category>

		<guid isPermaLink="false">http://www.lejordet.com/?p=120</guid>
		<description><![CDATA[Batch script to install or replace a Windows network printer]]></description>
			<content:encoded><![CDATA[<p>I recently had to replace a defective printer with a similar model, but different enough to need a new driver. This meant it would have a new name on the print server, and I had to figure out a way to replace the installed printer on each computer quickly. After some searching, I ended up with the following script:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">@echo off<br />
set OLDPRINTER=&quot;\\printserver\Xerox Phaser 8560N&quot;<br />
set NEWPRINTER=&quot;\\printserver\Xerox Phaser 8560DN PS&quot;<br />
rundll32 printui.dll,PrintUIEntry /q /dn /n%OLDPRINTER%<br />
rundll32 printui.dll,PrintUIEntry /in /n%NEWPRINTER% /q<br />
rundll32 printui.dll,PrintUIEntry /y /n%NEWPRINTER%</div></td></tr></tbody></table></div>
<p>The first rundll32 line quietly (/q) deletes (/dn) the printer named (/n) %OLDPRINTER%, while the second line installs (/in) the new printer %NEWPRINTER%, and the final line sets the new printer as default (/y)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lejordet.com/2010/08/script-to-add-a-network-printer-automatically-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Active Directory user GUID</title>
		<link>http://www.lejordet.com/2010/07/active-directory-user-guid/</link>
		<comments>http://www.lejordet.com/2010/07/active-directory-user-guid/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 13:26:36 +0000</pubDate>
		<dc:creator>Lars Erik Jordet</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lejordet.com/?p=106</guid>
		<description><![CDATA[PowerShell oneliner to get AD user GUID]]></description>
			<content:encoded><![CDATA[<p>I found 
<a  href="http://msgoodies.blogspot.com/2008/02/get-active-directory-object-guid-one.html" onclick="javascript:pageTracker._trackPageview('/external/msgoodies.blogspot.com/2008/02/get-active-directory-object-guid-one.html');" >this page</a> which contains an old oneliner to get a user GUID in PowerShell &#8211; but sadly it doesn&#8217;t work anymore.</p>
<p>After some tricking around, I found the following to work:</p>
<div class="codecolorer-container powershell blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="powershell codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">new-object</span> Guid<span style="color: #000000;">&#40;</span><span style="color: pink;">,</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>directoryservices.directorysearcher<span style="color: #000000;">&#93;</span> <span style="color: #800000;">&quot;(samaccountname=theuser)&quot;</span><span style="color: #000000;">&#41;</span>.findall<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">0</span><span style="color: #000000;">&#93;</span>.properties<span style="color: #000000;">&#91;</span><span style="color: #800000;">&quot;objectguid&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>.ToString<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lejordet.com/2010/07/active-directory-user-guid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Dynamics CRM installation: ASP.NET 2.0 is not installed</title>
		<link>http://www.lejordet.com/2010/07/ms-dynamics-crm-installation-asp-net-2-0-is-not-installed/</link>
		<comments>http://www.lejordet.com/2010/07/ms-dynamics-crm-installation-asp-net-2-0-is-not-installed/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 12:46:22 +0000</pubDate>
		<dc:creator>Lars Erik Jordet</dc:creator>
				<category><![CDATA[quick]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[.net2.0]]></category>
		<category><![CDATA[dynamics]]></category>
		<category><![CDATA[IIS6]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lejordet.com/?p=109</guid>
		<description><![CDATA[What to do if MS Dynamics CRM installation reports "ASP.NET 2.0 is not installed" after you've installed .NET 4.0]]></description>
			<content:encoded><![CDATA[<p>I got this error message on a server while installing Dynamics. At first I thought the problem was that my IIS is running 64 bit .NET 2.0 (I&#8217;ve had problems with that in the past), but it turns out that the actual problem is that .NET 4.0 was installed.</p>
<p>
<a  href="http://crm.vdsnickt.eu/2010/05/ms-crm-4-0-setup-error-asp-net-is-not-installed/" onclick="javascript:pageTracker._trackPageview('/external/crm.vdsnickt.eu/2010/05/ms-crm-4-0-setup-error-asp-net-is-not-installed/');" >This guy</a> figured out what the problem is: The installer checks for a specific filter in the IIS settings, which doesn&#8217;t exist when .NET 4.0 has been installed.</p>
<p>I&#8217;ll repeat the fix here, hopefully making this a bit more &#8220;discoverable&#8221; by search engines (searching the exact error message gave me nothing helpful, just tips about running <span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">aspnet_regiis.exe -i <span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">repeatedly):</span></span></p>
<p>In IIS Manager, right click Web Sites, and select Properties.</p>
<p>Under ISAPI Filters, Add a new filter you call ASP.NET_2.0.50727, pointing to C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll (assuming 64 bit server, otherwise substitute Framework for Framework64).</p>
<p>Dynamics should now install without issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lejordet.com/2010/07/ms-dynamics-crm-installation-asp-net-2-0-is-not-installed/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>&#8220;Couldn&#8217;t generate the upgrade script.&#8221; for version C.0.8.40 of MS SQL Reporting Services</title>
		<link>http://www.lejordet.com/2010/07/couldnt-generate-the-upgrade-script-for-version-c-0-8-40-of-ms-sql-reporting-services/</link>
		<comments>http://www.lejordet.com/2010/07/couldnt-generate-the-upgrade-script-for-version-c-0-8-40-of-ms-sql-reporting-services/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 08:51:42 +0000</pubDate>
		<dc:creator>Lars Erik Jordet</dc:creator>
				<category><![CDATA[quick]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[mssql2005]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lejordet.com/?p=104</guid>
		<description><![CDATA[The error message &#8220;Couldn&#8217;t generate the upgrade script&#8221; pops up during configuration of Reporting Services for MS SQL Server 2005, if you install reporting services after installing a service pack &#8211; in my case Reporting Services was installed as SP1, while the main SQL Server 2005 install was updated to SP3. Reinstalling SQL Server 2005 SP3 [...]]]></description>
			<content:encoded><![CDATA[<p>The error message &#8220;Couldn&#8217;t generate the upgrade script&#8221; pops up during configuration of Reporting Services for MS SQL Server 2005, if you install reporting services after installing a service pack &#8211; in my case Reporting Services was installed as SP1, while the main SQL Server 2005 install was updated to SP3.</p>
<p>Reinstalling 
<a  href="http://www.microsoft.com/downloads/details.aspx?FamilyID=ae7387c3-348c-4faa-8ae5-949fdfbe59c4&amp;displaylang=en" onclick="javascript:pageTracker._trackPageview('/external/www.microsoft.com/downloads/details.aspx');" >SQL Server 2005 SP3</a> fixed it.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.lejordet.com%2F2010%2F07%2Fcouldnt-generate-the-upgrade-script-for-version-c-0-8-40-of-ms-sql-reporting-services%2F&amp;title=%26%238220%3BCouldn%26%238217%3Bt%20generate%20the%20upgrade%20script.%26%238221%3B%20for%20version%20C.0.8.40%20of%20MS%20SQL%20Reporting%20Services" id="wpa2a_2"><img src="http://www.lejordet.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.lejordet.com/2010/07/couldnt-generate-the-upgrade-script-for-version-c-0-8-40-of-ms-sql-reporting-services/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
