<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.dirteam.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Dirteam.com/ActiveDir.org Blogs</title><link>http://blogs.dirteam.com/blogs/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Changing Windows 7 back to the ‘old’ Windows</title><link>http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2009/06/27/changing-windows-7-back-to-the-old-windows.aspx</link><pubDate>Sat, 27 Jun 2009 18:13:37 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4028</guid><dc:creator>Sander Berkouwer</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 10px; display: inline; border-top: 0px; border-right: 0px" title="boxshots" border="0" alt="boxshots" align="right" src="http://blogs.dirteam.com/blogs/sanderberkouwer/boxshots_2ED772B6.jpg" width="162" height="142" /&gt; Windows 7 has a mass appeal to Windows XP users and their system administrators. While major advances were made in Windows Vista and Windows 7, you will always find people opposing change. And, boy! A lot has changed in the user interface since Windows XP!&lt;/p&gt;  &lt;p&gt;In the past opposition has been dealt with with deception many times. The first sewing machines, for instance, were disguised as furniture, so they’d lack any resemblance with the industrial sewing machines found in factories.&lt;/p&gt;  &lt;p&gt;In this post I’ll show you how to revert parts of the user interface in Windows 7 back to Windows XP. Using clear step-by-step procedures you’ll find how to:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Go back to grey windows and bars &lt;/li&gt;    &lt;li&gt;Change back the Taskbar and re-enable the Quick Launch &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;h1&gt;Fade to grey&lt;/h1&gt;  &lt;p&gt;To lose the transparency on the taskbar and revert it back to grey, all you need to do is select the Windows Classic theme. To select it, right-click on an empty space on the desktop and select &lt;strong&gt;Personalize&lt;/strong&gt; from the context menu. Under &lt;strong&gt;Change the visuals and sounds on your computer&lt;/strong&gt; scroll down to &lt;strong&gt;Basic and High Contrast Themes (6)&lt;/strong&gt;. Select &lt;strong&gt;Windows Classic&lt;/strong&gt; as your theme. Close the Personalization window.&lt;/p&gt;  &lt;p&gt;The Windows Classic theme will also automatically change the Window borders to Windows XP-style dimensions. &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;h1&gt;The taskbar&lt;/h1&gt;  &lt;p&gt;One of the major improvements in Windows 7 is the new taskbar and the Aero capabilities, Flip 3D, Aero Shake, Aero Snap and Aero Peek, coming with it. The taskbar even got a new name: “The Superbar”. It, of course,&amp;#160; is the first giveaway to Windows XP users, something has changed. &lt;/p&gt;  &lt;h2&gt;Correct the buttons and the height&lt;/h2&gt;  &lt;p&gt;To correct the lay-out of the taskbar itself, you need to edit its properties. Right-click on an empty space on the taskbar and select &lt;strong&gt;Properties&lt;/strong&gt; from the context menu. Perform the following actions:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Under &lt;strong&gt;Taskbar appearance&lt;/strong&gt; select &lt;strong&gt;Use small &lt;u&gt;i&lt;/u&gt;cons&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Under &lt;strong&gt;Taskbar appearance&lt;/strong&gt; select &lt;strong&gt;Combine when taskbar is full&lt;/strong&gt; as value for &lt;strong&gt;Taskbar &lt;u&gt;b&lt;/u&gt;uttons&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Now all you need to do is unpin the programs, currently available on the taskbar. &lt;/p&gt;  &lt;h2&gt;Re-enable the Quick Launch icons&lt;/h2&gt;  &lt;p&gt;With the standard Windows 7 buttons gone, you can start re-enabling the Quick Launch icons Windows XP users love. For this you need to add the Quick Launch Toolbar to the taskbar. Your first step is to right-click on an empty space on the taskbar, expand &lt;strong&gt;Toolbars &lt;/strong&gt;and click on &lt;strong&gt;New toolbar…&lt;/strong&gt;. The New Toolbar – Choose a folder window appears. Type the following location in the &lt;strong&gt;Folder:&lt;/strong&gt; field:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;%appdata%\Microsoft\Internet Explorer\Quick Launch&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Click Select folder to add the Quick Launch folder to your taskbar. It should appear on the right side of your taskbar. Of course this is not the place where you’d want the Quick Launch bar or how you want it to look, so let’s change that.&lt;/p&gt;  &lt;p&gt;First off, right-click on the Quick Launch label and deselect both &lt;strong&gt;Show Text&lt;/strong&gt; and &lt;strong&gt;Show title&lt;/strong&gt;. Now right-click on en empty space on the taskbar and deselect &lt;strong&gt;Lock the taskbar&lt;/strong&gt;. Drag the Quick Launch bar next to the Start Button, where Windows XP lovers would expect it to be. If necessary swap dragging the Quick Launch with the other taskbar areas.&lt;/p&gt;  &lt;h2&gt;Fix Windows Live Messenger&lt;/h2&gt;  &lt;p&gt;One of the annoyances in Windows 7 is the way Windows Live Messenger interacts with its taskbar buttons. With the Windows XP settings you’ll find starting Windows Live Messenger results in two taskbar buttons. To fix this you’ll need to run Windows Live Messenger in Windows Vista compatibility mode.&lt;/p&gt;  &lt;p&gt;In the Start Menu Search field type &lt;strong&gt;msnmsgr.exe&lt;/strong&gt;. Right-click the search result and select &lt;strong&gt;Properties&lt;/strong&gt; from the context menu. Open the &lt;strong&gt;Compatibility&lt;/strong&gt; tab. Under &lt;strong&gt;Compatibility Mode&lt;/strong&gt; select &lt;strong&gt;Windows Vista&lt;/strong&gt; for the &lt;strong&gt;Run this program in compatibility mode for:&lt;/strong&gt; field. Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;h1&gt;Concluding&lt;/h1&gt;  &lt;p&gt;It’s not hard to revert parts of the user interface in Windows 7 back to Windows XP and fool users at first glance. This might just be what you need to convince your users their new desktops are up to spec.&lt;/p&gt;  &lt;h2&gt;Further reading&lt;/h2&gt;  &lt;p&gt;&lt;a href="http://www.gravityblue.com/2009/06/20/get-windows-7-taskbar-on-windows-xp/"&gt;Get Windows 7 Taskbar On Windows XP&lt;/a&gt;     &lt;br /&gt;&lt;a href="http://uxevangelist.blogspot.com/2009/06/windows-7-superbar-for-xp-viglance.html"&gt;Windows 7 Superbar for XP: ViGlance&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://radicaldevelopment.net/blog/windows-7-tips-round-one/"&gt;Windows 7 Tips: Round One&lt;/a&gt;&amp;#160;&amp;#160; &lt;br /&gt;&lt;a href="http://on10.net/blogs/sarahintampa/Tweak-the-Windows-7-Taskbar-with-Taskbar-Overlord/"&gt;Tweak the Windows 7 Taskbar with Taskbar Overlord&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://lifehacker.com/5280228/taskbar-overlord-tweaks-the-windows-7-taskbar"&gt;Taskbar Overlord Tweaks the Windows 7 Taskbar&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://blogs.microsoft.co.il/blogs/sasha/archive/2009/06/16/windows-7-taskbar-some-beta-to-rc-changes.aspx"&gt;Windows 7 Taskbar: Some Beta to RC Changes&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://www.neowin.net/news/main/09/01/15/windows-7-superbar-overview"&gt;Windows 7: Superbar Overview&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://www.askvg.com/how-to-get-the-old-thin-taskbar-buttons-with-text-in-windows-7/"&gt;How to Get the Old Thin Taskbar Buttons with Text in Windows 7?&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://www.howtogeek.com/howto/windows-7/make-the-windows-7-taskbar-work-more-like-windows-xp-or-vista/"&gt;Make the Windows 7 Taskbar Work More Like Windows XP or Vista&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="The Windows 7 Taskbar "&gt;The Windows 7 Taskbar&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://windowsteamblog.com/blogs/windowsexperience/archive/2008/11/23/the-new-windows-taskbar-in-windows-7.aspx"&gt;The New Windows Taskbar in Windows 7&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://forums.techarena.in/customize-desktop/1119228.htm"&gt;Restore classical Taskbar in Windows 7&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://www.istartedsomething.com/20080529/evolution-of-taskbar-windows-7/"&gt;Evolution of the taskbar in Windows 7 – “Superbar” &lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://arstechnica.com/microsoft/news/2008/10/more-on-the-windows-7-ui-new-taskbar-will-be-mandatory.ars"&gt;More on the Windows 7 UI: new taskbar will be mandatory&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://www.computing.net/answers/windows-7/turn-windows-7-taskbar-back-to-classic-mode/87.html"&gt;How to Enable or Disable Quick Launch in Windows 7&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;h3&gt;&lt;font color="#ff0000"&gt;Disclaimer Pre-release Software&lt;/font&gt;&lt;/h3&gt;  &lt;p&gt;The information on this webpage applies to software from Microsoft that was in testing phase but utilizable by experienced users by the time the webpage was written. This software has not been released for sale, distribution or usage for the general public. The information on this webpage and the software are provided &amp;quot;&lt;strong&gt;as is&lt;/strong&gt;&amp;quot; without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. &lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4028" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Beta+experiences/default.aspx">Beta experiences</category><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Microsoft+Windows+7/default.aspx">Microsoft Windows 7</category></item><item><title>A dream come true… (looking back at 3 years of blogging)</title><link>http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2009/06/26/a-dream-come-true-looking-back-at-3-years-of-blogging.aspx</link><pubDate>Fri, 26 Jun 2009 21:39:43 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4026</guid><dc:creator>Sander Berkouwer</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="OnTheCouch" border="0" alt="OnTheCouch" src="http://blogs.dirteam.com/blogs/sanderberkouwer/OnTheCouch_65ECE09D.jpg" width="512" height="512" /&gt; &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;&lt;em&gt;“I’ve always believed in information equality.”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;While hundreds of companies charge their customers for services with knowledge and experience as unique selling points (USPs), I’ve sat on the sideline enjoying the view. I heard these companies (most of them Microsoft Partners) complaining about shifting expectations and a changing landscape. They fear becoming obsolete, because customers wise up and Microsoft (among others) supply standard tools, frameworks and even products to replace their tools, frameworks and products. &lt;a href="http://searchitchannel.techtarget.com/news/article/0,289142,sid96_gci1275012,00.html"&gt;Lately even with Online Services&lt;/a&gt;. I’ve known information is dynamic in nature. I expected nothing less in this line of business.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;&lt;em&gt;“It’s why I started blogging.”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I felt information can be made available freely, without repercussions. Standard practices may be shared without cost, product pitfalls may be found easily and demos can be shown indefinitely. In the end for business it’s not information that counts, but relationships and reputation. I feel a customer should connect without you, not because he knows you’re capable of doing the job, but because you’re granted the job.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;&lt;em&gt;“It’s why I kept blogging.”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;My employer benefits from my blog. Not in a direct financial way, but in an indirect relationship-based way. Because when I speak to a client I direct them to information I’ve shared here.&amp;#160; Because when the (potential) customer reads the information he is reminded of the ways of his current IT partner. … and not just customers. Other IT Pros started reading this blog as well… and linking back to it. As a company we could have generated more revenue on the short term (if our sales force would be up to spec) but in the long term we’re seeing increased deal sizes, etc.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;&lt;em&gt;“It’s way this blog had 250.000+ hits in three years.”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Today marks the third anniversary of this blog. A lot has happened in my life. I’ve become a father, an MVP, a Product Manager and even a Bachelor in ICT. I’ve continued to share my creative views on using Microsoft products and technologies (Active Directory, Hyper-V) and people obviously like them. Starting from 0 visitors per day, back in June 2006, this blog picked up to receive nearly 700 hits per day (on weekdays). The rate in which these hits increase is even more staggering: It doubles every year. The first year this blog saw 35,000 hits, the second year 70,000 and in the third year it reached its current 140,000 hit/year average.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;&lt;em&gt;“It’s why I’m passionate about this website.”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;With my blog receiving a third the hits of &lt;a href="http://blogs.dirteam.com/blogs"&gt;the DirTeam.com / ActiveDir.org Weblogs&lt;/a&gt; I didn’t need to think twice when &lt;a href="http://blogs.dirteam.com/blogs/carlos"&gt;Carlos&lt;/a&gt; asked me to become the Chief Technology Officer (CTO) of the website, effectively making sure the website(s) on these servers continue to run smoothly.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;&lt;em&gt;“It’s why I love this stuff”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Being awarded a 2009 Microsoft Most Valuable Professional (MVP) award for Directory Services is simply the icing on the cake. I’m making an effort because I want to and because people ask me to. People keep telling me I’m doing a brilliant job. That’s what keeps me going. Microsoft recognizes me and values my feedback. That’s nice.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;&lt;em&gt;“It’s why it feels like a dream come true”&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Just a simple guy, with a simple view and simple means, making an effort. Being noticed, being seen. It’s like a dream come true…&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4026" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Community/default.aspx">Community</category><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Personal/default.aspx">Personal</category></item><item><title>Command Line version of Server Manager in Windows Server 2008 R2</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/20/command-line-version-of-server-manager-in-windows-server-2008-r2.aspx</link><pubDate>Sat, 20 Jun 2009 20:29:39 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4022</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Today I was playing with "ServerManagerCMD.EXE" Windows Server 2008 R2. When I executed it I saw the following informational message:
&lt;/p&gt;&lt;p&gt;&lt;em&gt;"Servermanagercmd.exe is deprecated, and is not guaranteed to be supported in future releases of Windows. We recommend that you use the Windows PowerShell cmdlets that are available for Server Manager."
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;It was created in Windows Server 2008 and it is already deprecated! &lt;span style="font-family:Wingdings"&gt;J&lt;/span&gt;
	&lt;/p&gt;&lt;p&gt;It is not really a surprise, because Microsoft is going all the way with PowerShell and more and more products are becoming PowerShell-enabled. Also see &lt;a href="http://blogs.dirteam.com/blogs/jorge/archive/2009/06/20/which-powershell-snap-ins-and-modules-are-available-for-use.aspx"&gt;this post&lt;/a&gt; on how to use snap-ins/modules.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:red"&gt;&lt;strong&gt;So instead of….
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;ServerManagerCmd.exe
&lt;/p&gt;&lt;p&gt;Installs and removes roles, role services and features. Also displays the list of all roles, role services, and features available, and shows which are installed on this computer. For additional information about the roles, roles services, and features that you can specify using this tool, refer to the Help for Server Manager.
&lt;/p&gt;&lt;p&gt;      -query [&amp;lt;query.xml&amp;gt;] [-logPath &amp;lt;log.txt&amp;gt;]
&lt;/p&gt;&lt;p&gt;      -install &amp;lt;name&amp;gt;
&lt;/p&gt;&lt;p&gt;          [-resultPath &amp;lt;result.xml&amp;gt; [-restart] | -whatIf] [-logPath &amp;lt;log.txt&amp;gt;]
&lt;/p&gt;&lt;p&gt;          [-allSubFeatures]
&lt;/p&gt;&lt;p&gt;      -remove &amp;lt;name&amp;gt;
&lt;/p&gt;&lt;p&gt;          [-resultPath &amp;lt;result.xml&amp;gt; [-restart] | -whatIf] [-logPath &amp;lt;log.txt&amp;gt;]
&lt;/p&gt;&lt;p&gt;      -inputPath &amp;lt;answer.xml&amp;gt;
&lt;/p&gt;&lt;p&gt;          [-resultPath &amp;lt;result.xml&amp;gt; [-restart] | -whatIf] [-logPath &amp;lt;log.txt&amp;gt;]
&lt;/p&gt;&lt;p&gt;      -help | -?
&lt;/p&gt;&lt;p&gt;      -version
&lt;/p&gt;&lt;p&gt;Switch Parameters:
&lt;/p&gt;&lt;p&gt;  -query [&amp;lt;query.xml&amp;gt;]
&lt;/p&gt;&lt;p&gt;        Display a list of all roles, role services, and features available, and shows which are installed on this computer. (Short form: -q) If &amp;lt;query.xml&amp;gt; is specified, the information is also saved to a query.xml file with additional information.
&lt;/p&gt;&lt;p&gt;  -inputPath &amp;lt;answer.xml&amp;gt;
&lt;/p&gt;&lt;p&gt;        Installs or removes the roles, role services, and features specified in an XML answer file, the path and name of which is represent by &amp;lt;answer.xml&amp;gt;. (ShortForm: -ip)
&lt;/p&gt;&lt;p&gt;  -install &amp;lt;name&amp;gt;
&lt;/p&gt;&lt;p&gt;        Installs the role, role service, or feature on the computer that is specified by the &amp;lt;name&amp;gt; parameter. Multiple roles, role services or features must be separated by spaces.  (ShortForm: -i)
&lt;/p&gt;&lt;p&gt;  -allSubFeatures
&lt;/p&gt;&lt;p&gt;        Used with the -install parameter to install all subordinate role services and features along with the role, role service, or feature named with the -install parameter. (Short form: -a)
&lt;/p&gt;&lt;p&gt;  -remove &amp;lt;name&amp;gt;
&lt;/p&gt;&lt;p&gt;        Removes the role, role service, or feature from the computer that is specified by the &amp;lt;name&amp;gt; parameter. Multiple roles, role services or features must be separated by spaces.  (ShortForm: -r)
&lt;/p&gt;&lt;p&gt;  -resultPath &amp;lt;result.xml&amp;gt;
&lt;/p&gt;&lt;p&gt;        Saves the result of the ServerManagerCmd.exe operation to a &amp;lt;result.xml&amp;gt; file, in XML format. (Short form: -rp)
&lt;/p&gt;&lt;p&gt;  -restart
&lt;/p&gt;&lt;p&gt;        Restarts the computer automatically, if restarting is necessary to complete the operation.
&lt;/p&gt;&lt;p&gt;  -whatIf
&lt;/p&gt;&lt;p&gt;        Display the operations to be performed on the current computer that are specified in the answer.xml file. (Short form: -w)
&lt;/p&gt;&lt;p&gt;  -logPath &amp;lt;log.txt&amp;gt;
&lt;/p&gt;&lt;p&gt;        Specify the non-default location for the log file. (Short form: -l)
&lt;/p&gt;&lt;p&gt;  -help
&lt;/p&gt;&lt;p&gt;        Display help information. (Short form: -?)
&lt;/p&gt;&lt;p&gt;  -version
&lt;/p&gt;&lt;p&gt;        Display the version of the Server Manager command that is running,  Microsoft trademark information, and the operating system.
&lt;/p&gt;&lt;p&gt;        (Short form: -v)
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Examples:
&lt;/p&gt;&lt;p&gt;    ServerManagerCmd.exe -query
&lt;/p&gt;&lt;p&gt;    ServerManagerCmd.exe -install Web-Server -resultPath installResult.xml
&lt;/p&gt;&lt;p&gt;    ServerManagerCmd.exe -inputPath install.xml -whatIf
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:red"&gt;&lt;strong&gt;You should start using….
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;For Server Manager with PowerShell you should do the following:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Start PowerShell (e.g. from the command-line type POWERSHELL)
&lt;/li&gt;&lt;li&gt;Import the Server Manager Module with: Import-Module ServerManager
&lt;/li&gt;&lt;li&gt;&lt;div&gt;You will get the following cmdlets to list/add/remove &lt;em&gt;features AND roles&lt;/em&gt;:
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Get-WindowsFeature --&amp;gt; lists available features and roles and which features and roles are installed at that moment
&lt;/li&gt;&lt;li&gt;Add-WindowsFeature --&amp;gt; installs a feature or role
&lt;/li&gt;&lt;li&gt;Remove-WindowsFeature --&amp;gt; removes a feature or role
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Also check out: &lt;a href="http://technet.microsoft.com/en-us/library/dd378896(WS.10).aspx"&gt;http://technet.microsoft.com/en-us/library/dd378896(WS.10).aspx&lt;/a&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4022" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>Which PowerShell Snap-Ins and Modules are available for use?</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/20/which-powershell-snap-ins-and-modules-are-available-for-use.aspx</link><pubDate>Sat, 20 Jun 2009 20:09:19 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4021</guid><dc:creator>Jorge</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This is the way to determine which PowerShell Snap-Ins and Modules are available in Windows Server 2008 R2…
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:red"&gt;&lt;strong&gt;PS C:\&amp;gt; Get-PSSnapin
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Name&lt;/em&gt;        : Microsoft.PowerShell.Diagnostics
&lt;/p&gt;&lt;p&gt;&lt;em&gt;PSVersion&lt;/em&gt;   : 2.0
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Description&lt;/em&gt; : This Windows PowerShell snap-in contains Windows Eventing and Performance Counter cmdlets.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;Name&lt;/em&gt;        : Microsoft.WSMan.Management
&lt;/p&gt;&lt;p&gt;&lt;em&gt;PSVersion&lt;/em&gt;   : 2.0
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Description&lt;/em&gt; : This Windows PowerShell snap-in contains cmdlets (such as Get-WSManInstance and Set-WSManInstance) that are used by the Windows PowerShell host to manage WSMan operations.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;Name&lt;/em&gt;        : Microsoft.PowerShell.Core
&lt;/p&gt;&lt;p&gt;&lt;em&gt;PSVersion&lt;/em&gt;   : 2.0
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Description&lt;/em&gt; : This Windows PowerShell snap-in contains cmdlets used to manage components of Windows PowerShell.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;Name&lt;/em&gt;        : Microsoft.PowerShell.Utility
&lt;/p&gt;&lt;p&gt;&lt;em&gt;PSVersion&lt;/em&gt;   : 2.0
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Description&lt;/em&gt; : This Windows PowerShell snap-in contains utility Cmdlets used to manipulate data.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;Name&lt;/em&gt;        : Microsoft.PowerShell.Host
&lt;/p&gt;&lt;p&gt;&lt;em&gt;PSVersion&lt;/em&gt;   : 2.0
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Description&lt;/em&gt; : This Windows PowerShell snap-in contains cmdlets (such as Start-Transcript and Stop-Transcript) that are provided for use with the Windows PowerShell console host.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;Name&lt;/em&gt;        : Microsoft.PowerShell.Management
&lt;/p&gt;&lt;p&gt;&lt;em&gt;PSVersion&lt;/em&gt;   : 2.0
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Description&lt;/em&gt; : This Windows PowerShell snap-in contains management cmdlets used to manage Windows components.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;Name&lt;/em&gt;        : Microsoft.PowerShell.Security
&lt;/p&gt;&lt;p&gt;&lt;em&gt;PSVersion&lt;/em&gt;   : 2.0
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Description&lt;/em&gt; : This Windows PowerShell snap-in contains cmdlets to manage Windows PowerShell security.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;….Loading the Snap-In is done by&lt;/em&gt;:      Add-PSSnapin &amp;lt;String Name&amp;gt;&lt;br/&gt;                                                                  (e.g. Add-PSSnapin Microsoft.PowerShell.Security)
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:red"&gt;&lt;strong&gt;PS C:\&amp;gt; Get-Module -ListAvailable
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;ModuleType Name                          ExportedCommands&lt;br/&gt;-----------------------                          -------------------------&lt;br/&gt;Manifest   ActiveDirectory             {}&lt;br/&gt;Manifest   ADRMS                            {}&lt;br/&gt;Manifest   AppLocker                      {}&lt;br/&gt;Manifest   BestPractices                 {}&lt;br/&gt;Manifest   BitsTransfer                   {}&lt;br/&gt;Manifest   GroupPolicy                   {}&lt;br/&gt;Manifest   PSDiagnostics                {}&lt;br/&gt;Manifest   ServerManager             {}&lt;br/&gt;Manifest   TroubleshootingPack   {}&lt;br/&gt;Manifest   WebAdministration      {}
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;….Loading the Module is done by&lt;/em&gt;:      Import-Module &amp;lt;ModuleType Name&amp;gt;&lt;br/&gt;                                                                  (e.g. Import-Module ActiveDirectory)
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4021" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>Provisioning to AD and OCS through ILM 2007</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/19/provisioning-to-ad-and-ocs-through-ilm-2007.aspx</link><pubDate>Fri, 19 Jun 2009 13:23:19 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4020</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;To provision IM-enabled AD accounts this is what you can do in your provisioning code for the AD MA… (example code snippet from my &lt;span style="text-decoration:underline"&gt;&lt;em&gt;test/demo environment&lt;/em&gt;&lt;/span&gt;)
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;                                        If mventry("im").Value.ToLower = "yes" Then&lt;br/&gt;                                            Dim strSIPDomain As String&lt;br/&gt;                                            Dim strSIPHomeServer As String&lt;br/&gt;                                            strSIPDomain = AD_DS_Production_USERS_MA_Params("sipdomain")&lt;br/&gt;                                            strSIPHomeServer = AD_DS_Production_USERS_MA_Params("siphomeserver")&lt;br/&gt;                                            AD_DS_Production_USERS_CsEntry("msRTCSIP-PrimaryUserAddress").Value = "sip:" &amp;amp; Replace(mventry("displayName").Value, " ", ".") &amp;amp; strSIPDomain&lt;br/&gt;                                            AD_DS_Production_USERS_CsEntry("msRTCSIP-PrimaryHomeServer").Value = strSIPHomeServer&lt;br/&gt;                                            AD_DS_Production_USERS_CsEntry("proxyAddresses").Values.Add("sip:" &amp;amp; Replace(mventry("displayName").Value, " ", ".") &amp;amp; strSIPDomain)&lt;br/&gt;                                            AD_DS_Production_USERS_CsEntry("msRTCSIP-OptionFlags").Value = "256"&lt;br/&gt;                                            AD_DS_Production_USERS_CsEntry("msRTCSIP-ArchivingEnabled").Value = "0"&lt;br/&gt;                                            AD_DS_Production_USERS_CsEntry("msRTCSIP-UserEnabled").BooleanValue = True&lt;br/&gt;                                        End If
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Sipdomain and siphomeserver are values stored as parameters in an XML file. Another thing to note is that "msRTCSIP-PrimaryHomeServer" needs a DN to an OCS pool, but it is NOT a reference attribute. It is a string attribute!
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4020" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>Today's IT Infrastructure</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/18/today-s-it-infrastructure.aspx</link><pubDate>Thu, 18 Jun 2009 08:46:42 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4019</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I found the following once in a presentation. It gives you an idea of &amp;quot;Today's IT Infrastructure&amp;quot;. ;-)&lt;/p&gt;  &lt;p&gt;Looks complex!&lt;/p&gt;  &lt;p&gt;&lt;img src="http://blogs.dirteam.com/photos/jorge/images/original/Today_2700_s-IT-Infrastructure.aspx" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Cheers, &lt;/p&gt;  &lt;p&gt;Jorge &lt;/p&gt;  &lt;p&gt;----------------------------------------------------------------------------------------&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f39b2629-3a5e-45f0-8758-afc60692de53" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Day-to-day+stuff" rel="tag"&gt;Day-to-day stuff&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;--------   &lt;br /&gt;* This posting is provided &amp;quot;AS IS&amp;quot; with no warranties and confers no rights!     &lt;br /&gt;* Always test before implementing!    &lt;br /&gt;------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4019" width="1" height="1"&gt;</description></item><item><title>Where to put SSL certificate for LDAP …</title><link>http://blogs.dirteam.com/blogs/tomek/archive/2009/06/17/where-to-put-ssl-certificate-for-ldap.aspx</link><pubDate>Wed, 17 Jun 2009 21:06:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4015</guid><dc:creator>tomek</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Protecting LDAP traffic with SSL is a good idea, especially if in network environment some applications are (ab)using LDAP as authentication protocol. &lt;/p&gt;  &lt;p&gt;Some explanation of abusing word – LDAP never was designed as authentication protocol (like Kerberos is). Its name states it clear “DIRECTORY ACCESS PROTOCOL”. However because it is simple to use and effective it is often used as such. Because it wasn’t designed to be an authentication protocol it lacks features which would protect credentials etc. which might expose authentication data for different threats which are common for every important information sent in a clear text over a network. To say it in simple word – when you are doing simple LDAP bind over non secure connection you are just exposing your credentials to others. For proof see see screenshot from network trace below: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.w2k.pl/img/ssl_ldp_connect.jpg" mce_href="http://www.w2k.pl/img/ssl_ldp_connect.jpg"&gt;&lt;img src="http://www.w2k.pl/img/ssl_ldp_connect_small.jpg" alt="" mce_src="http://www.w2k.pl/img/ssl_ldp_connect_small.jpg"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So I think this screenshot itself should be enough to start to think about securing LDAP traffic with SSL (convincing developers to use different protocol or to enforce SSL connection in an app might be on the other hand tough task).&lt;/p&gt;  &lt;p&gt;Getting back to the topic – good news is that Active Directory infrastructure makes it pretty easy to enable SSL on LDAP protocol. Just give DC proper certificate and it will start to accept LDAP over SSL connections. “Proper” means that it has to meet some criteria, one of them is that its purpose statement should contain&amp;nbsp; &lt;i&gt;Server Authentication (1.3.6.1.5.5.7.3.1)&lt;/i&gt; OID on a list.&lt;/p&gt;  &lt;p&gt;Deploying certificates in environment with Enterprise CA based on Windows Server integrated with AD is also easy – you can take advantage of auto enrollment feature and DCs will request and install certificates on their own. It is also possible to use third party certificates. Procedure for requesting and installing such certificates on DCs in described in &lt;a href="http://support.microsoft.com/kb/321051" mce_href="http://support.microsoft.com/kb/321051"&gt;KB321051&lt;/a&gt;. In both cases (auto enrollment and KB manual procedure) certificate is being installed in &lt;i&gt;Personal&lt;/i&gt; store of local system.&lt;/p&gt;  &lt;p&gt;This store has this disadvantage that it might contain many different certs installed by other services and applications if required. If it will contain many certificates meeting requirements for DC to use this cert to protect LDAP traffic it will just pick one. We don’t have real control which one. &lt;/p&gt;  &lt;p&gt;Since Windows 2008 there is a way to have more control on this behavior and select certificate which will be used to protect LDAP traffic. If certificate will be put in &lt;i&gt;NTDSA\Personal&lt;/i&gt;&amp;nbsp; store instead of default Local system store it will be picked up by directory service in first place and used for LDAP traffic protection. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.w2k.pl/img/ssl_cert_ntdsa.jpg" mce_href="http://www.w2k.pl/img/ssl_cert_ntdsa.jpg"&gt;&lt;img src="http://www.w2k.pl/img/ssl_cert_ntdsa_small.jpg" alt="" mce_src="http://www.w2k.pl/img/ssl_cert_ntdsa_small.jpg"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If there will not be any of certificates in NTDSA\Personal store DC will fall back to old behavior and search for certificate in Local system store&lt;/p&gt;  &lt;p&gt;Looks easy … one problem I have with this solution is that I can’t find a way to use auto enrollment mechanism to enroll certificate for DC and put it directly in NTDSA store. If there is anyone who have idea how to do this … comments are open :). &lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4015" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Directory+services/default.aspx">Directory services</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.dirteam.com/blogs/tomek/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Fixing Hyper-V ACLs</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/16/fixing-hyper-v-acls.aspx</link><pubDate>Tue, 16 Jun 2009 18:43:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4013</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;Are you having issues with Hyper-V VMs and experiencing &lt;SPAN style="TEXT-DECORATION: underline"&gt;similar issues&lt;/SPAN&gt; as explained &lt;A href="http://blogs.dirteam.com/blogs/jorge/archive/2009/06/16/importing-hyper-v-vms.aspx" mce_href="http://blogs.dirteam.com/blogs/jorge/archive/2009/06/16/importing-hyper-v-vms.aspx"&gt;here&lt;/A&gt;? The solution to these issues is to fix the permissions of the Hyper-V, but do you know exactly what permissions are needed or what's missing? Stop thinking! &lt;/P&gt;
&lt;P&gt;Use the script attached to this post or as shown below. How does it work? &lt;/P&gt;
&lt;P&gt;The script is used as a drop-target. A what? A drop-target! Select all the corresponding Hyper-V VM folders and files and drop it on the icon of the script. At that point the script will figure out the correct permissions that are needed to use the VM in Hyper-V. &lt;/P&gt;
&lt;P&gt;Let's talk credits. Credits should go to me for posting this stuff while being watched! &lt;SPAN style="FONT-FAMILY: Wingdings"&gt;J&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;Credits for the script go to a person that: &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is British &lt;/LI&gt;
&lt;LI&gt;Used to be an MVP for Directory Services &lt;/LI&gt;
&lt;LI&gt;Loves scripting, especially "batch" (he wanted to create a spell checker in batch) &lt;/LI&gt;
&lt;LI&gt;Now loves PowerShell &lt;/LI&gt;
&lt;LI&gt;Would like to sell that to the world as "PoSH" &lt;/LI&gt;
&lt;LI&gt;Now walks the grounds of the "Dark Side" managing DS Stuff &lt;/LI&gt;
&lt;LI&gt;Appeared in some cool video a few months back wearing weird stuff &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I think you now know who he is. If you don't you'll figure it out some way! &lt;SPAN style="FONT-FAMILY: Wingdings"&gt;J&lt;/SPAN&gt; Trust me! &lt;/P&gt;
&lt;P&gt;------------------------------------------ &lt;/P&gt;
&lt;P&gt;:: fix HyperV ACLs.CMD / Dean Wells (DeanWe), Microsoft / October 2008 &lt;/P&gt;
&lt;P&gt;:: Script adds a suitable ACE (NT Virtual Machines\Virtual Machines or VM-specific) to any number of files supplied as arguments &lt;/P&gt;
&lt;P&gt;:: (drag and drop works best) permitting them to be used by the Windows HyperVisor without rendering permissions errors. Special &lt;/P&gt;
&lt;P&gt;:: case logic is included to handle symlinks and the permissioning differences required between VHDs and XML configuration files. &lt;/P&gt;
&lt;P&gt;@echo off &lt;/P&gt;
&lt;P&gt;set issuingAUTHORITY=NT Virtual Machine &lt;/P&gt;
&lt;P&gt;set groupPRINCIPAL=Virtual Machines &lt;/P&gt;
&lt;P&gt;set EXITcommand=pause &lt;/P&gt;
&lt;P&gt;set FAILED=0 &lt;/P&gt;
&lt;P&gt;set FAILEDfile="%TEMP%\%~n0.$$$" &lt;/P&gt;
&lt;P&gt;del %FAILEDfile% 1&amp;gt;nul 2&amp;gt;&amp;amp;1 &lt;/P&gt;
&lt;P&gt;title Hyper-V ACL fixerupper ... &lt;/P&gt;
&lt;P&gt;if "%~1"=="" ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo/ &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo #ERROR - nothing to do! &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;goto :END &lt;/P&gt;
&lt;P&gt;) &lt;/P&gt;
&lt;P&gt;echo/ &lt;/P&gt;
&lt;P&gt;:LOOP &lt;/P&gt;
&lt;P&gt;:: Restore default environment for each iteration &lt;/P&gt;
&lt;P&gt;set icaclsSUFFIX= &lt;/P&gt;
&lt;P&gt;set SECURITYprincipal=%groupPRINCIPAL% &lt;/P&gt;
&lt;P&gt;set shortSECURITYprincipal=Group ACE &lt;/P&gt;
&lt;P&gt;set PERMISSION=RW &lt;/P&gt;
&lt;P&gt;set FILEtype=%~x1 &lt;/P&gt;
&lt;P&gt;:: Assume the absence of an extension indicates a folder [it's not pretty but it'll do in this context] &lt;/P&gt;
&lt;P&gt;if "%FILEtype%"=="" ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set FILEtype=folder &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set icaclsSUFFIX=/t &lt;/P&gt;
&lt;P&gt;) &lt;/P&gt;
&lt;P&gt;:: Determine file type [VHDs require "RW" while the XML configuration files and their symlinks require "F"] &lt;/P&gt;
&lt;P&gt;:: For VHDs, we assume many VMs _may_ require access to the file so we add the "NT Virtual Machine\Virtual Machines" ACE &lt;/P&gt;
&lt;P&gt;:: For XML configuration files and their symlinks, we treat those as private and add the VM-specific ACE &lt;/P&gt;
&lt;P&gt;echo "%~a1" | find /i "l" 1&amp;gt;nul 2&amp;gt;&amp;amp;1 &lt;/P&gt;
&lt;P&gt;if not errorlevel 1 ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set icaclsSUFFIX=/l &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set FILEtype=symlink &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set SECURITYprincipal=%~n1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set shortSECURITYprincipal=VM ACE &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set PERMISSION=F &lt;/P&gt;
&lt;P&gt;) else ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if /i "%FILEtype%"==".xml" ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set PERMISSION=F &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set SECURITYprincipal=%~n1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set shortSECURITYprincipal=VM ACE &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) &lt;/P&gt;
&lt;P&gt;) &lt;/P&gt;
&lt;P&gt;set HYPERVfile=%~n1 [%FILEtype% / %shortSECURITYprincipal%:%PERMISSION%] .............................................. &lt;/P&gt;
&lt;P&gt;set HYPERVfile=%HYPERVfile:~0,67% &lt;/P&gt;
&lt;P&gt;set /p=+ %HYPERVfile% &amp;lt;nul &lt;/P&gt;
&lt;P&gt;icacls "%~1" /grant "%issuingAUTHORITY%\%securityPRINCIPAL%":%PERMISSION% %icaclsSUFFIX% 1&amp;gt;nul 2&amp;gt;&amp;amp;1 &lt;/P&gt;
&lt;P&gt;if errorlevel 1 ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;icacls "%~1" /grant "%issuingAUTHORITY%\%groupPRINCIPAL%":%PERMISSION% %icaclsSUFFIX% 1&amp;gt;nul 2&amp;gt;&amp;amp;1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if errorlevel 1 ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set FAILED=1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo #FAILED! &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo %~n1 [%FILEtype% / %shortSECURITYprincipal%:%PERMISSION%] &amp;gt;&amp;gt;%FAILEDfile% &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) else ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo SUCCESS! &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) &lt;/P&gt;
&lt;P&gt;) else ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo SUCCESS! &lt;/P&gt;
&lt;P&gt;) &lt;/P&gt;
&lt;P&gt;shift &lt;/P&gt;
&lt;P&gt;if not "%~1"=="" goto :LOOP &lt;/P&gt;
&lt;P&gt;echo/ &lt;/P&gt;
&lt;P&gt;if not "%FAILED%"=="1" ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color 2E &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo The command completed successfully. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set EXITcommand=ping -n 6 localhost &lt;/P&gt;
&lt;P&gt;) else ( &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color 4E &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo #ERROR - the following Hyper-V file&lt;img src="http://blogs.dirteam.com/emoticons/emotion-56.gif" alt="Sleep" /&gt; was/were not permissioned correctly: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo/ &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type %FAILEDfile% &lt;/P&gt;
&lt;P&gt;) &lt;/P&gt;
&lt;P&gt;:END &lt;/P&gt;
&lt;P&gt;%EXITcommand% 1&amp;gt;nul 2&amp;gt;&amp;amp;1 &lt;/P&gt;
&lt;P&gt;------------------------------------------ &lt;/P&gt;
&lt;P&gt;Cheers, &lt;/P&gt;
&lt;P&gt;Jorge &lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------------------------------------------&lt;BR&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;BR&gt;* Always test before implementing!&lt;BR&gt;--------------------------------------------------------------------------------------------------&lt;BR&gt;############### Jorge's Quest For Knowledge ###############&lt;BR&gt;######## &lt;A href="http://blogs.dirteam.com/blogs/jorge/default.aspx" mce_href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/A&gt; #########&lt;BR&gt;--------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4013" width="1" height="1"&gt;</description><enclosure url="http://blogs.dirteam.com/blogs/jorge/attachment/4013.ashx" length="2758" type="text/plain" /><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category></item><item><title>Importing Hyper-V VMs</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/16/importing-hyper-v-vms.aspx</link><pubDate>Tue, 16 Jun 2009 14:02:43 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4012</guid><dc:creator>Jorge</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If you have exported a Hyper-V VM to a folder and then try to import it again on another computer for example, you might get the following error:
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;[Window Title]&lt;br/&gt;Hyper-V Manager
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;[Main Instruction]&lt;br/&gt;A server error occurred while attempting to import the virtual machine.
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;[Content]&lt;br/&gt;Import failed.
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;[Expanded Information]&lt;br/&gt;Import failed. Unable to save the virtual machine under location 'E:\VMStore\_HYPER-V_EXPORTS\OCG_ILM2DEMO-Server\'. Error: General access denied error (0x80070005)
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;img src="http://blogs.dirteam.com/emoticons/emotion-49.gif" alt="Cake" /&gt; Hide details  [Close]
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;I solved this by giving the Network Service account modify permissions to the folder and its subfolders that contained the VM Export. Worked like a charm for me.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4012" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Field+experiences/default.aspx">Field experiences</category></item><item><title>Active Directory Forest Recovery Guides</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/12/active-directory-forest-recovery-guides.aspx</link><pubDate>Fri, 12 Jun 2009 21:03:32 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4008</guid><dc:creator>Jorge</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The following AD Forest Recovery Guides are available: 
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div&gt;Best Practices: Active Directory Forest Recovery (W2K) 
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3eda5a79-c99b-4df9-823c-933feba08cfe&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=3eda5a79-c99b-4df9-823c-933feba08cfe&amp;amp;displaylang=en&lt;/a&gt;
				&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Planning for Active Directory Forest Recovery (W2K3) 
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=afe436fa-8e8a-443a-9027-c522dee35d85&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=afe436fa-8e8a-443a-9027-c522dee35d85&amp;amp;displaylang=en&lt;/a&gt;
				&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Planning for Active Directory Forest Recovery (W2K8)
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=326C8A7A-DCAD-4333-9050-A6303FF3155C&amp;amp;displaylang=en"&gt;http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=326C8A7A-DCAD-4333-9050-A6303FF3155C&amp;amp;displaylang=en&lt;/a&gt;
				&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4008" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>Windows Server 2008 R2 Documentation &amp; Resources</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/12/windows-server-2008-r2-documentation-amp-resources.aspx</link><pubDate>Fri, 12 Jun 2009 14:41:57 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4007</guid><dc:creator>Jorge</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Get those docs &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=079eb880-6e15-4381-9edf-53cfaff3ab02&amp;amp;displayLang=en"&gt;here&lt;/a&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4007" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>Active Directory Gateway WebService is available for ‘legacy’ OSes</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/12/active-directory-gateway-webservice-is-available-for-legacy-oses.aspx</link><pubDate>Fri, 12 Jun 2009 14:37:23 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4006</guid><dc:creator>Jorge</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;The Microsoft Active Directory Management Gateway Service lets information technology professionals manage Active Directory Directory Service and Active Directory Lightweight Directory Service instances that are running on the same server. The Active Directory Management Gateway Service is available as part of Windows Server 2008 R2 and available as a separate download for some previous versions of Windows Server 2008 and Windows Server 2003.
