<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andrew Morgan &#187; AppDisk</title>
	<atom:link href="http://andrewmorgan.ie/tag/appdisk/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmorgan.ie</link>
	<description>Grumpy ramblings</description>
	<lastBuildDate>Fri, 30 Jun 2017 09:24:25 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>UnSticking an AppDisk provisioning task in XenDesktop 7.x preview</title>
		<link>http://andrewmorgan.ie/2016/02/unsticking-an-appdisk-provisioning-task-in-xendesktop-7-x-preview/</link>
		<comments>http://andrewmorgan.ie/2016/02/unsticking-an-appdisk-provisioning-task-in-xendesktop-7-x-preview/#comments</comments>
		<pubDate>Tue, 09 Feb 2016 13:05:05 +0000</pubDate>
		<dc:creator><![CDATA[andyjmorgan]]></dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[AppDisk]]></category>

		<guid isPermaLink="false">http://andrewmorgan.ie/?p=3656</guid>
		<description><![CDATA[Here&#8217;s a wee little bug I&#8217;ve no idea how i created, but managed to clear it out anyway. After creating an AppDisk, it got a little stuck. I tried deleting the task and AppDisk but the disk just seemed to be stuck in the &#8220;creating&#8221; phase indefinately. To remove it, I had to do the following in Powershell from a delivery controller: ASNP Citrix* get-applibtask -active $true &#160; Once i had identified the TaskID, i ran: Stop-AppLibTask -TaskId 5be48afc-263b-454e-b3e9-5a2db6b966ff remove-AppLibTask [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s a wee little bug I&#8217;ve no idea how i created, but managed to clear it out anyway.</p>
<p>After creating an AppDisk, it got a little stuck. I tried deleting the task and AppDisk but the disk just seemed to be stuck in the &#8220;creating&#8221; phase indefinately.</p>
<p><a href="http://andrewmorgan.ie/wp-content/uploads/2016/02/stick.png"><img class="aligncenter wp-image-3658 size-full" src="http://andrewmorgan.ie/wp-content/uploads/2016/02/stick.png" alt="stick" width="797" height="190" /></a></p>
<p><span id="more-3656"></span></p>
<p>To remove it, I had to do the following in Powershell from a delivery controller:</p>
<p><strong>ASNP Citrix*<del><br />
</del>get-applibtask -active $true</strong></p>
<p><a href="http://andrewmorgan.ie/wp-content/uploads/2016/02/active.png"><img class="aligncenter wp-image-3659 size-full" src="http://andrewmorgan.ie/wp-content/uploads/2016/02/active.png" alt="active" width="624" height="427" /></a></p>
<p>&nbsp;</p>
<p>Once i had identified the TaskID, i ran:</p>
<p><strong>Stop-AppLibTask -TaskId 5be48afc-263b-454e-b3e9-5a2db6b966ff</strong><br />
<strong>remove-AppLibTask -TaskId 5be48afc-263b-454e-b3e9-5a2db6b966ff</strong></p>
<p>Now just one last thing to do!</p>
<p>&nbsp;</p>
<p><strong>get-applibappdisk</strong> and find the entry in the &#8220;creating&#8221; state:<a href="http://andrewmorgan.ie/wp-content/uploads/2016/02/AppLibDisk.png"><img class="aligncenter wp-image-3660 size-full" src="http://andrewmorgan.ie/wp-content/uploads/2016/02/AppLibDisk.png" alt="AppLibDisk" width="534" height="266" /></a>Now finish with a:</p>
<p><strong>remove-AppLibAppDisk -AppDiskUid d54681d3-6d0a-4259-b3ee-b90a899033bd</strong></p>
<p>using the DiskUid that you saw in the previous get-applibappdisk command.</p>
<p>Thats it!</p>
<h3>Update:</h3>
<p>if you find that the machine you usually use to capture app disks is no longer available. use the following command to release it:</p>
<p><strong>set-BrokerMachine -IsReserved $false -MachineName &lt;MachineName&gt;</strong></p>
<p><em>PS: I could have piped a lot of that, sure! but my mac pipe symbol is currently out of action so i did it the hard way. if you are the type who reads others blogs and leaves comments to improve the scripting, I&#8217;m sure there are new people on the Microsoft forums you could be bawking at right now.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewmorgan.ie/2016/02/unsticking-an-appdisk-provisioning-task-in-xendesktop-7-x-preview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
