<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Explored Spaces</title>
	
	<link>http://geekcubo.com</link>
	<description>Technical Blog on managing enterprise data, agile techniques, agile methodologies, agile testing, virtualization solutions, vmware solutions</description>
	<lastBuildDate>Tue, 16 Apr 2013 12:43:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/geekcubo/UBrR" /><feedburner:info uri="geekcubo/ubrr" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:emailServiceId>geekcubo/UBrR</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Citrix Xenserver Log Rotation</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/87fzuHZtGsU/</link>
		<comments>http://geekcubo.com/2013/04/citrix-xenserver-log-rotation/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 12:36:50 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[XENSERVER]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[xenserver]]></category>
		<category><![CDATA[xenserver log rotation]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=508</guid>
		<description><![CDATA[<p>We had issues with log rotation in XenServer causing the disk space to use completely and get hung, I had to delete the log file manually everytime this happens. So we decided to rotate the log files ensuring it doesn&#8217;t hog up disk space.</p> Change /etc/logrotate.conf Rotate 5 (will hold only 5 MB log files) [...]]]></description>
				<content:encoded><![CDATA[<p>We had issues with log rotation in XenServer causing the disk space to use completely and get hung, I had to delete the log file manually everytime this happens. So we decided to rotate the log files ensuring it doesn&#8217;t hog up disk space.</p>
<ul>
<li>Change /etc/logrotate.conf
<ul>
<li>Rotate 5 (will hold only 5 MB log files)</li>
<li>Enabled compress (will compress log files)</li>
</ul>
</li>
<li>Configure logrotation every hour
<ul>
<li>mv /etc/cron.daily/logrotate /etc/cron.hourly/logrotate</li>
</ul>
</li>
<li>Disable default logging to syslog. This was done to address the issue described in the below article.
<ul>
<li><a href="http://support.citrix.com/article/CTX130585">http://support.citrix.com/article/CTX130585</a></li>
</ul>
</li>
</ul>
<p><span style="line-height: 1.6em;">Hope this helps!</span></p>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-508"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=87fzuHZtGsU:20r-O4a0EiE:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=87fzuHZtGsU:20r-O4a0EiE:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=87fzuHZtGsU:20r-O4a0EiE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=87fzuHZtGsU:20r-O4a0EiE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=87fzuHZtGsU:20r-O4a0EiE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=87fzuHZtGsU:20r-O4a0EiE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=87fzuHZtGsU:20r-O4a0EiE:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/87fzuHZtGsU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2013/04/citrix-xenserver-log-rotation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2013/04/citrix-xenserver-log-rotation/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=citrix-xenserver-log-rotation</feedburner:origLink></item>
		<item>
		<title>Citrix Provisioning – vDisk RAM cache size not able to set more than 4GB/8GB</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/MiCCR-GX53s/</link>
		<comments>http://geekcubo.com/2013/02/citrix-provisioning-vdisk-ram-cache-size-set-4gb8gb/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 11:41:51 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bnistack]]></category>
		<category><![CDATA[Provisioning server]]></category>
		<category><![CDATA[target device]]></category>
		<category><![CDATA[vDisk RAM cache]]></category>
		<category><![CDATA[wcmaxramcachemb]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=494</guid>
		<description><![CDATA[<p>I had an issue when trying to assign vDisk RAM cache for 10GB, In the target device RAM cache was showing only 8GB. I know it&#8217;s a limitation in Windows 2003 STD where the OS limitation is 4GB, however i had Windows 2003 enterprise edition.</p> <p>Did some check and found there&#8217;s a regkey to be [...]]]></description>
				<content:encoded><![CDATA[<p>I had an issue when trying to assign vDisk RAM cache for 10GB, In the target device RAM cache was showing only 8GB. I know it&#8217;s a limitation in Windows 2003 STD where the OS limitation is 4GB, however i had Windows 2003 enterprise edition.</p>
<p>Did some check and found there&#8217;s a regkey to be tweaked to set the value for more than 8GB.</p>
<ul>
<li><span style="line-height: 14px;">Make the vDisk to Private RW mode</span></li>
<li><span style="line-height: 1.6em;">Navigate to </span></li>
</ul>
<blockquote><p><em>HKLM\system\CurrentControlSet\Services\bnistack\Parameters\</em></p></blockquote>
<ul>
<li><span style="line-height: 14px;">If not already present, create DWORD &#8220;WcMaxRamCacheMB&#8221;.  Assign the required amount of vDisk cache in  MB. In my case i&#8217;ve assigned 14GB.</span></li>
</ul>
<p><a href="http://i2.wp.com/geekcubo.com/wp-content/uploads/2013/02/RAM-cache_reg-e1360840790402.jpg" class="fancyboxgroup" rel="gallery-494"><img class="size-medium wp-image-495 alignnone colorbox-494" alt="RAM cache_reg" src="http://i1.wp.com/geekcubo.com/wp-content/uploads/2013/02/RAM-cache_reg-e1360840790402-300x72.jpg?resize=300%2C72" data-recalc-dims="1" /></a></p>
<ul>
<li>Shutdown target device &amp; make it Standard RW mode; Cache Type RAM and specify 14GB for the cache in vDisk properties.</li>
<li>Boot target devices, you will be able to see 14GB assigned for vDisk RAM cache.</li>
</ul>
<p><a href="http://i1.wp.com/geekcubo.com/wp-content/uploads/2013/02/RAM-Cache1.jpg" class="fancyboxgroup" rel="gallery-494"><img class="alignnone size-full wp-image-498 colorbox-494" alt="RAM Cache" src="http://i1.wp.com/geekcubo.com/wp-content/uploads/2013/02/RAM-Cache1.jpg?resize=278%2C300" data-recalc-dims="1" /></a></p>
<p>Hope this helps!</p>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-494"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=MiCCR-GX53s:-gNWacoCXMQ:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=MiCCR-GX53s:-gNWacoCXMQ:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=MiCCR-GX53s:-gNWacoCXMQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=MiCCR-GX53s:-gNWacoCXMQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=MiCCR-GX53s:-gNWacoCXMQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=MiCCR-GX53s:-gNWacoCXMQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=MiCCR-GX53s:-gNWacoCXMQ:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/MiCCR-GX53s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2013/02/citrix-provisioning-vdisk-ram-cache-size-set-4gb8gb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2013/02/citrix-provisioning-vdisk-ram-cache-size-set-4gb8gb/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=citrix-provisioning-vdisk-ram-cache-size-set-4gb8gb</feedburner:origLink></item>
		<item>
		<title>Windows 2008 VM hangs with citrix xentools 6.0.2</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/wo72EHqlAOQ/</link>
		<comments>http://geekcubo.com/2012/10/windows-2008-vm-hangs-xentools-6-0-2/#comments</comments>
		<pubDate>Wed, 17 Oct 2012 14:55:13 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[2008 hangs]]></category>
		<category><![CDATA[citirx xentools]]></category>
		<category><![CDATA[citrix PV Ethernet Adapter]]></category>
		<category><![CDATA[TCP offload]]></category>
		<category><![CDATA[Windows 2008 hangs]]></category>
		<category><![CDATA[xenserver]]></category>
		<category><![CDATA[xenserver6.0.2]]></category>
		<category><![CDATA[xentools]]></category>
		<category><![CDATA[xentools6.0.2]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=474</guid>
		<description><![CDATA[<p>Recently I installed Windows 2008 x64 VM and installed xentools 6.0.2. VM was so slow and i couldn&#8217;t do any tasks. Sounds as a bug with xentools 6.0.2, couple of options to get it fixed</p> Rollback to xentools 6.0 Or &#8220;Disable Offload options&#8221; in the NIC properties. I disabled all properties in Advanced tab, you [...]]]></description>
				<content:encoded><![CDATA[<p>Recently I installed Windows 2008 x64 VM and installed xentools 6.0.2. VM was so slow and i couldn&#8217;t do any tasks. Sounds as a bug with xentools 6.0.2, couple of options to get it fixed</p>
<blockquote>
<ul>
<li>Rollback to xentools 6.0</li>
<li>Or &#8220;Disable Offload options&#8221; in the NIC properties.</li>
<li>I disabled all properties in Advanced tab, you can try disabling individual options.</li>
</ul>
<p><a href="http://i0.wp.com/geekcubo.com/wp-content/uploads/2012/10/NIC-offload1.jpg" class="fancyboxgroup" rel="gallery-474" title="NIC offload"><img class="aligncenter size-medium wp-image-477 colorbox-474" title="NIC offload" src="http://i2.wp.com/geekcubo.com/wp-content/uploads/2012/10/NIC-offload1-e1350485561613-300x160.jpg?resize=300%2C160" alt="" data-recalc-dims="1" /></a>Hope this helps!</p></blockquote>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-474"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=wo72EHqlAOQ:pc2uu-bShyI:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=wo72EHqlAOQ:pc2uu-bShyI:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=wo72EHqlAOQ:pc2uu-bShyI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=wo72EHqlAOQ:pc2uu-bShyI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=wo72EHqlAOQ:pc2uu-bShyI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=wo72EHqlAOQ:pc2uu-bShyI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=wo72EHqlAOQ:pc2uu-bShyI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/wo72EHqlAOQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/10/windows-2008-vm-hangs-xentools-6-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/10/windows-2008-vm-hangs-xentools-6-0-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=windows-2008-vm-hangs-xentools-6-0-2</feedburner:origLink></item>
		<item>
		<title>SQL 2008 – Configure to listen in Static TCP port</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/i4klNsQtyOw/</link>
		<comments>http://geekcubo.com/2012/10/sql-2008-configure-listen-static-tcp-port/#comments</comments>
		<pubDate>Wed, 17 Oct 2012 14:34:15 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL Dynamic ports]]></category>
		<category><![CDATA[SQL Network configuration]]></category>
		<category><![CDATA[SQL static port]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=465</guid>
		<description><![CDATA[<p>By Default SQL 2008 listens in dynamic port, we may need SQL to listen in specific port (eg.1433) incase if this DB has to be accessed over firewall. Below are the steps to do it</p> Open SQL config Manager &#62; SQL Server network configuration Select Protocols for &#60;Instance&#62;  &#62; TCP/IP <a href="http://i2.wp.com/geekcubo.com/wp-content/uploads/2012/10/screen15.jpg" class="fancyboxgroup" rel="gallery-465" title="SQL [...]]]></description>
				<content:encoded><![CDATA[<p>By Default SQL 2008 listens in dynamic port, we may need SQL to listen in specific port (eg.1433) incase if this DB has to be accessed over firewall. Below are the steps to do it</p>
<blockquote>
<ul>
<li>Open SQL config Manager &gt; SQL Server network configuration</li>
<li>Select Protocols for &lt;Instance&gt;  &gt; TCP/IP</li>
</ul>
<div><a href="http://i2.wp.com/geekcubo.com/wp-content/uploads/2012/10/screen15.jpg" class="fancyboxgroup" rel="gallery-465" title="SQL NW config"><img class="size-medium wp-image-466 aligncenter colorbox-465" title="SQL NW config" src="http://i2.wp.com/geekcubo.com/wp-content/uploads/2012/10/screen15-e1350483811147-300x126.jpg?resize=300%2C126" alt="" data-recalc-dims="1" /></a></div>
<ul>
<li>Select the appropriate address, delete &#8220;0&#8243; in the Dynamic ports</li>
<li>Specify the static port to be used in &#8220;TCP Port&#8221;</li>
</ul>
<p style="text-align: center;"><a href="http://i2.wp.com/geekcubo.com/wp-content/uploads/2012/10/screen16.jpg" class="fancyboxgroup" rel="gallery-465" title="Port"><img class="size-medium wp-image-467 aligncenter colorbox-465" title="Port" src="http://i1.wp.com/geekcubo.com/wp-content/uploads/2012/10/screen16-e1350483990501-300x136.jpg?resize=300%2C136" alt="" data-recalc-dims="1" /></a></p>
<ul>
<li>If it should be changed for all IPs, do the above in &#8220;IPALL&#8221; section</li>
</ul>
<p style="text-align: center;"><a href="http://i1.wp.com/geekcubo.com/wp-content/uploads/2012/10/screen18.jpg" class="fancyboxgroup" rel="gallery-465" title="IPALL"><img class="size-medium wp-image-468 aligncenter colorbox-465" title="IPALL" src="http://i1.wp.com/geekcubo.com/wp-content/uploads/2012/10/screen18-e1350484075526-300x96.jpg?resize=300%2C96" alt="" data-recalc-dims="1" /></a></p>
<p>Hope this helps!</p></blockquote>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-465"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=i4klNsQtyOw:y3_knBVHqOg:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=i4klNsQtyOw:y3_knBVHqOg:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=i4klNsQtyOw:y3_knBVHqOg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=i4klNsQtyOw:y3_knBVHqOg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=i4klNsQtyOw:y3_knBVHqOg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=i4klNsQtyOw:y3_knBVHqOg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=i4klNsQtyOw:y3_knBVHqOg:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/i4klNsQtyOw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/10/sql-2008-configure-listen-static-tcp-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/10/sql-2008-configure-listen-static-tcp-port/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sql-2008-configure-listen-static-tcp-port</feedburner:origLink></item>
		<item>
		<title>Specifications(with examples) – Test Automation Pyramid</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/AdlzPUvr1us/</link>
		<comments>http://geekcubo.com/2012/09/specifications-test-automation-pyramid/#comments</comments>
		<pubDate>Sat, 15 Sep 2012 09:49:08 +0000</pubDate>
		<dc:creator>satnair</dc:creator>
				<category><![CDATA[Agile Testing]]></category>
		<category><![CDATA[Agile World]]></category>
		<category><![CDATA[bdd specification]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[cucumber and spinach]]></category>
		<category><![CDATA[cucumber specification]]></category>
		<category><![CDATA[framework built using rspec]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[selenium headless]]></category>
		<category><![CDATA[specification by example]]></category>
		<category><![CDATA[specifications]]></category>
		<category><![CDATA[specifications pyramid]]></category>
		<category><![CDATA[spinach]]></category>
		<category><![CDATA[test automation with specifications]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=458</guid>
		<description><![CDATA[<p>“Specifications (with examples) &#8211; Test Automation Pyramid” is a set of process patterns and tests pyramid that helps teams to evolve and maintain specifications for an enterprise product.</p> <p>For enterprise projects, maintaining automation tests suite is always a challenge.</p> Detailed walkthru of automation pyramid containing different types of specification driven tests layer. Framework built using [...]]]></description>
				<content:encoded><![CDATA[<p>“Specifications (with examples) &#8211; Test Automation Pyramid” is a set of process patterns and tests pyramid that helps teams to evolve and maintain specifications for an enterprise product.</p>
<p>For enterprise projects, maintaining automation tests suite is always a challenge.</p>
<ul>
<li>Detailed walkthru of automation pyramid containing different types of specification driven tests layer.</li>
<li>Framework built using RSpec, Spinach, Cucumber, webkit and Webdriver with examples</li>
<li>Process of evolving and building specification tests</li>
<li>Tips to maintain test suite and minimize test run durations</li>
</ul>
<object type='application/x-shockwave-flash' wmode='opaque' data='http://static.slideshare.net/swf/ssplayer2.swf?id=14296974&doc=specificationstestautomationpyramid-public-120915051224-phpapp01' width='665' height='545'><param name='movie' value='http://static.slideshare.net/swf/ssplayer2.swf?id=14296974&doc=specificationstestautomationpyramid-public-120915051224-phpapp01' /><param name='allowFullScreen' value='true' /></object>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-458"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AdlzPUvr1us:MaYhf5Aup70:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AdlzPUvr1us:MaYhf5Aup70:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AdlzPUvr1us:MaYhf5Aup70:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AdlzPUvr1us:MaYhf5Aup70:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AdlzPUvr1us:MaYhf5Aup70:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AdlzPUvr1us:MaYhf5Aup70:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AdlzPUvr1us:MaYhf5Aup70:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/AdlzPUvr1us" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/09/specifications-test-automation-pyramid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/09/specifications-test-automation-pyramid/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=specifications-test-automation-pyramid</feedburner:origLink></item>
		<item>
		<title>Xenserver – Assign more than 8 vCPU to VMs</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/Q1_33WxvH-w/</link>
		<comments>http://geekcubo.com/2012/08/xenserver-assign-8-vcpu-vms/#comments</comments>
		<pubDate>Thu, 02 Aug 2012 13:25:57 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[XENSERVER]]></category>
		<category><![CDATA[increase vCPU]]></category>
		<category><![CDATA[vCPU]]></category>
		<category><![CDATA[xenserver]]></category>
		<category><![CDATA[xenserver command line]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=446</guid>
		<description><![CDATA[<p>I had a requirement to provide a VM with more than 8 vCPU and in Xencenter UI there was no option to do it.</p> <p>I was able to do it from xenserver command line and below are the steps</p> xe vm-param-set uuid=your_vms_uuid VCPUs-at-startup=16  xe vm-param-set uuid=your_vms_uuid VCPUs-max=16 <a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> </a>]]></description>
				<content:encoded><![CDATA[<p>I had a requirement to provide a VM with more than 8 vCPU and in Xencenter UI there was no option to do it.</p>
<p>I was able to do it from xenserver command line and below are the steps</p>
<blockquote>
<pre><em><code>xe vm-param-set uuid=your_vms_uuid VCPUs-at-startup=16 </code></em>
<em><code>xe vm-param-set uuid=your_vms_uuid VCPUs-max=16</code></em></pre>
</blockquote>
<pre></pre>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-446"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=Q1_33WxvH-w:QVF0SHZXKY8:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=Q1_33WxvH-w:QVF0SHZXKY8:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=Q1_33WxvH-w:QVF0SHZXKY8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=Q1_33WxvH-w:QVF0SHZXKY8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=Q1_33WxvH-w:QVF0SHZXKY8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=Q1_33WxvH-w:QVF0SHZXKY8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=Q1_33WxvH-w:QVF0SHZXKY8:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/Q1_33WxvH-w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/08/xenserver-assign-8-vcpu-vms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/08/xenserver-assign-8-vcpu-vms/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=xenserver-assign-8-vcpu-vms</feedburner:origLink></item>
		<item>
		<title>Turn off Idle Pool setting – Dedicated Desktop group – XenDesktop5.x</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/AhAWPOlDDVo/</link>
		<comments>http://geekcubo.com/2012/06/turn-idle-pool-setting-dedicated-desktop-group-xendesktop5-x/#comments</comments>
		<pubDate>Wed, 20 Jun 2012 11:16:42 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[automatic poweroff]]></category>
		<category><![CDATA[Dedicated Desktop group]]></category>
		<category><![CDATA[Idle Pool Settings]]></category>
		<category><![CDATA[MCS]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[xendesktop]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=436</guid>
		<description><![CDATA[<p>We had created Dedicated Desktop Group using MCS, it was mapped to individual users and didn&#8217;t want Idle pool setting to power off VM&#8217;s during night when idle.</p> <p>Desktop Studio doesn&#8217;t provide the option to change it for Dedicated Desktop groups, instead we can do it using power shell. Below commands will help</p> Set-BrokerDesktopGroup -name [...]]]></description>
				<content:encoded><![CDATA[<p>We had created Dedicated Desktop Group using MCS, it was mapped to individual users and didn&#8217;t want Idle pool setting to power off VM&#8217;s during night when idle.</p>
<p>Desktop Studio doesn&#8217;t provide the option to change it for Dedicated Desktop groups, instead we can do it using power shell. Below commands will help</p>
<blockquote>
<ul>
<li>Set-BrokerDesktopGroup -name &lt;DesktopGroup Name&gt; -AutomaticPowerOnForAssigned $false</li>
</ul>
<p><em>                             This will disable all power actions on the VM&#8217;s in Desktop Group</em></p>
<ul>
<li>Set-BrokerDesktopGroup -name &lt;DesktopGroup Name&gt; -ShutdownDesktopsAfterUse $false</li>
</ul>
<p><em>                              This will disable shutdown of VM after use.</em></p></blockquote>
<p>Try it and leave comments.</p>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-436"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AhAWPOlDDVo:G-XjambIfEM:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AhAWPOlDDVo:G-XjambIfEM:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AhAWPOlDDVo:G-XjambIfEM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AhAWPOlDDVo:G-XjambIfEM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AhAWPOlDDVo:G-XjambIfEM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=AhAWPOlDDVo:G-XjambIfEM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=AhAWPOlDDVo:G-XjambIfEM:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/AhAWPOlDDVo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/06/turn-idle-pool-setting-dedicated-desktop-group-xendesktop5-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/06/turn-idle-pool-setting-dedicated-desktop-group-xendesktop5-x/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=turn-idle-pool-setting-dedicated-desktop-group-xendesktop5-x</feedburner:origLink></item>
		<item>
		<title>Hiding Favorites &amp; Libraries from Windows Explorer – Windows2008 R2/RDS/Hosted Shared Desktop</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/JRvKrWsWqsg/</link>
		<comments>http://geekcubo.com/2012/05/hiding-favorites-libraries-windows-explorer-windows2008-r2rdshosted-shared-desktop/#comments</comments>
		<pubDate>Wed, 30 May 2012 07:43:35 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[citrix xenapp]]></category>
		<category><![CDATA[Hide Libraries Favorites]]></category>
		<category><![CDATA[hosted shared desktop]]></category>
		<category><![CDATA[HSD]]></category>
		<category><![CDATA[RDS]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[windows2008]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=418</guid>
		<description><![CDATA[<p>We were implementing HSD solution with RDS, users were able to see Libraries and Favorites links in the Windows Explorer. We wanted to hide it, as no users should save any file in those locations.</p> <p><a href="http://i0.wp.com/geekcubo.com/wp-content/uploads/2012/05/Fav-not-hidden1.jpg" class="fancyboxgroup" rel="gallery-418" title="Fav-not hidden"></a></p> Following registry edits would help in removing it for all users. <p>To remove Favorites</p> [...]]]></description>
				<content:encoded><![CDATA[<p>We were implementing HSD solution with RDS, users were able to see Libraries and Favorites links in the Windows Explorer. We wanted to hide it, as no users should save any file in those locations.</p>
<p><a href="http://i0.wp.com/geekcubo.com/wp-content/uploads/2012/05/Fav-not-hidden1.jpg" class="fancyboxgroup" rel="gallery-418" title="Fav-not hidden"><img class="alignleft size-medium wp-image-420 colorbox-418" title="Fav-not hidden" src="http://i0.wp.com/geekcubo.com/wp-content/uploads/2012/05/Fav-not-hidden1.jpg?resize=300%2C176" alt="" data-recalc-dims="1" /></a></p>
<ul>
<li>Following registry edits would help in removing it for all users.</li>
</ul>
<p><strong>To remove Favorites</strong></p>
<blockquote>
<ul>
<li>Open Regedit</li>
<li>Navigate to</li>
</ul>
<p><em>HKEY_CLASSES_ROOT\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder</em></p>
<ul>
<li>Apply &#8220;Full Control&#8221; permission for &#8220;Administrator&#8221; in &#8220;ShellFolder&#8221; key.</li>
<li>Change Value of &#8220;Attributes&#8221; DWORD  from &#8220;<strong>a0900100&#8243;</strong>  to &#8220;<strong>a9400100&#8243;</strong></li>
</ul>
</blockquote>
<p><strong>To remove Libraries</strong></p>
<blockquote>
<ul>
<li>Navigate to</li>
</ul>
<p><em>HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder</em></p>
<ul>
<li>Apply &#8220;Full Control&#8221; permission for &#8220;Administrator&#8221; in &#8220;ShellFolder&#8221; key.</li>
<li>Change Value of &#8220;Attributes&#8221; DWORD  from &#8220;<strong>b080010d&#8221;</strong>  to &#8220;<strong>b090010d&#8221;</strong></li>
</ul>
<p><strong><br />
</strong></p></blockquote>
<ul>
<li>Logoff and login to see the changes applied.</li>
<li>These changes will apply in Windows7.</li>
</ul>
<div></div>
<div>Hope this helps! Comments are welcome.</div>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-418"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=JRvKrWsWqsg:TiBTouvv2fw:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=JRvKrWsWqsg:TiBTouvv2fw:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=JRvKrWsWqsg:TiBTouvv2fw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=JRvKrWsWqsg:TiBTouvv2fw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=JRvKrWsWqsg:TiBTouvv2fw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=JRvKrWsWqsg:TiBTouvv2fw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=JRvKrWsWqsg:TiBTouvv2fw:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/JRvKrWsWqsg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/05/hiding-favorites-libraries-windows-explorer-windows2008-r2rdshosted-shared-desktop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/05/hiding-favorites-libraries-windows-explorer-windows2008-r2rdshosted-shared-desktop/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=hiding-favorites-libraries-windows-explorer-windows2008-r2rdshosted-shared-desktop</feedburner:origLink></item>
		<item>
		<title>IMA Service Fails to Start and MFCOM Service Hangs in Starting State – Xenapp 6.5</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/cehx8KgEHfc/</link>
		<comments>http://geekcubo.com/2012/04/ima-service-fails-start-mfcom-service-hangs-starting-state-xenapp-6-5/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 19:33:47 +0000</pubDate>
		<dc:creator>Rajeev</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Citrix policies]]></category>
		<category><![CDATA[citrix xenapp]]></category>
		<category><![CDATA[DB]]></category>
		<category><![CDATA[IMA]]></category>
		<category><![CDATA[IMA not starting]]></category>
		<category><![CDATA[initialdatabaseservername]]></category>
		<category><![CDATA[MFCOM]]></category>
		<category><![CDATA[MFCOM hung]]></category>
		<category><![CDATA[xenapp6.5]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=409</guid>
		<description><![CDATA[<p>OS crashed in our primary xenapp server hosting DB and had no backup to restore. Servers in farm were using LHC and continue to function.So we planned to have a isolated DB server, create a new farm &#38; move the servers to the new farm.</p> Created a new farm. Joined 2nd server to the new [...]]]></description>
				<content:encoded><![CDATA[<p>OS crashed in our primary xenapp server hosting DB and had no backup to restore. Servers in farm were using LHC and continue to function.So we planned to have a isolated DB server, create a new farm &amp; move the servers to the new farm.</p>
<ul>
<li>Created a new farm.</li>
<li>Joined 2nd server to the new farm, got it successfully added.</li>
<li>After reboot, IMA server failed to start &amp; MFCOM service hung at starting state.</li>
<li>Tried multiple troubleshooting including recreating LHC,rade based on the article <a style="text-align: left;" href="http://support.citrix.com/article/CTX127922">http://support.citrix.com/article/CTX127922</a></li>
<li>Also checked on IPSEC service based on below article <a style="text-align: left;" href="http://support.citrix.com/article/CTX127924">http://support.citrix.com/article/CTX127924</a></li>
<li>Confirmed hotfix level across the servers are same.</li>
<li>Still IMA &amp; MFCOM wouldn&#8217;t start.</li>
</ul>
<blockquote>
<ul>
<li>Found it&#8217;s a bug, DB settings are not getting properly updated in registry</li>
</ul>
<p>HKEY_LOCAL<wbr>_MACHINE\SOF<wbr>TWARE\Polici<wbr>es\Citrix\IM<wbr>A\Database Settings </wbr></wbr></wbr></wbr></p>
<ul>
<li>DB IP was not getting updated in the string &#8220;InitialDatabaseServerName&#8221;</li>
</ul>
</blockquote>
<div>
<ul>
<li>These settings also can be checked using gpedit.msc &gt; computer configuration &gt; citrix policies &gt; Settings &gt; Server Settings &gt; Database Settings</li>
</ul>
<p>I had a hard time finding this fix, Hope this helps. <img src='http://i1.wp.com/geekcubo.com/wp-includes/images/smilies/icon_smile.gif?w=665' alt=':-)' class='wp-smiley colorbox-409' data-recalc-dims="1" /> </p>
</div>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-409"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=cehx8KgEHfc:17yz-PgFaMs:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=cehx8KgEHfc:17yz-PgFaMs:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=cehx8KgEHfc:17yz-PgFaMs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=cehx8KgEHfc:17yz-PgFaMs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=cehx8KgEHfc:17yz-PgFaMs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=cehx8KgEHfc:17yz-PgFaMs:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=cehx8KgEHfc:17yz-PgFaMs:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/cehx8KgEHfc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/04/ima-service-fails-start-mfcom-service-hangs-starting-state-xenapp-6-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/04/ima-service-fails-start-mfcom-service-hangs-starting-state-xenapp-6-5/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ima-service-fails-start-mfcom-service-hangs-starting-state-xenapp-6-5</feedburner:origLink></item>
		<item>
		<title>Script to Generate Job Scripts – SQL Server</title>
		<link>http://feedproxy.google.com/~r/geekcubo/UBrR/~3/_ANSlhT-SNc/</link>
		<comments>http://geekcubo.com/2012/04/script-generate-job-scripts-sql-server/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 09:19:36 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server - How To]]></category>

		<guid isPermaLink="false">http://geekcubo.com/?p=382</guid>
		<description><![CDATA[<p>The following script generates the &#8220;Job Details&#8221; as in script form. I struggled a lot to migrate jobs from one server to another server and decided to write a script to do this. A bit long, but worth the time to look at </p> <p>This script uses the following sys objects</p> <p style="padding-left: 30px;">sysjobs_view</p> <p [...]]]></description>
				<content:encoded><![CDATA[<p>The following script generates the &#8220;Job Details&#8221; as in script form. I struggled a lot to migrate jobs from one server to another server and decided to write a script to do this. A bit long, but worth the time to look at <img src='http://i1.wp.com/geekcubo.com/wp-includes/images/smilies/icon_smile.gif?w=665' alt=':)' class='wp-smiley colorbox-382' data-recalc-dims="1" /> </p>
<p>This script uses the following sys objects</p>
<p style="padding-left: 30px;">sysjobs_view</p>
<p style="padding-left: 30px;">sysjobs</p>
<p style="padding-left: 30px;">sysjobservers</p>
<p style="padding-left: 30px;">sysjobschedules</p>
<p style="padding-left: 30px;">sysjobsteps</p>
<pre class="brush: sql; light: false; title: ; toolbar: true; notranslate">&lt;/pre&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SET STATISTICS IO, TIME OFF
 SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
 SET NOCOUNT ON;
 SET ANSI_WARNINGS OFF;
 SET XACT_ABORT OFF;&lt;/p&gt;
BEGIN TRY
&lt;p style=&quot;padding-left: 30px;&quot;&gt;/* Variables for all processes */&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;DECLARE @JobID nvarchar(100),
 @JobName varchar (128),
 @JobCategory varchar (128),
 @JobCategoryClass varchar(128),
 @atthistime datetime,
 @timeinfo varchar(30),
 @MaxJobs int,
 @JobControl int,
 @enabled int,
 @notify_level_eventlog int,
 @notify_level_email int,
 @notify_level_netsend int,
 @notify_level_page int,
 @delete_level int,
 @description nvarchar(128),
 @category_name nvarchar(128),
 @owner_login_name nvarchar(128),
 @notify_email_operator_name nvarchar(128),
 @MaxSteps int,
 @LoopControl int,
 @step_name nvarchar (128),
 @step_id int,
 @cmdexec_success_code int,
 @on_success_action int,
 @on_success_step_id int,
 @on_fail_action int,
 @on_fail_step_id int,
 @retry_attempts int,
 @retry_interval int,
 @os_run_priority int,
 @subsystem nvarchar (128),
 @command nvarchar (max),
 @database_name nvarchar(128),
 @flags int,
 @MaxSchedules int,
 @SchedulesLoopControl int,
 @name nvarchar(2000),
 @sch_enabled int,
 @freq_type int,
 @freq_interval int,
 @freq_subday_type int,
 @freq_subday_interval int,
 @freq_relative_interval int,
 @freq_recurrence_factor int,
 @active_start_date int,
 @active_end_date int,
 @active_start_time int,
 @active_end_time int,
 @schedule_uid nvarchar (50),
 @server_name varchar(30)&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @atthistime = GETDATE()&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @timeinfo = CAST(@atthistime as varchar(30))&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;CREATE TABLE #Jobs (id int identity (1,1), jobid varchar(50))&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;/* insert the details of all enabled jobs into the temp table */&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;INSERT INTO #Jobs (jobid)
 SELECT jobid = convert(varchar(50),job_id)
 FROM msdb.dbo.SysJobs WITH (NOLOCK)
 where enabled = 1
 order by name asc&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @JobControl = 1
 SELECT @MaxJobs = MAX(id) FROM #jobs&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;--Create Jobs by looping through all the jobs&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;WHILE (@JobControl &lt;= @MaxJobs)
 BEGIN&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;PRINT 'USE [msdb]'
 PRINT 'GO'
 PRINT ''&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @JobID = JobID FROM #jobs WHERE id = @JobControl&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @JobName = name FROM msdb.dbo.sysjobs_view WHERE Job_ID = @JobID
 SELECT @JobCategory =sc.name, @JobCategoryClass = category_class FROM msdb.dbo.sysjobs sj
 INNER JOIN msdb.dbo.syscategories sc
 ON sc.category_id = sj.category_id
 WHERE Job_ID = @JobID&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;PRINT '/****** Object: Job ' + @JobName + ' Script Date:' + @timeinfo + ' ******/'
 PRINT 'IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N''' + @JobName + ''')'
 PRINT 'EXEC msdb.dbo.sp_delete_job @job_name= N''' + @JobName + ''''+ ', @delete_unused_schedule=1'
 PRINT 'GO'
 PRINT ''
 PRINT '/****** Object: Job ' + @JobName + ' Script Date:' + @timeinfo + ' ******/'
 PRINT 'BEGIN TRANSACTION'
 PRINT 'DECLARE @ReturnCode INT'
 PRINT 'SELECT @ReturnCode = 0'
 PRINT '/****** Object: JobCategory ' + QUOTENAME(@JobCategory) + ' Script Date:' + @timeinfo + ' ******/'
 PRINT 'IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name = N''' + @JobCategory + ''' AND category_class = ' + @JobCategoryClass+ ')'
 PRINT 'BEGIN'
 PRINT 'EXEC @ReturnCode = msdb.dbo.sp_add_category @class=N''JOB'', @type=N''LOCAL'', @name = N''' + @JobCategory + ''''
 PRINT 'IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback'
 PRINT ''
 PRINT 'END'
 PRINT ''
 PRINT 'DECLARE @jobId BINARY(16)'
 PRINT ''&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @enabled = sj.enabled,
 @notify_level_eventlog = sj.notify_level_eventlog,
 @notify_level_email = sj.notify_level_email,
 @notify_level_netsend = sj.notify_level_netsend,
 @notify_level_page = sj.notify_level_page,
 @delete_level = sj.delete_level,
 @description = sj.[description],
 @category_name = sc.name,
 @owner_login_name = SUSER_NAME(sj.owner_sid),
 @notify_email_operator_name = so.name
 FROM msdb.dbo.sysjobs sj
 INNER JOIN msdb.dbo.syscategories sc
 ON sc.category_id = sj.category_id
 LEFT OUTER JOIN msdb.dbo.sysoperators so
 ON sj.notify_email_operator_id = so.id
 WHERE Job_ID = @JobID&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;print 'select @jobid=job_id from msdb.dbo.sysjobs where (name = N''' + @jobname + ''')'
 print 'if (@jobid is NULL)'
 print 'begin'&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;PRINT 'EXEC @ReturnCode = msdb.dbo.sp_add_job @job_name = N''' + @JobName + ''','
 PRINT '@enabled=' + CAST(@enabled as varchar(30))+ ','
 PRINT '@notify_level_eventlog=' + CAST(@notify_level_eventlog as varchar(30))+ ','
 PRINT '@notify_level_email=' + CAST(@notify_level_email as varchar(30))+ ','
 PRINT '@notify_level_netsend=' + CAST(@notify_level_netsend as varchar(30))+ ','
 PRINT '@notify_level_page=' + CAST(@notify_level_page as varchar(30))+ ','
 PRINT '@delete_level=' + CAST(@delete_level as varchar(30))+ ','
 PRINT '@description=N''' + REPLACE(@description, '''','''''') + ''','
 PRINT '@category_name=N''' + @category_name + ''','
 PRINT '@owner_login_name=N''' + ISNULL(@owner_login_name,'sa') + ''','&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;/* sometime the following works and some it is not. better make changes to suit your purpose */&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;IF @notify_email_operator_name IS NOT NULL
 PRINT '@notify_email_operator_name=N''' + @notify_email_operator_name + ''', @job_id = @JobID OUTPUT'
 ELSE
 PRINT '@job_id = @JobID OUTPUT'
 PRINT 'IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback'
 PRINT ''
 print 'end'&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;/* Now start the work on the steps */&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @LoopControl = 1
 SELECT @MaxSteps = MAX(step_id) FROM msdb.dbo.sysjobsteps WHERE Job_ID = @JobID&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;WHILE (@LoopControl &lt;= @MaxSteps)
 BEGIN&lt;/p&gt;
&lt;p style=&quot;padding-left: 60px;&quot;&gt;SELECT @step_name = step_name,
 @step_id = step_id,
 @cmdexec_success_code = cmdexec_success_code,
 @on_success_action = on_success_action,
 @on_success_step_id = on_success_step_id,
 @on_fail_action = on_fail_action,
 @on_fail_step_id = on_fail_step_id,
 @retry_attempts = retry_attempts,
 @retry_interval = retry_interval,
 @os_run_priority = os_run_priority,
 @subsystem = subsystem,
 @command = command,
 @database_name = database_name,
 @flags = flags
 FROM msdb.dbo.sysjobsteps WHERE Job_ID = @JobID
 AND step_id = @LoopControl&lt;/p&gt;
&lt;p style=&quot;padding-left: 60px;&quot;&gt;PRINT ''
 PRINT '/****** Object: Step ' + @step_name + ' Script Date: ' + @timeinfo + '******/'
 print 'if not exists (select * from msdb.dbo.sysjobsteps where job_id=@jobid and step_id=' + cast(@step_id as varchar) + ')'
 PRINT 'EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N''' + @step_name + ''','
 PRINT '@step_id=' + CAST(@step_id as varchar(30))+ ','
 PRINT '@cmdexec_success_code=' + CAST(@cmdexec_success_code as varchar(30))+ ','
 PRINT '@on_success_action=' + CAST(@on_success_action as varchar(30))+ ','
 PRINT '@on_success_step_id=' + CAST(@on_success_step_id as varchar(30))+ ','
 PRINT '@on_fail_action=' + CAST(@on_fail_action as varchar(30))+ ','
 PRINT '@on_fail_step_id=' + CAST(@on_fail_step_id as varchar(30))+ ','
 PRINT '@retry_attempts=' + CAST(@retry_attempts as varchar(30))+ ','
 PRINT '@retry_interval=' + CAST(@retry_interval as varchar(30))+ ','
 PRINT '@os_run_priority=' + CAST(@os_run_priority as varchar(30))+ ', @subsystem=N''' + @subsystem + ''','
 PRINT '@command=N''' + REPLACE(@command, '''','''''') + ''','
 PRINT '@database_name=N''' + @database_name + ''','
 PRINT '@flags=' + CAST(@flags as varchar(30))
 PRINT ''
 PRINT 'IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback'
 SELECT @LoopControl = @LoopControl + 1&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;END -- End Steps&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;PRINT ''
 PRINT 'EXEC @ReturnCode = msdb.dbo.sp_update_job @job_id = @jobId, @start_step_id = 1'
 PRINT 'IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback'
 PRINT ''&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;/* Finally Schedules  */&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @SchedulesLoopControl = 1&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;CREATE TABLE #Schedules (id int identity (1,1), schedule_id int)&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;INSERT INTO #Schedules (schedule_id)
 SELECT schedule_id = sjs.schedule_id
 FROM msdb.dbo.sysjobschedules sjs WITH (NOLOCK)
 WHERE sjs.Job_ID = @JobID&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @MaxSchedules = MAX(id) FROM #Schedules&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;IF EXISTS (SELECT COUNT(*) FROM #Schedules)
 BEGIN&lt;/p&gt;
&lt;p style=&quot;padding-left: 60px;&quot;&gt;WHILE (@SchedulesLoopControl &lt;= @MaxSchedules)
 BEGIN&lt;/p&gt;
&lt;p style=&quot;padding-left: 90px;&quot;&gt;SELECT @name = name,
 @sch_enabled = enabled,
 @freq_type = freq_type,
 @freq_interval = freq_interval,
 @freq_subday_type = freq_subday_type,
 @freq_subday_interval = freq_subday_interval,
 @freq_relative_interval = freq_relative_interval,
 @freq_recurrence_factor = freq_recurrence_factor,
 @active_start_date = active_start_date,
 @active_end_date = active_end_date,
 @active_start_time = active_start_time,
 @active_end_time = active_end_time,
 @schedule_uid = schedule_uid
 FROM msdb.dbo.sysjobschedules sjs WITH (NOLOCK)
 INNER JOIN msdb.dbo.sysschedules ss WITH (NOLOCK) ON sjs.schedule_id = ss.schedule_id
 INNER JOIN #Schedules s ON ss.schedule_id = s.schedule_id
 WHERE sjs.Job_ID = @JobID
 AND s.id = @SchedulesLoopControl&lt;/p&gt;
&lt;p style=&quot;padding-left: 90px;&quot;&gt;PRINT 'EXEC @ReturnCode = msdb.dbo.sp_add_jobschedule @job_id=@jobId, @name=N''' + REPLACE(@name, '''','''''') + ''','
 PRINT '@enabled=' + CAST(@sch_enabled as varchar(30))+ ','
 PRINT '@freq_type=' + CAST(@freq_type as varchar(30))+ ','
 PRINT '@freq_interval=' + CAST(@freq_interval as varchar(30))+ ','
 PRINT '@freq_subday_type=' + CAST(@freq_subday_type as varchar(30))+ ','
 PRINT '@freq_subday_interval=' + CAST(@freq_subday_interval as varchar(30))+ ','
 PRINT '@freq_relative_interval=' + CAST(@freq_relative_interval as varchar(30))+ ','
 PRINT '@freq_recurrence_factor=' + CAST(@freq_recurrence_factor as varchar(30))+ ','
 PRINT '@active_start_date=' + CAST(@active_start_date as varchar(30))+ ','
 PRINT '@active_end_date=' + CAST(@active_end_date as varchar(30))+ ','
 PRINT '@active_start_time=' + CAST(@active_start_time as varchar (30)) + ','
 PRINT '@active_end_time=' + CAST(@active_end_time as varchar (30))
 PRINT ''&lt;/p&gt;
&lt;p style=&quot;padding-left: 90px;&quot;&gt;PRINT ''
 PRINT 'IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback'
 PRINT ''&lt;/p&gt;
&lt;p style=&quot;padding-left: 90px;&quot;&gt;SELECT @SchedulesLoopControl = @SchedulesLoopControl + 1&lt;/p&gt;
&lt;p style=&quot;padding-left: 60px;&quot;&gt;END -- End Schedules&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;END -- END IF&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @server_name = CASE server_id WHEN 0 THEN 'local' ELSE 'Multi-Server' END
 FROM msdb.dbo.sysjobservers WHERE Job_ID = @JobID&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;PRINT 'EXEC @ReturnCode = msdb.dbo.sp_add_jobserver @job_id = @jobId, @server_name =N''(' + @server_name + ')'''
 PRINT 'IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback'
 PRINT 'COMMIT TRANSACTION'
 PRINT 'GOTO EndSave'
 PRINT 'QuitWithRollback:'
 PRINT ' IF (@@TRANCOUNT &gt; 0) ROLLBACK TRANSACTION'
 PRINT 'EndSave:'
 PRINT ''
 PRINT 'GO'
 PRINT ''
 PRINT ''&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;SELECT @JobControl = @JobControl + 1&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;DROP TABLE #Schedules&lt;/p&gt;
END --End Jobs

DROP TABLE #Jobs

END TRY

BEGIN CATCH
 DROP TABLE #Jobs
 DROP TABLE #Schedules
 END CATCH;
&lt;pre&gt;
</pre>
<p>I will keep posting as many as possible.</p>
<div class="dmca_badge none"><a href="http://www.dmca.com/Protection/Status.aspx?ID=8ebf9247-e66a-4e19-b99d-a981a770fb89" title="DMCA"> <img class="colorbox-382"  src="http://i2.wp.com/images.dmca.com/Badges/dmca_copyright_protected150c.png?w=665" alt="DMCA.com" data-recalc-dims="1"></a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:ao7FdYNXgv4"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=_ANSlhT-SNc:MmlJzC9RPIs:ao7FdYNXgv4" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=_ANSlhT-SNc:MmlJzC9RPIs:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=_ANSlhT-SNc:MmlJzC9RPIs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=_ANSlhT-SNc:MmlJzC9RPIs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=_ANSlhT-SNc:MmlJzC9RPIs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?i=_ANSlhT-SNc:MmlJzC9RPIs:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/geekcubo/UBrR?a=_ANSlhT-SNc:MmlJzC9RPIs:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/geekcubo/UBrR?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/geekcubo/UBrR/~4/_ANSlhT-SNc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://geekcubo.com/2012/04/script-generate-job-scripts-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://geekcubo.com/2012/04/script-generate-job-scripts-sql-server/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=script-generate-job-scripts-sql-server</feedburner:origLink></item>
	</channel>
</rss>