&lt;/p&gt;&lt;p&gt;Information technology professionals can use Active Directory Module for Windows PowerShell or Microsoft Active Directory Administrative Center (ADAC) to manage Active Directory Management Gateway Service instances on servers that are running Windows Server 2008 Service Pack 1 (SP1) and later versions and Windows Server 2003 Service Pack 2 (SP2) and later versions.
&lt;/p&gt;&lt;p&gt;The Active Directory Management Gateway Service provides the same functionality as Active Directory Web Services on Windows 7. After you install the Active Directory Management Gateway Service, the service runs as the Windows Server R2 Active Directory Web Services service
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;For more info see KB article: &lt;a href="http://support.microsoft.com/?scid=969041"&gt;The Active Directory Management Gateway Service is now available&lt;/a&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;It looks like it is not yet available for download. Don't worry, it will be soon, I guess, RGHT? &lt;span style="font-family:Wingdings"&gt;J&lt;/span&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4006" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>Read-Only Domain Controller (RODC) Branch Office Guide is available</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/12/read-only-domain-controller-rodc-branch-office-guide-is-available.aspx</link><pubDate>Fri, 12 Jun 2009 14:27:06 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4005</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The Read-Only Domain Controller (RODC) Branch Office Guide is now live on TechNet and the Download Center!
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;TechNet: http://technet.microsoft.com/en-us/library/dd734758(WS.10).aspx 
&lt;/li&gt;&lt;li&gt;Download Center: http://go.microsoft.com/fwlink/?LinkId=153714 
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The guide covers the major considerations around deploying RODC's in Branch Office scenarios.  Specifically, the topics include:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Branch Office Environment Characteristics 
&lt;/li&gt;&lt;li&gt;Deciding Which Type of Domain Controller Meets the Needs of a Branch Office Location 
&lt;/li&gt;&lt;li&gt;Updates to Windows Server 2003 Branch Office Guide Recommendations 
&lt;/li&gt;&lt;li&gt;Planning/Deploying/Administering RODCs in Branch Offices 
&lt;/li&gt;&lt;li&gt;Monitoring Your Branch Office Environment
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4005" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>ILM 2007 FP1 and Hyper-V</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/12/ilm-2007-fp1-and-hyper-v.aspx</link><pubDate>Fri, 12 Jun 2009 13:12:18 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4004</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;At the moment Microsoft does not support ILM 2007 FP1 in ANY virtual environment. 
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;I have not seen an official statement yet on some Microsoft page, but I have read &lt;a href="http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/b6df18c6-c4dc-454a-b8dd-06c74fdda9d7"&gt;here&lt;/a&gt; that ILM 2007 FP1 now is supported to run on Hyper-V. If you want to run it on VMWare, check out these KB articles from Microsoft about that:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/?kbid=897615"&gt;"Support policy for Microsoft software running in non-Microsoft hardware virtualization software"&lt;/a&gt;
		&lt;/li&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/?kbid=957006"&gt;"Microsoft server software and supported virtualization environments"&lt;/a&gt;
		&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4004" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/CLM/default.aspx">CLM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>A New Vulnerability in Active Directory (MS09-018)</title><link>http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2009/06/10/a-new-vulnerability-in-active-directory-ms09-018.aspx</link><pubDate>Wed, 10 Jun 2009 13:28:38 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:4000</guid><dc:creator>Sander Berkouwer</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="Exploitable" border="0" alt="Exploitable" align="right" src="http://blogs.dirteam.com/blogs/sanderberkouwer/Exploitable_771F1EF3.gif" width="100" height="100" /&gt; On Patch Tuesday for June 2009 (yesterday, June 9, 2009) Microsoft released security bulletin MS09-18 yesterday to address a vulnerability in Active Directory and Active Directory Application Mode (ADAM) that could allow remote code execution.&lt;/p&gt;  &lt;p&gt;It’s should not come as a shock Microsofts Active Directory and Active Directory Application Mode (ADAM) contain insecure code, allowing for much mayhem in enterprise environments. Since &lt;a href="http://www.microsoft.com/technet/security/Bulletin/ms07-039.mspx"&gt;MS07-039&lt;/a&gt;, &lt;a href="http://www.microsoft.com/technet/security/Bulletin/ms08-003.mspx"&gt;MS08-003&lt;/a&gt;, &lt;a href="http://www.microsoft.com/technet/security/bulletin/ms08-035.mspx"&gt;MS08-35&lt;/a&gt; and &lt;a href="http://www.microsoft.com/technet/security/bulletin/MS08-060.mspx"&gt;MS08-60&lt;/a&gt; you should have experience with patching these particular Server Roles.&lt;/p&gt;  &lt;p&gt;What I did find shocking was the way Microsoft talks about Active Directory Application Mode (ADAM), which is the old name for what most of us now call Active Directory Lightweight Directory Services (ADLDS), but when I examined the Security Bulletin I found out just why:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;This vulnerability does not affect Windows Server 2008.&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Again, Windows Server 2008 (and Windows Vista) are on the list with unaffected versions of Windows. Up to today only &lt;a href="http://www.microsoft.com/technet/security/bulletin/MS08-060.mspx"&gt;MS08-60&lt;/a&gt; applies to Windows Server 2008. Recollecting: This was a moderate (not a critical) vulnerability that allows denial of service (not remote code execution).&lt;/p&gt;  &lt;p&gt;To me, this shows the exceptional feat the Microsoft teams have accomplished in Windows Server 2008. It strengths me in my belief: Windows Server 2008 is the most secure Windows Server platform to date.&lt;/p&gt;  &lt;p&gt;For all you Windows 2000 Server and Windows Server 2003 admins out there: &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Happy patching!&amp;#160;&amp;#160; &lt;br /&gt;&lt;/strong&gt;(especially you, Windows 2000 Server aficionados!)&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;h2&gt;Further reading&lt;/h2&gt;  &lt;p&gt;&lt;a href="http://blog.joeware.net/2008/04/18/1173/"&gt;ADAM vs ADLDS&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/971055"&gt;971055 MS09-018: Vulnerabilities in Active Directory could allow remote code execution&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/969805"&gt;969805 MS09-018: Description of the security update for Active Directory: June 2009&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/970437"&gt;970437 MS09-018: Description of the security update for Active Directory Application Mode (ADAM): June 2009&lt;/a&gt;&amp;#160;&amp;#160; &lt;br /&gt;&lt;a href="http://vil.nai.com/vil/content/v_vul42745.htm"&gt;(MS09-018) Microsoft Windows Active Directory Memory Leak Vulnerability (971055)&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=4000" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Microsoft+Windows+Server/default.aspx">Microsoft Windows Server</category><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Microsoft+Windows+Server+2008/default.aspx">Microsoft Windows Server 2008</category><category domain="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/tags/Security+Updates/default.aspx">Security Updates</category></item><item><title>Active Directory Cleanup - The Most Common Question I See </title><link>http://blogs.dirteam.com/blogs/paulbergson/archive/2009/06/09/active-directory-cleanup-the-most-common-question-i-see.aspx</link><pubDate>Wed, 10 Jun 2009 01:30:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3999</guid><dc:creator>pbbergs</dc:creator><slash:comments>0</slash:comments><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;I am out in the Microsoft NewsGroups and quite often I see someone having trouble with their Active Directory (AD) domain.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The number one issue I see is they will lose a Domain Controller (DC) and just move on without realizing that without letting the rest of the DC’s know that this machine is not coming back –or– they attempt to reintroduce a DC back into the domain with the same name without cleaning up the metadata within AD.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;To clean up AD after a lost DC is relatively simple and a script has been released that now makes it so there is no need to use ntdsutil.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The few times I have had to clean up AD, I still use the manual method but I like to feel in control of things and see what is happening.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;There should be nothing wrong in using the script.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;The KB article to manually cleanup the metadata is &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/216498" mce_href="http://support.microsoft.com/kb/216498"&gt;&lt;FONT face=Calibri size=3&gt;216498&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;The TechNet script to clean up the metadata is linked here &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/technet/scriptcenter/scripts/ad/domains/addmvb04.mspx?mfr=true" mce_href="http://www.microsoft.com/technet/scriptcenter/scripts/ad/domains/addmvb04.mspx?mfr=true"&gt;&lt;FONT face=Calibri size=3&gt;addmvb04&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Once you have cleaned things up you still have to go into Active Directory Sites and Services and remove the lost DC from the site in which it belonged.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This is a requirement even if you had a successful demotion.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The steps for this are outlined at the end of each section within the manual cleanup.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3999" width="1" height="1"&gt;</description></item><item><title>Quotes about “The Boss”</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/07/quotes-about-the-boss.aspx</link><pubDate>Sun, 07 Jun 2009 17:45:24 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3990</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Reading the Dutch magazine called Quest; I saw the following funny quotes about "The Boss":
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;em&gt;The biggest mistake a boss can make is by not saying: well done!&lt;/em&gt;&lt;br/&gt;(John Ashcroft, American Politician [1942])
&lt;/p&gt;&lt;p&gt;&lt;em&gt;By working 8 hours a day, you might become the boss. And suddenly you must work 12 hours a day.&lt;br/&gt;&lt;/em&gt;(Robert Frost, American Poet [1874-1963])
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Never blame the boss for anything. He's got enough problems already.&lt;br/&gt;&lt;/em&gt;(Donald Rumsfeld, Minister of Defense with the George Bush administration [1932])
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Nothing is worse than a nervous boss. Especially if you are the one that made him nervous. &lt;br/&gt;&lt;/em&gt;(Sidney Cross, American Artist [1921-1969])
&lt;/p&gt;&lt;p&gt;&lt;em&gt;If everybody says "you're right!", you are either very smart or the boss.&lt;br/&gt;&lt;/em&gt;(André Birabeau, French Play Writer [1890-1974])
&lt;/p&gt;&lt;p&gt;&lt;em&gt;If you want to move ahead from a career perspective, you do not need to be the boss' son. Marrying his daughter is enough.&lt;br/&gt;&lt;/em&gt;(Orlando Aloysius Battista, Canadian Writer [1917-1995])
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3990" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Day-to-day+stuff/default.aspx">Day-to-day stuff</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Personal/default.aspx">Personal</category></item><item><title>ILM 2007 FP1 and SQL Server 2008</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/06/ilm-2007-fp1-and-sql-server-2008.aspx</link><pubDate>Sat, 06 Jun 2009 11:03:09 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3985</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;At the moment ILM 2007 FP1 officially supports:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;SQL Server 2000 SP3a (and higher) Standard or Enterprise (x86/x64)
&lt;/li&gt;&lt;li&gt;SQL Server 2005 SP1 (and higher) Standard or Enterprise (x86/x64)
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;I have not seen an official statement yet on some Microsoft page, but I have read &lt;a href="http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/d2892a5d-c4b9-43cc-b375-6ae0dd81cf68"&gt;here&lt;/a&gt; that SQL Server 2008 it supported by ILM Sync Engine, ILM Certificate Management, but also as a connected data source. For another MSFT employee I heard that SQL Server 2008 will most likely work with ILM 2007 FP1 RTM, but tests were validated with builds 3.3.11xx.x
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3985" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>High Availability for ILM 2007 Sync Engine with Clustering</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/06/high-availability-for-ilm-2007-sync-engine-with-clustering.aspx</link><pubDate>Sat, 06 Jun 2009 10:54:42 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3984</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;When using ILM 2007 Sync Engine and you would like to have high availability you need to think about the all components of the solution. In the case of ILM 2007 Sync Engine those would be:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Windows Server
&lt;/li&gt;&lt;li&gt;ILM 2007 Sync Engine
&lt;/li&gt;&lt;li&gt;SQL Server
&lt;/li&gt;&lt;li&gt;ILM Datastore
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Windows Server and SQL Server can be made high available through Microsoft Clustering Services.
&lt;/p&gt;&lt;p&gt;ILM Datastore can be made high available by putting it on a SAN/NAS/Shared Storage/Whatever, as long as you use a redundant set of disks, or in other words some &lt;a href="http://en.wikipedia.org/wiki/RAID"&gt;RAID configuration&lt;/a&gt; such as RAID1 (mirroring), RAID5 (disk striping with parity) or RAID10 (mirroring and striping).
&lt;/p&gt;&lt;p&gt;OK, but how about the ILM 2007 Sync Engine? For ILM 2007 Sync Engine you have following possibilities:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Operational Instance: the ILM instance which is actually running by importing, exporting and synching data between connected data sources (ILM server license needed)
&lt;/li&gt;&lt;li&gt;HOT Standby Instance: the ILM instance which is NOT running (service = stopped and disabled), but for which its Windows Server is up and running (additional ILM server license needed). For a guide on how to implement this go &lt;a href="http://blogs.msdn.com/alextch/archive/2005/12/10/step-by-step-miis-hot-standby.aspx"&gt;here&lt;/a&gt;.
&lt;/li&gt;&lt;li&gt;COLD Standby Instance: the ILM instance which is NOT running (service = stopped and disabled), but for which its Windows Server is ALSO NOT up and running (NO additional ILM server license needed)
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;So, when the Operational Instance dies for whatever reason, use need to use the available standby instance (for the COLD standby instance you need to start the server first of course) and activate it by using the MIISACTIVATE tool with the Encryption Keys created by the first ILM instance that was installed for the solution. If you are using password synchronization (PCNS) you need to reconfigure the PCNS object in AD to target the new ILM instance. As you can see that is a manual process. Can you automate it? That depends if you are using something that can automatically switch over to the standby instance.
&lt;/p&gt;&lt;p&gt;Is ILM 2007 Sync Engine cluster-aware? Nope, it is not!
&lt;/p&gt;&lt;p&gt;Can you install the Operational Instance of ILM 2007 Sync Engine on a Cluster (e.g. the active node) and is it supported by MSFT? Yes, it can be installed on the active cluster node and that is also supported by MSFT.
&lt;/p&gt;&lt;p&gt;Can you install the Standby Instance of ILM 2007 Sync Engine on a Cluster (e.g. the passive node) and is it supported by MSFT? Yes, it can be installed on the passive cluster node and that is also supported by MSFT.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Even on a cluster you need to manually switch to the standby instance on the passive node by activating it if the operational instance on the active node fails or becomes unavailable.
&lt;/p&gt;&lt;p&gt;Can this be automated, so that when the active cluster node dies, ILM automatically switches over to the passive node and would that be supported by MSFT? Yes it is possible to automatically failover ILM by using the script which can be found &lt;a href="http://blogs.msdn.com/alextch/archive/2005/12/17/clusteredmiis.aspx"&gt;here&lt;/a&gt;. But, is this supported? Unfortunately, it is NOT supported by MSFT! Also take &lt;a href="http://www.ilmbestpractices.com/blog/2009/03/ilmmiis-sync-engine-clustering-windows.html"&gt;this post&lt;/a&gt; into account.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3984" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>Exporting Multi-valued attribute to SQL table</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/05/exporting-multi-valued-attribute-to-sql-table.aspx</link><pubDate>Fri, 05 Jun 2009 15:18:40 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3981</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Based upon my post about "&lt;a href="http://blogs.dirteam.com/blogs/jorge/archive/2009/06/03/multiple-authoritative-sources-for-group-memberships-and-how-about-precedence-in-ilm.aspx"&gt;Multiple Authoritative Sources for Group Memberships and how about precedence in ILM&lt;/a&gt;", a technology partner and I were setting up and test/demo environment. The idea was as follows.
&lt;/p&gt;&lt;p&gt;The MGMT app is authoritative for groups and group memberships, which then flow into AD. Group Membership is established on business logic like for example:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Everyone with "JobTitle=Admin" and "Department=ICT" becomes a member of the group "R1Grp_EMPLOYEES_JOB_ICT_ADMIN"
&lt;/li&gt;&lt;li&gt;Everyone with "employeeType=EMPLOYEES" becomes a member of the group "R1Grp_EMPLOYEES"
&lt;/li&gt;&lt;li&gt;Etc.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;However, in AD it must be possible to adjust/establish group memberships that do not follow the business logic. For example, a contractor is added to the group "R1Grp_EMPLOYEES". That new group membership flows (import) from AD to the MV through the "ADDS-Group-IMP" MA. From the MV it flows (export) to the SQL Database (multi-valued table) through the "MGMT-Group-EXP" MA.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;When a group membership is established in the MGMT APP the following flags should be set in the SQL multiple valued tabled: MGMT=YES &amp;amp; IDM=NO (as properties of that specific group membership)
&lt;/p&gt;&lt;p&gt;When a group membership is established in the MGMT APP the following flags should be set in the SQL multiple valued tabled: MGMT=NO &amp;amp; IDM=YES (as properties of that specific group membership)
&lt;/p&gt;&lt;p&gt;This way the MGMT APP can check on eventual business conflicts by checking the flags and report on it!
&lt;/p&gt;&lt;p&gt;So as a test we wanted to test this by adding a contractor person to the "R1Grp_EMPLOYEES" group. Initially the group "R1Grp_EMPLOYEES" contained 32 employee persons and after the change an extra contractor person was added to it.
&lt;/p&gt;&lt;p&gt;What was the expect end result?
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;32 employee group memberships with the flags MGMT=YES &amp;amp; IDM=NO
&lt;/li&gt;&lt;li&gt;1 contractor group membership with the flags MGMT=NO &amp;amp; IDM=YES
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;So I imported the group membership from AD into ILM and exported it to the SQL database.
&lt;/p&gt;&lt;p&gt;What was the REAL end result?
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;32 employee group memberships with the flags MGMT=NO &amp;amp; IDM=YES
&lt;/li&gt;&lt;li&gt;1 contractor group membership with the flags MGMT=NO &amp;amp; IDM=YES
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;What the heck?!?! Why are the flags of ALL group memberships for the group "R1Grp_EMPLOYEES" changed as if they were exported? I expect only one INSERT into the table and not 33 INSERTS.
&lt;/p&gt;&lt;p&gt;The way to find out is to use SQL Server Profiler and check what's happening under the hood! So let's do this.
&lt;/p&gt;&lt;p&gt;Before exporting to ILM I checked the ILM statistics. See picture below.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://blogs.dirteam.com/photos/jorge/images/3979/original.aspx" alt=""/&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;After exporting I checked the SQL Server Profiler Trace and saw the following…
&lt;/p&gt;&lt;p&gt;&lt;img src="http://blogs.dirteam.com/photos/jorge/images/3980/original.aspx" alt=""/&gt;
	&lt;/p&gt;&lt;p&gt;Let's take a look at this trace
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:yellow"&gt;Yellow marked text: Delete all existing group memberships for the group "R1Grp_EMPLOYEES"
&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#92d050"&gt;Green marked text: Add the new group membership for the new member (the one established in AD)
&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#00b0f0"&gt;Blue marked text: Add the new group membership for the previously existing members (the ones established in MGMT APP)
&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;I wonder WHY ILM works this way…Anyone from the Product Group care to explain? Please do so!
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3981" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Field+experiences/default.aspx">Field experiences</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>Multiple Authoritative Sources for Group Memberships and how about precedence in ILM</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/03/multiple-authoritative-sources-for-group-memberships-and-how-about-precedence-in-ilm.aspx</link><pubDate>Wed, 03 Jun 2009 19:51:39 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3974</guid><dc:creator>Jorge</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;If multiple data sources are authoritative for "some-attribute" and all authoritative data sources are considered equal, in ILM 2007 you must configure "Attribute Flow Precedence" for that "some-attribute" where all management agents (MAs) use Rules Extension for the flow of that "some-attribute". When ALL MAs are using Rules Extensions for that particular attribute, you will be able to check the option "Use Manual Precedence". In your code for each MA you check if the value in the CS differs from the value in the MV and when that is the case you allow the flow of the attribute value from the CS to the MV, etc. etc. It will look similar to the picture below.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://blogs.dirteam.com/photos/jorge/images/3966/original.aspx" alt=""/&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Until now nothing special! Now imagine that "some-attribute" is the "member" attribute of the "group" object. The "member" attribute is a multi-valued reference attribute. It can therefore contain multiple values and it does not have real values, but rather references to OTHER objects such as for examples "user" objects.
&lt;/p&gt;&lt;p&gt;Now for the "member" attribute you have the scenario as above. Two connected data sources are authoritative for managing group memberships such as for example:
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Active Directory being managed by admins on one side AND some data source (ADAM, SQL, etc.) with a web-interface on the other side&lt;br/&gt;OR
&lt;/li&gt;&lt;li&gt;Active Directory being managed by admins on one side AND some data source (SQL, etc.) with some business logic to automatically create group memberships on the other side
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;What would you do? The easiest answer would seem say: "do the same as you did for that 'some-attribute'". Unfortunately that's not going to work because "reference" attributes (e.g. "member") cannot be used in advanced attribute flow through Rules Extensions and as mentioned earlier you need Rules Extensions to be able to use the option "Use Manual Precedence". Another way to prevent the complexity of precedence is using multiple MAs
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;This is the approach of the solution I used… (Thanks James!).
&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline"&gt;&lt;em&gt;REMARK&lt;/em&gt;&lt;/span&gt;: as you know, there are many ways to get to Rome, and for such a scenario there are many other approaches.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The overall idea is shown in the picture below. The architecture looks very similar to the GalSync solution, but there is a subtle difference! The GalSync architecture uses one MA for each connected data source. In the GalSync architecture, each MA imports users, groups and contacts from the source and exports contacts to the target as shown below.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://blogs.dirteam.com/photos/jorge/images/3973/original.aspx" alt=""/&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;In the Group Management architecture where two connected data sources are equally authoritative for groups and their group memberships, you must use two MAs! The architecture of the solution is shown below.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;img src="http://blogs.dirteam.com/photos/jorge/images/3972/original.aspx" alt=""/&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Now you might think: Why not just create 1 MA for each connected system where each MA handles two different group object types like in the GalSync architecture? The answer to this that you need two MAs for each system because groups in each system need to be connected to BOTH group object types (e.g. objecttype: group_ADDS &amp;amp; group_MGMT) in the MV. Any CS object can only be connected to a single MV object(type).
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The logic of this usage case is:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div&gt;Employees in HR
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;HR is authoritative for employees
&lt;/li&gt;&lt;li&gt;Employees objects are imported into the HR CS through the HR MA and then projected as a person object into the MV
&lt;/li&gt;&lt;li&gt;Employees are provisioned into ADDS CS and MGMT APP CS and exported into the end-system through the corresponding MA (ADDS-Users and MGMT-Users)
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Groups in ADDS
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;ADDS is authoritative for groups and group memberships
&lt;/li&gt;&lt;li&gt;Group objects in ADDS are imported into the ADDS-Group-IMP CS through the ADDS-Group-IMP MA and then projected as a group_ADDS object into the MV
&lt;/li&gt;&lt;li&gt;Group objects (objectType=group_ADDS) are provisioned into MGMT-Group-EXP CS and exported into the MGMT APP through the MGMT-Group-EXP MA
&lt;/li&gt;&lt;li&gt;Group Memberships originating in ADDS follow the same path through the member attribute in each object as the group object itself
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Groups in MGMT APP
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;MGMT APP is ALSO authoritative for groups and group memberships
&lt;/li&gt;&lt;li&gt;Group objects in MGMT APP are imported into the MGMT-Group-IMP CS through the MGMT-Group-IMP MA and then projected as a group_MGMT object into the MV
&lt;/li&gt;&lt;li&gt;Group objects (objectType=group_MGMT) are provisioned into ADDS-Group-EXP CS and exported into the ADDS through the ADDS-Group-EXP MA
&lt;/li&gt;&lt;li&gt;Group Memberships originating in MGMT APP follow the same path through the member attribute in each object as the group object itself
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline"&gt;REMARK&lt;/span&gt;: You might expect a group object or group membership originating in a certain source flowing to the other source and then coming back to the original source and keep flowing around in circles. Don't worry as it will not happen, AS LONG AS the correct order of imports/syncs/exports is followed. Otherwise you may see "A DELETION" followed by "AN ADDITION" singing around
&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline"&gt;REMARK&lt;/span&gt;: Be aware you need additional imports and joins to make the "circle" complete!
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Something else to be aware of is, that it is very difficult to achieve "last-writer-wins". In reality you will achieve "last-sync-wins". Assuming you execute your imports/sync very often then you might get very close to "last-writer-wins". See the remark above! Very important to know!
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;This is how you can do it in ILM 2007 FP1. How would you do this in ILM "2", or rather FIM 2010 as it is called right now? In FIM 2010 it is much easier to achieve the scenario. In FIM 2010 the picture at the top of this post has an additional option called "Equal Precedence". When that option is checked, the corresponding MAs are equally authoritative for that attribute. And yes, it also applies to multi-valued reference attributes! In FIM 2010 you would not need to use two MAs for each system, but just one to manage groups and group memberships.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3974" width="1" height="1"&gt;</description></item><item><title>OCG Documentor for ILM/MIIS</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/03/ocg-documentor-for-ilm-miis.aspx</link><pubDate>Wed, 03 Jun 2009 17:20:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3971</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;OCG has a tool called the OCG Documentor for ILM. This tool automatically documents the server configuration, the MA configuration and the code used in the Rules Extensions. It's cool, its' hot, it's accurate and it's fast!
&lt;/p&gt;&lt;p&gt;There's a free version and there is a paid for version. You could compare the versions with IIFP and ILM. The free version only allows documentation of the AD, ADAM and GalSync MAs and the paid for version allows documentation of all other MAs including XMAs including the addition of additional documentation. After using the free version it is possible upgrade to the paid for version by purchasing a release key.
&lt;/p&gt;&lt;p&gt;After reading all the info, a WORD report is generated based upon that information. Did you ILM configuration change for whatever reason, then simply rerun OCG' Documentor and your documentation is up-to-date again.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Summarized:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Provides semi-automated documentation of your ILM installation 
&lt;/li&gt;&lt;li&gt;Provides an Integrated report which includes all management agents and metaverse configuration details with built in cross references (hyperlinks) 
&lt;/li&gt;&lt;li&gt;Extracts source code from the installation's Visual Studio projects and inserts at the appropriate points in the report 
&lt;/li&gt;&lt;li&gt;Produces a document which is readable and can be easily distributed 
&lt;/li&gt;&lt;li&gt;Can be used as part of an iterative development process 
&lt;/li&gt;&lt;li&gt;Will detect and warn of configuration errors and anomalies 
&lt;/li&gt;&lt;li&gt;&lt;div&gt;The MIIS documentation can be customized via a control file which enables you to:
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Insert word documents into the report at specified locations to add context-specific information such as descriptions and diagrams 
&lt;/li&gt;&lt;li&gt;Insert sections of content from other text files, this for instance would allow you to include code details which may not be detected by the documentor.
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;If you are interested in documenting your complete ILM installation as part of a system audit, then please contact us:  &lt;a href="mailto:info@oxfordcomputergroup.com"&gt;info@oxfordcomputergroup.com&lt;/a&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;To download the tool and for more information, click &lt;a href="http://www.oxfordcomputergroup.com/resources.aspx?r=40EJ41OGAJ"&gt;here&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;To purchase a release key, click &lt;a href="http://www.oxfordcomputergroup.com/documentorkey.html"&gt;here&lt;/a&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;To see an example report see the ZIP file as an attachment to this post which contains a PDF.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Something else that's very interesting is that at the moment a colleague of mine in the UK is building a FIM2010 (a.k.a. ILM 2) compatible Documentor.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3971" width="1" height="1"&gt;</description><enclosure url="http://blogs.dirteam.com/blogs/jorge/attachment/3971.ashx" length="1043240" type="application/x-zip-compressed" /><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Company+Stuff/default.aspx">Company Stuff</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item><item><title>Windows PowerShell Remoting with WinRM</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/02/windows-powershell-remoting-with-winrm.aspx</link><pubDate>Tue, 02 Jun 2009 20:27:40 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3965</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;If you are using Windows PowerShell Remoting right now with WinRM CTP3 (or lower) on Windows Server 2008, it may break after you apply Service Pack 2 (SP2) for Windows Server 2008 (W2K8). One of the symptoms is the WinRM service not starting anymore and throwing the following error.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://blogs.dirteam.com/photos/jorge/images/3964/original.aspx" alt=""/&gt;
	&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The solution? Don't install SP2! &lt;span style="font-family:Wingdings"&gt;J&lt;/span&gt;
	&lt;/p&gt;&lt;p&gt;WAIT! There is another solution to this problem if you want to apply SP2 for W2K8.
