<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Andrzej's Weblog</title>
	<atom:link href="http://alipka.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://alipka.wordpress.com</link>
	<description>Andrzej Lipka - IT Architecture Design and Consulting</description>
	<lastBuildDate>Fri, 12 Aug 2011 16:27:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='alipka.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Andrzej's Weblog</title>
		<link>http://alipka.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alipka.wordpress.com/osd.xml" title="Andrzej&#039;s Weblog" />
	<atom:link rel='hub' href='http://alipka.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to disable RBS in Sharepoint 2010</title>
		<link>http://alipka.wordpress.com/2010/06/19/how-to-disable-rbs-in-sharepoint-2010/</link>
		<comments>http://alipka.wordpress.com/2010/06/19/how-to-disable-rbs-in-sharepoint-2010/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 09:53:33 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://alipka.wordpress.com/2010/06/19/how-to-disable-rbs-in-sharepoint-2010/</guid>
		<description><![CDATA[Continuing the struggle with Remote Blob storage and Sharepoint. I have decided against using it (for now) – why? Management of it is a pain, and so for now I just use dedicated SQL databases for site collections (yes you can do this with MOSS2010). RBS in my virtualized scenario did not make much sense, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=221&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Continuing the struggle with Remote Blob storage and Sharepoint. I have decided against using it (for now) – why? Management of it is a pain, and so for now I just use dedicated SQL databases for site collections (yes you can do this with MOSS2010). RBS in my virtualized scenario did not make much sense, since I was still utilizing the same physical disks, just moving content from SQL to NTFS, which for v. large content db would make sense, but with MOSS2010 the recommended max is now 200GB. So use RBS only if you have DBs growing near above 200GB and you have separate (usually slower/cheaper) storage disks for your RBS filestream.</p>
<p>But how to disable RBS on your sharepoint 2010 content DB? I found all the steps just as difficult to figure out as for installing. Below are my findings on how I managed to disable R?BS and remove it completely of my sharepoint (I had 1 content db using it).</p>
<p>Backup 1st: Backup site collection with stsadm, backup SQL db, backup RBS blob storage (NTFS &#8211; copy when SQL server service is stopped).</p>
<p>Migrate all content off RBS to SQL and disable RBS for content db:</p>
<p>$cdb=Get-SPContentDatabase &lt;ContentDbName&gt;</p>
<p>$rbs=$cdb.RemoteBlobStorageSettings</p>
<p>$rbs.GetProviderNames()</p>
<p>$rbs.SetActiveProviderName(&quot;&quot;)</p>
<p>$rbs.Migrate() –note: this might take some time depending on amount of data in your RBS store</p>
<p>$rbs.Disable()</p>
<p>Change the default RBS garbage collection window to 0 on your content db:</p>
<p>exec mssqlrbs.rbs_sp_set_config_value &#8216;garbage_collection_time_window&#8217;,'time 00:00:00&#8242; </p>
<p>exec mssqlrbs.rbs_sp_set_config_value &#8216;delete_scan_period&#8217;,'time 00:00:00&#8242; </p>
<p>Run RBS Maintainer (and disable the task if you scheduled it):</p>
<p>&quot;C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Maintainer\Microsoft.Data.SqlRemoteBlobs.Maintainer.exe&quot; -connectionstringname RBSMaintainerConnection -operation GarbageCollection ConsistencyCheck ConsistencyCheckForStores -GarbageCollectionPhases rdo -ConsistencyCheckMode r -TimeLimit 120</p>
<p>Uninstall RBS:</p>
<p>On your content DB run: exec mssqlrbs.rbs_sp_uninstall_rbs 0 </p>
<p>Uninstall from add/remove SQL Remote Blob Storage.</p>
<p>I found that there were still filestream references in my DB, so run this on your content DB:</p>
<p>ALTER TABLE [mssqlrbs_filestream_data_1].[rbs_filestream_configuration] DROP column [filestream_value]</p>
<p>ALTER TABLE [mssqlrbs_filestream_data_1].[rbs_filestream_configuration] SET (FILESTREAM_ON = &quot;NULL&quot;)</p>
<p>Now you can remove the file and filegroup for filestream:</p>
<p>ALTER DATABASE yourdbname Remove file RBSFilestreamFile;</p>
<p>ALTER DATABASE yourdbname REMOVE FILEGROUP RBSFilestreamProvider;</p>
<p>Last step: Disable filestream in SQL Configuration Manager for your instance (if you do not use it anywhere aside this single content db with sharepoint), run SQL reset and iis reset and test.</p>
<p>You will find those links useful:</p>
<p><a href="http://sqlrbs.codeplex.com/Thread/View.aspx?ThreadId=204627">http://sqlrbs.codeplex.com/Thread/View.aspx?ThreadId=204627</a> </p>
<p><a href="http://technet.microsoft.com/en-us/library/ff628255.aspx">http://technet.microsoft.com/en-us/library/ff628255.aspx</a> </p>
<p><a href="http://technet.microsoft.com/en-us/library/ff628259.aspx">http://technet.microsoft.com/en-us/library/ff628259.aspx</a> </p>
<p><a href="http://beyondrelational.com/blogs/jacob/archive/2010/03/11/completely-removing-filestream-features-from-a-sql-server-2008-database.aspx">http://beyondrelational.com/blogs/jacob/archive/2010/03/11/completely-removing-filestream-features-from-a-sql-server-2008-database.aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=221&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2010/06/19/how-to-disable-rbs-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>Sharepoint 2010 and SQL Remote Blob Storage Issue</title>
		<link>http://alipka.wordpress.com/2010/05/29/sharepoint-2010-and-sql-remote-blob-storage-issue/</link>
		<comments>http://alipka.wordpress.com/2010/05/29/sharepoint-2010-and-sql-remote-blob-storage-issue/#comments</comments>
		<pubDate>Sat, 29 May 2010 19:08:58 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://alipka.wordpress.com/2010/05/29/sharepoint-2010-and-sql-remote-blob-storage-issue/</guid>
		<description><![CDATA[Have you tried enabling RBS on MOSS 2010? There are a bunch of blog/technet articles on how to do this. Its a real pain (administrator wise), but it can be made to work. Two things to watch out for: 1. Garbage collection. Its not done out of the box, you need to configure the RBS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=219&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have you tried enabling RBS on MOSS 2010? There are a bunch of blog/technet articles on how to do this. Its a real pain (administrator wise), but it can be made to work. Two things to watch out for:</p>
<p>1. Garbage collection. Its not done out of the box, you need to configure the RBS maintainer. See: <a href="http://blogs.msdn.com/b/sqlrbs/archive/2010/03/19/running-rbs-maintainer.aspx">http://blogs.msdn.com/b/sqlrbs/archive/2010/03/19/running-rbs-maintainer.aspx</a>, <a href="http://blogs.msdn.com/b/sqlrbs/archive/2008/08/08/rbs-garbage-collection-settings-and-rationale.aspx">http://blogs.msdn.com/b/sqlrbs/archive/2008/08/08/rbs-garbage-collection-settings-and-rationale.aspx</a> and the RBS chm help file. You should set that up in the task scheduler. And as far as I found out there is a 30day period where files are still not deleted – kind of retention period which for backup strategy makes sense. Its hard to check – documentation on details is scarce and the rbs_ sql tables are not that obvious to read.</p>
<p>2. Files larger than ~1.2MB will fail to upload IF you did not allow client access to FILESTREAM. You will see “access is denied” SqlRemoteBlobs.RemoteBlobStoreException. So go in and enable client access (I tried setting Share permissions on this but that did not work out). This is what you should have in SQL Configuration Manager for that instance:</p>
<p><a href="http://alipka.files.wordpress.com/2010/05/image.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://alipka.files.wordpress.com/2010/05/image_thumb.png?w=244&#038;h=100" width="244" height="100" /></a> </p>
<p>This is because by default 1.2MB is the limit from which SQL starts out of band access to the blobs (ref: <a title="http://blogs.msdn.com/b/sqlrbs/archive/2010/03/31/rbs-filestream-provider-small-blob-optimization-settings.aspx" href="http://blogs.msdn.com/b/sqlrbs/archive/2010/03/31/rbs-filestream-provider-small-blob-optimization-settings.aspx">http://blogs.msdn.com/b/sqlrbs/archive/2010/03/31/rbs-filestream-provider-small-blob-optimization-settings.aspx</a>). </p>
<p>It seems not many people use this feature, but if you start having 100’s GB content your SQL will quickly die without RBS…&#160; On the other hand RBS+Sharepoint integration is weak (close to none): its hard to setup, hard to maintain and backup/restore gets even more complex – so I suggest do it only on your largest content DBs and set a limit from which you move the files out to RBS, by powershell (example for 512kB):</p>
<p><em>$cbd = Get-SPContentDatabase “WSS_Content”</em></p>
<p><em>$cbd.RemoteBlobStorageSettings.MinimumBlobStorageSize=524288</em></p>
<p><em>$cdb.Update()</em></p>
<p>I have tons of other internal small KB articles like that one developed during my works, so ping me a mail if you have some strange issue and google is unable to answer.</p>
<p>I do have 1 unanswered problem though:</p>
<p>When I upload an Office 2k7 document with custom server properties from another sharepoint library (e.g. 2007) to my new moss2010 farm, I see an issue that an event handler we have is not fired. All other docs (non Office 2k7) work fine, and as soon as I remove server properties from that doc the event handler is fired… I have no idea if there is a switch somewhere in SharePoint 2010 that would resolve this – seems MOSS2010 is trying to read those server properties and this is causing some issues in our custom developed code:( debugging also doesn’t help as the event is simply not fired. ULS logs are silent on this. If you hit this or saw a similar issue let me know!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=219&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2010/05/29/sharepoint-2010-and-sql-remote-blob-storage-issue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>

		<media:content url="http://alipka.files.wordpress.com/2010/05/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;The given key was not present in the dictionary&#8221; issue in Sharepoint 2010 RTM</title>
		<link>http://alipka.wordpress.com/2010/05/13/the-given-key-was-not-present-in-the-dictionary-issue-in-sharepoint-2010-rtm/</link>
		<comments>http://alipka.wordpress.com/2010/05/13/the-given-key-was-not-present-in-the-dictionary-issue-in-sharepoint-2010-rtm/#comments</comments>
		<pubDate>Thu, 13 May 2010 16:28:14 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://alipka.wordpress.com/2010/05/13/the-given-key-was-not-present-in-the-dictionary-issue-in-sharepoint-2010-rtm/</guid>
		<description><![CDATA[Lately I hit a very strange issue while configuring Sharepoint 2010. It installed fine on Windows Server 2008 R2 with local SQL Server 2008 R2 instance. However I had strange errors in central administration, e.g.: “The given key was not present in the dictionary” error when attempting to run the Configure Farm Wizard Moreover it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=216&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately I hit a very strange issue while configuring Sharepoint 2010. It installed fine on Windows Server 2008 R2 with local SQL Server 2008 R2 instance. However I had strange errors in central administration, e.g.:</p>
<ul>
<li>“The given key was not present in the dictionary” error when attempting to run the Configure Farm Wizard</li>
<li>Moreover it seemed as though the same user had different permissions in central admin when browsing it locally on server or remotely!</li>
<li>The error&#160; “The given key was not present in the dictionary” repeated itself while attempting to configure Sharepoint SQL reporting integration/</li>
</ul>
<p>The Sharepoint logs (in “14” hive) showed that it seemed this method failed:</p>
<p>GetUserPropertyFromAD(SPWebApplication webApplicaiton, String loginName, String propertyName)</p>
<p>So I thought its an AD permission issue, and it was! I had to grant AUTHENTICATED USERS READ permission (probably read ‘some’ information would be enough) to the MOSS accounts (I granted to the DB access account and managed services account). After that an IISRESET and it worked. </p>
<p>Again Microsoft could improve its error messages – nothing new ;D</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=216&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2010/05/13/the-given-key-was-not-present-in-the-dictionary-issue-in-sharepoint-2010-rtm/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>VHD Native Boot &#8211; some gotchas to be aware of [update]</title>
		<link>http://alipka.wordpress.com/2010/02/18/vhd-native-boot-some-gotchas-to-be-aware-of/</link>
		<comments>http://alipka.wordpress.com/2010/02/18/vhd-native-boot-some-gotchas-to-be-aware-of/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 08:06:18 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alipka.wordpress.com/2010/02/18/vhd-native-boot-some-gotchas-to-be-aware-of/</guid>
		<description><![CDATA[VHD native boot – the nice new feature in WS08R2 and Win7 that allows boot from VHD. It works, you can even boot from a VHD on USB external drive, which is nice, since normally Win does not allow boot from external USB (treats it as REMOVABLE and won’t install). However there are 2 issues [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=211&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>VHD native boot – the nice new feature in WS08R2 and Win7 that allows boot from VHD. It works, you can even boot from a VHD on USB external drive, which is nice, since normally Win does not allow boot from external USB (treats it as REMOVABLE and won’t install).</p>
<p>However there are 2 issues I met that were undocumented on the web:</p>
<ol>
<li>You cannot perform a BARE METAL backup of a WS08R2 machine running on VHD. I needed to do this to transfer a VHD from 1 hardware to a different one. Ooops – no option to do that:( And since this is a full fledged VM (SQL, Sharepoint etc) Sysprep is no option. </li>
<li>If you want to move a native boot VHD to Hyper-V you need to:
<ol>
<li>Mount the VHD, open the HKLM hive from that VHD in regedit (LOAD HIVE) </li>
<li>go to CCS\Services\Intelide and change Startup to 0 (start on boot) </li>
<li>Only then you will be able to boot a VM running on hyper-v with the VHD you used for native boot. </li>
</ol>
</li>
</ol>
<p>One more interesting thing my friend, Jakub, pointed me to: if you want to move the vhd from 1 hardware to another remember this:</p>
<p><strong>bcdedit /set {guid} detecthal on</strong> (Refer to: <a href="http://technet.microsoft.com/en-us/library/dd799299(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd799299(WS.10).aspx</a>)</p>
<p>For most other issues you will find useful links on the web, e.g:</p>
<p><a title="http://blogs.msdn.com/bramveen/archive/2009/10/27/swapping-between-native-vhd-boot-and-hyper-v.aspx" href="http://blogs.msdn.com/bramveen/archive/2009/10/27/swapping-between-native-vhd-boot-and-hyper-v.aspx">http://blogs.msdn.com/bramveen/archive/2009/10/27/swapping-between-native-vhd-boot-and-hyper-v.aspx</a></p>
<p><a title="http://www.markwilson.co.uk/blog/2009/10/native-vhd-boot-windows-7-or-server-2008-r2-from-an-external-usb-drive.htm" href="http://www.markwilson.co.uk/blog/2009/10/native-vhd-boot-windows-7-or-server-2008-r2-from-an-external-usb-drive.htm">http://www.markwilson.co.uk/blog/2009/10/native-vhd-boot-windows-7-or-server-2008-r2-from-an-external-usb-drive.htm</a></p>
<p>Nice link about doing vhd boot without any OS (note you can use normal windows 7/R2 installation dvd instead of WinPE): <a title="http://blogs.msdn.com/mikeormond/archive/2009/10/09/boot-windows-7-from-vhd-without-installing-a-native-os.aspx" href="http://blogs.msdn.com/mikeormond/archive/2009/10/09/boot-windows-7-from-vhd-without-installing-a-native-os.aspx">http://blogs.msdn.com/mikeormond/archive/2009/10/09/boot-windows-7-from-vhd-without-installing-a-native-os.aspx</a></p>
<p>And a step-by-step video: <a title="http://www.ditii.com/2009/10/19/native-boot-windows-7-windows-server-2008-r2-from-vhd-on-a-windows-xp-pc/2/" href="http://www.ditii.com/2009/10/19/native-boot-windows-7-windows-server-2008-r2-from-vhd-on-a-windows-xp-pc/2/">http://www.ditii.com/2009/10/19/native-boot-windows-7-windows-server-2008-r2-from-vhd-on-a-windows-xp-pc/2/</a></p>
<p>Any my friends step by step for booting vhd off usb (in PL though): <a title="http://app-v.spaces.live.com/Blog/cns!12E9A21E4AEEFADB!275.entry" href="http://app-v.spaces.live.com/Blog/cns!12E9A21E4AEEFADB!275.entry">http://app-v.spaces.live.com/Blog/cns!12E9A21E4AEEFADB!275.entry</a></p>
<p>SEARCH TAGS: bare metal backup native vhd boot, native vhd boot does not start in hyper-v</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=211&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2010/02/18/vhd-native-boot-some-gotchas-to-be-aware-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>Sharepoint, Kerberos and Internet&#8230;</title>
		<link>http://alipka.wordpress.com/2010/01/22/sharepoint-kerberos-and-internet/</link>
		<comments>http://alipka.wordpress.com/2010/01/22/sharepoint-kerberos-and-internet/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 16:36:21 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alipka.wordpress.com/2010/01/22/sharepoint-kerberos-and-internet/</guid>
		<description><![CDATA[Lately I’ve been doing some work around Sharepoint solutions. Our company (www.predica.pl) focuses on business applications built on top of the Microsoft Sharepoint+SQL BI platform delivered to customers through Internet in the cloud computing model. This is still (at least in Poland) a novelty and there are many challenges. Not only technical, but also business [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=208&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately I’ve been doing some work around Sharepoint solutions. Our company (<a href="http://www.predica.pl">www.predica.pl</a>) focuses on business applications built on top of the Microsoft Sharepoint+SQL BI platform delivered to customers through Internet in the cloud computing model. This is still (at least in Poland) a novelty and there are many challenges. Not only technical, but also business – its not easy to find customers for those kind of advanced IT solutions. But since my blog is supposed to be at least a bit technical let me focus on that first part:0</p>
<p>In our team I’m also the ‘infrastructure guy’, which means that I forgot how to write code and now have to do the boring, dirty stuff;) Anyway if you are configuring a platform that uses IIS, Sharepoint, SQL DB, Reporting, Analysis and want to expose that to Internet you will be faced with many challenges – regardless if you are a programmer or an “ITpro/admin”. This Microsoft platform is powerful in its potential but still developing on those aspects like ease of programming or installation/configuration/maintenance/operations.</p>
<p>Anyway, let’s get to the point: you will find lots of useful information on the internet about how to configure Kerberos and Sharepoint. However most of them focus on INTRANET scenarios. Here I want to give some short tips/pointers on the most often “hicups” when exposing a solution built of varying technologies (Sharepoint Excel Services and Reporting Services, SQL Analysis Services/OLAP) over Internet. My whole list of various issues I met along the way is huge, but let me give you the top 3, which caused my biggest headaches (least or not documented anywhere in <a href="http://www.google.com">www.google.com</a> <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<ol>
<li>If you expose Sharepoint web apps to internet you cannot use Kerberos on those sites – why? because you can either use forms based authentication or windows, but NTLM (your user out there in the Internet won’t find your internal DC and even if he would, he would not get through all the firewalls with his Kerberos ticket). But if you will want (or need, as shows point 2) to delegate user credentials to the backend, you will need to configure CONSTRAINED DELEGATION, where first hop is NTLM (or any other auth) and subsequent are KERBEROS. Here is the must read:<a title="http://www.adopenstatic.com/cs/blogs/ken/archive/2007/07/19/8460.aspx" href="http://www.adopenstatic.com/cs/blogs/ken/archive/2007/07/19/8460.aspx">http://www.adopenstatic.com/cs/blogs/ken/archive/2007/07/19/8460.aspx</a>.</li>
<li>If you want to expose OLAP cubes over internet, there is a way with the magical <a href="http://bloggingabout.net/blogs/mglaser/archive/2008/08/15/configuring-http-access-to-sql-server-2008-analysis-services-on-microsoft-windows-server-2008.aspx">msmdpump.dll</a>. Two things to watch out for:</li>
<ol>
<li>you need to use this scheme of authentication: basic auth to IIS website with msmdpump.dll, then Kerberos to the backend OLAP (which is point 1)</li>
<li>If you configure the above read <a title="http://blogs.msdn.com/psssql/archive/2009/04/03/errors-may-occur-after-configuring-analysis-services-to-use-kerberos-authentication-on-advanced-encryption-standard-aware-operating-systems.aspx" href="http://blogs.msdn.com/psssql/archive/2009/04/03/errors-may-occur-after-configuring-analysis-services-to-use-kerberos-authentication-on-advanced-encryption-standard-aware-operating-systems.aspx">http://blogs.msdn.com/psssql/archive/2009/04/03/errors-may-occur-after-configuring-analysis-services-to-use-kerberos-authentication-on-advanced-encryption-standard-aware-operating-systems.aspx</a>, and install the hotfix mentioned there on ALL your farm and backend servers. Otherwise you will notice strange “message altered in transit” errors and OLAP will not work correctly. This applies to both OLAP over internet (msmdpump.dll) as well as OLAP over Excel Services</li>
</ol>
<li>There is a problem if you use the same EXCEL to connect to OLAP cube over internet (pointing to the msmdpump.dll) and still want to VIEW it in browser by using Excel Services: that will fail because of how excel services security model is currently implemented. Don’t want to go into details on that, but MSFT is aware of this and is “discussing on whether to fix it or not” (the usual;)) The only workround it to dynamically in code substitute the EXTERNAL .odc connecting to msmdpump.dll to an INTERNAL .odc that connects directly to Analysis Services when querying the Excel via Excel Services. Not nice, but otherwise you cannot view the same Excel with PivotTable in ECS and use it on the internet.</li>
</ol>
<p>To get all this right its important to understand Kerberos, and Internet is where you will find more then enough info on this. For troubleshooting I found these tools useful:</p>
<ul>
<li>Netmon (of course)</li>
<li>Fiddler&#160; (‘lightweight http netmon’;))</li>
<li>Sharepoint logs</li>
<li>IIS failed request logging</li>
<li>and of course www,google.com</li>
</ul>
<p>If you have any questions, or some feedback (other big issues you met in such setups) ping me by mail or using this blog (comments/contact).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=208&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2010/01/22/sharepoint-kerberos-and-internet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>TFS2010 Beta2 installation</title>
		<link>http://alipka.wordpress.com/2009/10/25/tfs2010-beta2-installation/</link>
		<comments>http://alipka.wordpress.com/2009/10/25/tfs2010-beta2-installation/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 19:31:39 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alipka.wordpress.com/2009/10/25/tfs2010-beta2-installation/</guid>
		<description><![CDATA[Yesterday I installed Visual Studio Team Foundation Server 2010 Beta2. I had some issues (otherwise I wouldn’t have mentioned it on my blog –right?;)) First off, I had this error, even though setup reported no errors. I could not administer the TFS (e.g. administer security). I received 500 Internal server error. Also when trying to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=203&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I installed Visual Studio Team Foundation Server 2010 Beta2. I had some issues (otherwise I wouldn’t have mentioned it on my blog –right?;))</p>
<p>First off, I had this error, even though setup reported no errors. I could not administer the TFS (e.g. administer security). I received <strong>500 Internal server error.</strong> Also when trying to browse the /TFS website. I spent some time trying to figure it out, and then went for the ‘easy’ solution. Set it up on a brand new server (in my case a VM): WS2008SP2 x64. I did NOT add web service role to the server, I just let the TFS install do it. I needed the basic installation only (no sharepoint or reporting, just source control and build). This time it worked:) </p>
<p>I figure that this could have been due to some settings on my IIS7 on the previous server, since it was also hosting other services (WSUS and Visual SourceSafe).BTW: if you are co-hosting VSS and WSUS on a 64 bit II7 you will need to turn off dynamic compression in IIS (see: <a title="http://forums.iis.net/t/1149768.aspx" href="http://forums.iis.net/t/1149768.aspx">http://forums.iis.net/t/1149768.aspx</a>) – I spent a whole day troubleshooting this!</p>
<p>TFS2010 for now seems to work great for us. Its way better than VSS for internet-based source control, and easier to set up then TFS2008. Some of the things to note: you will still need Team Explorer 2010 to create team projects, but you will be good to go using Team Explorer 2008 for most tasks, just remember to apply Visual Studio 2008 SP1 and this GDR update <a href="http://go.microsoft.com/fwlink/?LinkId=166481">http://go.microsoft.com/fwlink/?LinkId=166481</a> on it. And be careful: by default TFS2010 (that was true for 2008 too) allows shared checkouts – this can lead to some problems during merges, so the way to disable it is in team explorer (on a collection or project level) by choosing collection settings and source file types (this is a per filetype setting).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=203&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2009/10/25/tfs2010-beta2-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>P2V SQL 2008 failover cluster using vSphere</title>
		<link>http://alipka.wordpress.com/2009/10/24/p2v-sql-2008-failover-cluster-using-vsphere/</link>
		<comments>http://alipka.wordpress.com/2009/10/24/p2v-sql-2008-failover-cluster-using-vsphere/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 20:16:27 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alipka.wordpress.com/2009/10/24/p2v-sql-2008-failover-cluster-using-vsphere/</guid>
		<description><![CDATA[So I tried a rather untypical SQL cluster installation. Moreover I was tempted by all the new versions. So my target configuration was this: DELL Equallogic iSCSI SAN 1 node a physical machine 2nd node a virtual machine on VMWare vSphere4 Windows Server 2008 R2 Failover Cluster SQL Server 2008 SP1 installation in cluster As [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=202&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I tried a rather untypical SQL cluster installation. Moreover I was tempted by all the new versions. So my target configuration was this:</p>
<ul>
<li>DELL Equallogic iSCSI SAN</li>
<li>1 node a physical machine</li>
<li>2nd node a virtual machine on VMWare vSphere4</li>
<li>Windows Server 2008 R2 Failover Cluster</li>
<li>SQL Server 2008 SP1 installation in cluster</li>
</ul>
<p>As expected such a bundle of new products worked less than great together. You can make it work but, there are many tweaks needed. I ended up with the same configuration but running on WS2008SP2 instead R2. Here are a couple of tips:</p>
<ul>
<li>If you want to use VMWare in a P2V cluster, VMWare does not support MPIO in such a configuration when using VMWare’s Raw Device Mapping. So we decided just to expose iSCSI directly to the VM by using Windows iSCSI initiator inside the VM (maybe less performing, but a more robust approach)</li>
<li>Secondly, if you want an “aggregation” rather then HA-only iSCSI MPIO setup, then you need to install DELL’s Equallogic Host Integration Toolkit available from <a title="https://www.equallogic.com/support" href="https://www.equallogic.com/support">https://www.equallogic.com/support</a>. Note: to run on WS2008R2 you need v3.3 which is an early production version (but worked for us OK).</li>
<li>Next, if you want to install SQL Server 2008 on Windows 2008 Failver cluster you should slipstream the SQL installation with SP1&#160; (on R2 it won’t install at all, on Standard WS08 cluster I had and error and had to reinstall with a slipstreamed version)</li>
<li>On vSphere4 Windows 2008 R2 is incompatible with VMWare Tools (you can omit installing them or install them but WITHOUT the video driver – it will freeze your VM). </li>
</ul>
<p>So my recommendation is to go for fully physical clusters, or fully virtual and stay away from P2V configurations. Additionally wait for full SQL2008 on WS2008R2 and WS2008R2 on VMWare (supposed to be some patch available soon) support.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=202&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2009/10/24/p2v-sql-2008-failover-cluster-using-vsphere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>Import users from CSV file into Active Directory &#8211; the easy way</title>
		<link>http://alipka.wordpress.com/2009/10/19/import-users-from-csv-file-into-active-directory-the-easy-way/</link>
		<comments>http://alipka.wordpress.com/2009/10/19/import-users-from-csv-file-into-active-directory-the-easy-way/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 20:18:48 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alipka.wordpress.com/2009/10/19/import-users-from-csv-file-into-active-directory-the-easy-way/</guid>
		<description><![CDATA[OK, this is a task that probably everyone been faced with… Kinda boring.. There’s a lot of ways and tools to do it: ldifde, csvde, powershell, vbscript… However my favorite is this one-liner with the help of Joe’s admod tool: admod -csv -add -import -unsafe -cont &#60; .\UserImport.csv (unsafe to import a lot of objects, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=200&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, this is a task that probably everyone been faced with… Kinda boring.. There’s a lot of ways and tools to do it: ldifde, csvde, powershell, vbscript…</p>
<p>However my favorite is this one-liner with the help of Joe’s <a href="http://www.joeware.net/freetools/tools/admod/index.htm">admod</a> tool:</p>
<p><strong>admod -csv -add -import -unsafe -cont &lt; .\UserImport.csv</strong></p>
<p>(unsafe to import a lot of objects, cont to continue importing if an entry fails)</p>
<p>It will create disabled users, with blank password, and change password at first logon attribute set. It seems the fastest and easiest method (thanks to Tomek for pointing this out to me).</p>
<p>Your CSV just needs to have DN as the first value. If you are wondering what attributes to add to the file, there’s a ton… </p>
<p>My sample is:</p>
<p>dn,objectClass,sAMAccountName,sn,givenName,userPrincipalName,name,displayName,initials,Description,company,telephoneNumber,mobile,physicalDeliveryOfficeName,department,title,facsimileTelephoneNumber,EmployeeID,EmployeeNumber,Manager,c,co</p>
<p>Oh, and if you are adding manager attribute, of course you need to make sure the manager account is on the list before the “managed” person.</p>
<p>If you are wondering what else to add, whole list of attributes for your reference is attached <a href="http://cid-fded5c90960743bd.skydrive.live.com/self.aspx/Public/AllADAttributes.txt">here</a>.</p>
<p>If you want to modify your users after that use Tomek’s <a href="http://www.w2k.pl/faq-5-jak-szybko-zmodyfikowac-dane-uzytkownika-na-podstawie-pliku-csv/">tip</a> with adfind, admod combination.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=200&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2009/10/19/import-users-from-csv-file-into-active-directory-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>P2V for end-user scenarios?</title>
		<link>http://alipka.wordpress.com/2009/10/14/p2v-for-end-user-scenarios/</link>
		<comments>http://alipka.wordpress.com/2009/10/14/p2v-for-end-user-scenarios/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 14:08:10 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alipka.wordpress.com/2009/10/14/p2v-for-end-user-scenarios/</guid>
		<description><![CDATA[I am definitely far from gadgets fan, and new things reach me last;) But finally I decided to upgrade my laptop from Vista to Win7. Vista is a disaster of an OS, but since I do not like reinstallations, I managed to tune it so it worked. A notebook is my tool, just like a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=196&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am definitely far from gadgets fan, and new things reach me last;) But finally I decided to upgrade my laptop from Vista to Win7. Vista is a disaster of an OS, but since I do not like reinstallations, I managed to tune it so it worked. A notebook is my tool, just like a hammer:0 so I didn&#8217;t bother until I had to: I simply had to run a VM from Windows Virtual PC (which runs only on Win7 and is not backwards compatible with VPC2007).</p>
<p>Since I work in DELL, and to have access to mail (except OWA) I need a domain joined laptop I had figured out such configuration: I will install physical machine from corporate DELL image, P2V this to a VM, and run my corporate VM on  Win7 x64 workgroup computer (I don’t like all these agents, scripts and policies;))</p>
<p>I had to install on physical first, because DELL does not allow joining to domain non-corporate images, and moreover has a strict policy on hardware – to user binding via the service tag. Its not possible to install the image directly in a VM – it will attempt to read a service tag. All this is performed by SCCM Task sequences (looking at it from end-user perspective it must be huuge..).</p>
<p>Anyway the process looked easier then it was in fact, but I finally managed. This is how it went – in case you ever stumble upon such issues it may be handy:</p>
<ol>
<li>Install Win7 on physical machine. Lengthy but easy process, Dell IT automated.</li>
<li>Disconnect the machine as soon as possible from the network so that the safeboot agent does not have enough time to get pushed and encrypt the drive.</li>
<li>P2V using a great sysinternals tool disk2vhd:<a title="Disk2vhd" href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx">Disk2vhd</a>. I love their tools for their simplicity.</li>
<li>The VHD created is a dynamically expanding VHD with max size that of original physical disk.</li>
<li>Attempting to start the VM in Windows Virtual PC failed. The IDE bus implemented there supports disks only up to 127 GB (mine was 136). That limitation is not present in Hyper-V.</li>
<li>I tried using <a href="http://vmtoolkit.com/files/folders/converters/entry87.aspx">VHDResizer</a>. No luck. Again this seemed not to support such large files.</li>
<li>So I mounted the VHD under Win7 – YES, you can do that now out of the box in Win7. And shrunk the LOGICAL partition below 127GB.</li>
<li>I still could not start the VM in Windows Virtual PC, but I managed to use VHDResizer to resize the VHD to the amount I specified when shrinking the logical partition.</li>
<li>Now I could start the VM, but… “OS boot could not be found”.</li>
<li>A Windows repair (insert Win7 DVD iso, boot VM, do a repair) finally helped (I think shrinking the logical volume caused deletion of some boot information – which is fixed with bcdedit by the repair action automatically).</li>
<li>Finally clean up physical devices from devmgmt.msc so that the VM boots faster: <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1014169">VMware KB Article</a>.</li>
<li>Ta..da.. in the end I can have my desired setup: separated VM for corporate stuff, boots much faster, encrypt all with BitLocker.</li>
</ol>
<p>I am longing to see a day when IT will really be easier than THAT. However I sense that soon we will have bare metal hyper-visors on desktops, so that your WORK, HOME vms do not interfere and you can use one HW for many purposes. That is a solid security boundary, however I am in doubt when I see that I can save a report in IE to PDF on my HOST, without having Acrobat Reader installed there (by using the instance in my VM). This is a fascinating approach, but gives me some security shivers (imagine a virus – how easy can it then spread from your VMs to host…)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=196&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2009/10/14/p2v-for-end-user-scenarios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s been a long time &#8211; what&#8217;s new???</title>
		<link>http://alipka.wordpress.com/2009/10/12/its-been-a-long-time-whats-new/</link>
		<comments>http://alipka.wordpress.com/2009/10/12/its-been-a-long-time-whats-new/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 16:13:03 +0000</pubDate>
		<dc:creator>alipka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alipka.wordpress.com/2009/10/12/its-been-a-long-time-whats-new/</guid>
		<description><![CDATA[It’s been a very long time since I wrote anything on my blog. Lots of things have changed during the last half year – both in my private and professional life. The original reason why I started this blog is “gone with the wind”&#8230; Meanwhile I have lost a lot of my original passion for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=191&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It’s been a very long time since I wrote anything on my blog. Lots of things have changed during the last half year – both in my private and professional life. The original reason why I started this blog is “gone with the wind”&#8230; Meanwhile I have lost a lot of my original passion for technology, luckily not altogether and most important not for life in general. The spectrum of activities a human can engage in is so huge, that I think I will keep myself busy in this life:)</p>
<p>Back to some news: first off I started my company with a couple of friends – working “after hours” (big challenge). You can see our website: <a href="http://www.predica.pl">www.predica.pl</a>. We focus on IT systems and applications developed in hosted scenarios: we cover business analysis, software development, hosting, maintenance etc. taking the headache of IT away from you:)</p>
<p>I also did a presentation on virtualization (Microsoft+DELL add-ons) during Microsoft Technology Summit 2009 in Warsaw. You can grab PPT from it here: <a href="http://cid-fded5c90960743bd.skydrive.live.com/self.aspx/Public/PPT/MTS%202009%20-%20Andrzej%20Lipka%20Wirtualizacja%20pod%20kontrola.pptx">MTSDemoAlipka</a>. You want see much since 50% of it were demos. But at least you can get the gist of it..</p>
<p>I will be at TechEd 2009 in Berlin (next month), but as attendee not presenter, so if you’ll be there – ping me and we can meet for a beer for sure:)</p>
<p>Besides, I started climbing again, and its been great. Finding back old friends still doing it, visiting some new places (Indian Creek, US is a must! and Labak in Czech Republic – all you will ever want in crag climbing), and finding out that I still have lots of fun climbing. Ran two marathons – originally supposed to be one, but I needed to improve my time:)</p>
<p>I will try to improve my “post rate”. My blogging guru Tomek (<a title="http://www.w2k.pl/" href="http://www.w2k.pl/">http://www.w2k.pl/</a>, <a title="http://blogs.dirteam.com/blogs/tomek/" href="http://blogs.dirteam.com/blogs/tomek/">http://blogs.dirteam.com/blogs/tomek/</a>) is not letting his guard down, even though having a lot on his shoulders lately:) </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alipka.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alipka.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alipka.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alipka.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alipka.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alipka.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alipka.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alipka.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alipka.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alipka.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alipka.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alipka.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alipka.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alipka.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alipka.wordpress.com&amp;blog=4818397&amp;post=191&amp;subd=alipka&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sharedaddy-dark sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://alipka.wordpress.com/2009/10/12/its-been-a-long-time-whats-new/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6023a9d7fa258713b481a075bf67cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alipka</media:title>
		</media:content>
	</item>
	</channel>
</rss>