&lt;/p&gt;&lt;p&gt;Let's assume your starting point is:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Windows Server 2008 RTM with all kinds of hotfixes (or maybe even no hotfix)
&lt;/li&gt;&lt;li&gt;Windows Remote Management v2 CTP3
&lt;/li&gt;&lt;li&gt;Windows PowerShell v2 CTP3
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;If you want to apply SP2 you need to do the following:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Download the LATEST version of WinRM CTP3 from &lt;a href="https://connect.microsoft.com/WSMAN/Downloads"&gt;https://connect.microsoft.com/WSMAN/Downloads&lt;/a&gt;
		&lt;/li&gt;&lt;li&gt;Remove old version of WinRM CTP3 (DLL=WSMSVC.DLL, Date=2008-DECEMBER-13,Version=6.0.6001.18183) and reboot as needed
&lt;/li&gt;&lt;li&gt;Install SP2 and reboot as needed
&lt;/li&gt;&lt;li&gt;Install new version of WinRM CTP3 (DLL=WSMSVC.DLL, Date=2009-APRIL-08,Version=6.0.6002.18018) and reboot as needed
&lt;/li&gt;&lt;li&gt;Set the "Windows Remote Management (WS-Management)" service from MANUAL to AUTOMATIC DELAYED
&lt;/li&gt;&lt;li&gt;Start the "Windows Remote Management (WS-Management)" service
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="text-decoration:underline"&gt;&lt;em&gt;REMARK&lt;/em&gt;&lt;/span&gt;: for whatever reason, the "Windows Remote Management (WS-Management)" service is set to MANUAL and not started by default. This is different when comparing to the old WinRM CTP3 version. So after the installation of the new WinRM CTP3 version you need to reconfigure the "Windows Remote Management (WS-Management)" service.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3965" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Windows+Server/default.aspx">Windows Server</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/Field+experiences/default.aspx">Field experiences</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>‘New-Runspace’ vs. ‘New-PSSession’</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/02/new-runspace-vs-new-pssession.aspx</link><pubDate>Tue, 02 Jun 2009 20:16:12 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3963</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Until Windows PowerShell CTP2, Microsoft used the CMDlet called "&lt;strong&gt;&lt;em&gt;New-Runspace&lt;/em&gt;&lt;/strong&gt;" for setting up a remote session. As of Windows PowerShell CTP3 that was changed to "&lt;strong&gt;&lt;em&gt;New-PSSession&lt;/em&gt;&lt;/strong&gt;". Why? I do not know. Just something to be aware of!
&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline"&gt;&lt;em&gt;REMARK: &lt;/em&gt;&lt;/span&gt;this is not just for the 'New-Runspace', but rather for all related cmdlets, such as 'Remove-Runspace', etc.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3963" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>ILM RollUp Hotfix Packages</title><link>http://blogs.dirteam.com/blogs/jorge/archive/2009/06/02/ilm-rollup-hotfix-packages.aspx</link><pubDate>Tue, 02 Jun 2009 20:07:47 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:3962</guid><dc:creator>Jorge</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The latest ILM RollUp Hotfix Package updates both MSDN and Enterprise versions of ILM. This is good because previous hotfixes only update Enterprise versions of ILM. When talking about ILM I mean ILM Provisioning/Synchronization Services (a.k.a. MIIS) AND ILM Certificate Management Services (a.k.a. CLM). Separate fixes are available for both as in reality they are still separate products that can interact with each other. When talking about the interaction between MIIS and CLM [1] a management agent is required to be installed on both the MIIS side and the CLM side. Additionally, configurations are required to provision CLM requests through MIIS. Examples are: configuring an MA, CLM config files, registry permissions, etc.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;This is the part where it goes wrong. When Microsoft creates a new hotfix for ILM, for whatever reason they only create the hotfix for MIIS and CLM, and NOT for the MA components of CLM. Is that important, you may think? Heck, yes! Why? Because the CLM MA component on the MIIS side checks DLL versions when talking to CLM. Is version mismatches occur between those two, the CLM MA becomes usesless! Which of course sucks! The error you might see in the Application Event Log is similar to:
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;--------------------------------------------------------
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;The extensible extension returned an unsupported error in MIIS.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt; The stack trace is:
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt; "Microsoft.MetadirectoryServices.ExtensibleExtensionException: &lt;span style="color:red"&gt;Could not load file or assembly 'Microsoft.Clm.Common, Version=3.3.1087.2&lt;/span&gt;, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;Server stack trace: 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at ExtensibleWfMA.ClmMaProxy.GetConnectionStringFromClm()
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at ExtensibleWfMA.ClmMaProxy.GetConnectionString(String sqlUserName, String sqlPassword, Boolean sqlAuth, String miisSpecifiedConnectionString)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at ExtensibleWfMA.ClmMaProxy.GetSqlDatabaseTimeStamp(String sqlUserName, String sqlPassword, Boolean sqlAuth, String miisSpecifiedConnectionString)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp;amp; outArgs)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp;amp; outArgs)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;Exception rethrown at [0]: 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at ExtensibleWfMA.ClmMaProxy.GetSqlDatabaseTimeStamp(String sqlUserName, String sqlPassword, Boolean sqlAuth, String miisSpecifiedConnectionString)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at ExtensibleWfMA.ImportWF.beginImportCode_ExecuteCode(Object sender, EventArgs e)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;   at ExtensibleWfMA.MACallExport.GenerateImportFile(String filename, String connectTo, String user, String password, ConfigParameterCollection configParameters, Boolean fullImport, TypeDescriptionCollection types, String&amp;amp; customData)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:red"&gt;&lt;span style="font-family:Segoe UI; font-size:9pt"&gt;Microsoft Identity Integration Server 3.3.1101.2"&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;--------------------------------------------------------
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;So what can you do in the scenario where you are using MIIS, CLM and the CLM MA?
&lt;/p&gt;&lt;p&gt;You can update MIIS with its hotfix counterpart, but not the CLM with its hotfix counterpart. Assuming you installed ILM from the ILM media with build 3.3.1087.2, after applying the hotfix for MIIS you would have build 3.3.1101.2 for MIIS and still keep CLM at build 3.3.1087.2 so that the CLM MA, which is build 3.3.1087.2, works with CLM.
&lt;/p&gt;&lt;p&gt;Or try to contact PSS and specifically mention you want NEW installation media for ILM with the latest build. I have not tried this myself, but it is worth the try!
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;[1] Using these names as there are shorter, only MSFT employees must always use the new full marketing names &lt;span style="font-family:Wingdings"&gt;J&lt;/span&gt;
	&lt;/p&gt;&lt;p&gt;Cheers, 
&lt;/p&gt;&lt;p&gt;Jorge 
&lt;/p&gt;&lt;p&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;* This posting is provided "AS IS" with no warranties and confers no rights! &lt;br/&gt;* Always test before implementing!&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;br/&gt;############### Jorge's Quest For Knowledge ###############&lt;br/&gt;######## &lt;a href="http://blogs.dirteam.com/blogs/jorge/default.aspx"&gt;http://blogs.dirteam.com/blogs/jorge/default.aspx&lt;/a&gt; #########&lt;br/&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=3962" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/ILM/default.aspx">ILM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/CLM/default.aspx">CLM</category><category domain="http://blogs.dirteam.com/blogs/jorge/archive/tags/OCG/default.aspx">OCG</category></item></channel></rss>