<?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>Carl Webster &#8211; Carl Webster</title>
	<atom:link href="https://www.carlwebster.com/author/webster2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.carlwebster.com</link>
	<description>The Accidental Citrix Admin - The site for those who find themselves supporting Citrix involuntarily or accidentally</description>
	<lastBuildDate>Sat, 06 Nov 2021 11:45:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">42228915</site>	<item>
		<title>Group Policy Default Settings for Citrix XenApp and XenDesktop That Changed Between 7.16 and 7.17</title>
		<link>https://www.carlwebster.com/group-policy-default-settings-citrix-xenapp-xendesktop-changed-7-16-7-17/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 28 Feb 2018 15:23:51 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10740</guid>

					<description><![CDATA[Computer XenApp Settings: No changes Computer XenDesktop Settings: No changes User XenApp Settings: Browser Content Redirection Blacklist Configuration &#8211; Blank Enable session watermark &#8211; Disabled Include client IP address &#8211;&#8230;]]></description>
										<content:encoded><![CDATA[<p>Computer XenApp Settings:</p>
<ul>
<li>No changes</li>
</ul>
<p>Computer XenDesktop Settings:</p>
<ul>
<li>No changes</li>
</ul>
<p>User XenApp Settings:</p>
<ul>
<li>Browser Content Redirection Blacklist Configuration &#8211; Blank</li>
<li>Enable session watermark &#8211; Disabled</li>
<li>Include client IP address &#8211; Disabled</li>
<li>Include connection time &#8211; Disabled</li>
<li>Include logon user name &#8211; Enabled</li>
<li>Include VDA host name &#8211; Enabled</li>
<li>Include VDA IP address &#8211; Disabled</li>
<li>Session watermark style &#8211; Multiple</li>
<li>Watermark custom text &#8211; Blank</li>
<li>Watermark transparency &#8211; 17</li>
</ul>
<p>User XenDesktop Settings:</p>
<ul>
<li>Browser Content Redirection Blacklist Configuration &#8211; Blank</li>
<li>Enable session watermark &#8211; Disabled</li>
<li>Include client IP address &#8211; Disabled</li>
<li>Include connection time &#8211; Disabled</li>
<li>Include logon user name &#8211; Enabled</li>
<li>Include VDA host name &#8211; Enabled</li>
<li>Include VDA IP address &#8211; Disabled</li>
<li>Session watermark style &#8211; Multiple</li>
<li>Watermark custom text &#8211; Blank</li>
<li>Watermark transparency &#8211; 17</li>
</ul>
<p>Thanks</p>
<p>Webster</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10740</post-id>	</item>
		<item>
		<title>Group Policy Default Computer Settings Reference for Citrix XenApp and XenDesktop V1.04</title>
		<link>https://www.carlwebster.com/group-policy-default-computer-settings-reference-citrix-xenapp-xendesktop-v1-04/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 28 Feb 2018 15:14:54 +0000</pubDate>
				<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10739</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.17. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.17.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10739</post-id>	</item>
		<item>
		<title>Group Policy Default User Settings Reference for Citrix XenApp and XenDesktop V1.04</title>
		<link>https://www.carlwebster.com/group-policy-default-user-settings-reference-citrix-xenapp-xendesktop-v1-04/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 28 Feb 2018 15:11:22 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10738</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.17. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.17.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10738</post-id>	</item>
		<item>
		<title>Running PowerShell Scripts As a Scheduled Task</title>
		<link>https://www.carlwebster.com/running-powershell-scripts-scheduled-task/</link>
					<comments>https://www.carlwebster.com/running-powershell-scripts-scheduled-task/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 27 Feb 2018 13:58:27 +0000</pubDate>
				<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10724</guid>

					<description><![CDATA[Probably the second most frequently asked question I receive about the various scripts is how to run a script as a scheduled task. I asked my most thorough script tester&#8230;]]></description>
										<content:encoded><![CDATA[<p>Probably the second most frequently asked question I receive about the various scripts is how to run a script as a scheduled task. I asked my most thorough script tester to document how he accomplished this task so a &#8220;regular&#8221; person could explain the process. This article is about how he accomplishes this task using his words and screenshots.</p>
<p><span id="more-10724"></span></p>
<p>David McSpadden works for a financial institution and uses almost every documentation script available on this site. When he tests a script, he tests every output option and just about every possible combination of parameters. David emails me a copy of every report he runs for every script he tests. Currently, I have over 1,000 sample reports from David.</p>
<p>OK, on to the process David uses to run the <a href="https://www.carlwebster.com/downloads/download-info/active-directory-health-check/" target="_blank" rel="noopener noreferrer">Active Directory Health Check script</a> as a scheduled task. The only things I have changed from the email David sent me is blacking out his employer&#8217;s name and letting <a href="https://www.grammarly.com" target="_blank" rel="noopener noreferrer">Grammarly</a> do its thing.</p>
<p><strong>Note</strong>: In David&#8217;s text, CW is me and MS is my PowerShell mentor <a href="https://www.essential.exchange/" target="_blank" rel="noopener noreferrer">Michael B. Smith</a>.</p>
<p>Ok, First off you must have the PowerShell working first. Get all bugs worked out so you can manually execute the ps1 a million times with no errors.</p>
<p>To do this, I have created a scripting environment.  C:\tmp\Scripts</p>
<p>In this example, I will show the AD Health Schedule.</p>
<p>Create a batch or dos command script in the c:\tmp\Scripts\AD_Health_Check folder called for lack of a better name pc-adHealth.bat.</p>
<figure id="attachment_32919" aria-describedby="caption-attachment-32919" style="width: 666px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure001.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" class="wp-image-32919 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure001.png" alt="Figure 1" width="666" height="637" srcset="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure001.png 666w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure001-314x300.png 314w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure001-600x574.png 600w" sizes="(max-width: 666px) 100vw, 666px" /></a><figcaption id="caption-attachment-32919" class="wp-caption-text">Figure 1</figcaption></figure>
<p>This bat file will be used in the scheduled task later.</p>
<p>The bat file is simple and only has the following reference in it:</p>
<pre class="brush: bash; title: ; notranslate">
echo on
powershell.exe -NoLogo -File &amp;amp;quot;c:\tmp\scripts\AD_Health_Check\ad health check v2 parms.ps1&amp;amp;quot;
</pre>
<p>You can see this is calling Webster’s admin script.</p>
<p>The reference PowerShell is as follows:</p>
<p>(I have tested 1 million times to make sure it is still working.)</p>
<pre class="brush: powershell; title: ; notranslate">
cd c:\tmp\scripts\&amp;amp;quot;AD_Health_Check&amp;amp;quot;\
.\&amp;amp;quot;ADHealthCheck_v2.ps1&amp;amp;quot; -CP &amp;amp;quot;Sideline&amp;amp;quot; -CN &amp;amp;quot;David's Employer&amp;amp;quot; -UN &amp;amp;quot;David McSpadden&amp;amp;quot; -All -Log -CSV -Mgmt -Folder \\localhost\c$\tmp\scripts\&amp;amp;quot;AD_Health_Check&amp;amp;quot;\foldertest -PDF
</pre>
<p>This PowerShell script puts a copy of the PDF output in a static location. I have a script that runs on my SharePoint the goes around and picks up all these admin script outputs and places them in the correct location on the SharePoint server for all the admins to reference.</p>
<p>Now to schedule this, I am only scheduling the bat file we created previously, and I am running the task under my user profile.</p>
<p>Trying to run it under admin remotely did not place nice with me so after much reflection and a big thick bat from MS and CW I went with my user profile.  (Also a KB article I cannot find again. But MS and CW reviewed it as well.)</p>
<figure id="attachment_32922" aria-describedby="caption-attachment-32922" style="width: 645px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure002.png" target="_blank" rel="noopener"><img decoding="async" class="wp-image-32922 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure002.png" alt="Figure 2" width="645" height="489" srcset="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure002.png 645w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure002-396x300.png 396w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure002-600x455.png 600w" sizes="(max-width: 645px) 100vw, 645px" /></a><figcaption id="caption-attachment-32922" class="wp-caption-text">Figure 2</figcaption></figure>
<figure id="attachment_32923" aria-describedby="caption-attachment-32923" style="width: 520px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure003.png" target="_blank" rel="noopener"><img decoding="async" class="wp-image-32923 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure003.png" alt="Figure 3" width="520" height="443" srcset="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure003.png 520w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure003-352x300.png 352w" sizes="(max-width: 520px) 100vw, 520px" /></a><figcaption id="caption-attachment-32923" class="wp-caption-text">Figure 3</figcaption></figure>
<figure id="attachment_32925" aria-describedby="caption-attachment-32925" style="width: 645px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure004a.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32925 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure004a.png" alt="Figure 4" width="645" height="489" srcset="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure004a.png 645w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure004a-396x300.png 396w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure004a-600x455.png 600w" sizes="auto, (max-width: 645px) 100vw, 645px" /></a><figcaption id="caption-attachment-32925" class="wp-caption-text">Figure 4</figcaption></figure>
<figure id="attachment_32926" aria-describedby="caption-attachment-32926" style="width: 646px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure005.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32926 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure005.png" alt="Figure 5" width="646" height="487" srcset="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure005.png 646w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure005-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure005-600x452.png 600w" sizes="auto, (max-width: 646px) 100vw, 646px" /></a><figcaption id="caption-attachment-32926" class="wp-caption-text">Figure 5</figcaption></figure>
<figure id="attachment_32928" aria-describedby="caption-attachment-32928" style="width: 646px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure006.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32928 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure006.png" alt="Figure 6" width="646" height="487" srcset="https://www.carlwebster.com/wp-content/uploads/2018/02/Figure006.png 646w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure006-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2018/02/Figure006-600x452.png 600w" sizes="auto, (max-width: 646px) 100vw, 646px" /></a><figcaption id="caption-attachment-32928" class="wp-caption-text">Figure 6</figcaption></figure>
<p>I am running these once a week and they haven’t failed yet.</p>
<p>**side note</p>
<p>For that matter, can now use my Enterprise Scheduling software SMA Opcon by executing &#8220;c:\tmp\scripts\AD_Health_Check\ps-adhealth.bat&#8221; as [David&#8217;s AD Account] in the context of the Windows machine where the .bat file is hosted.  (SMA has a hook on the machine that allowed running in the context of a signed-on user.)</p>
<p>[end of David&#8217;s email]</p>
<p>If you have another method for running any of the scripts as a scheduled task, send me an email of how you handle the process and I will add it to this article.</p>
<p>Thanks</p>
<p>Webster and David</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/running-powershell-scripts-scheduled-task/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10724</post-id>	</item>
		<item>
		<title>Group Policy Default Settings for Citrix XenApp and XenDesktop That Changed Between 7.15 and 7.16</title>
		<link>https://www.carlwebster.com/group-policy-default-settings-citrix-xenapp-xendesktop-changed-7-15-7-16/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 16:59:48 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10638</guid>

					<description><![CDATA[Computer XenApp Settings: Added: Browser Content Redirection &#8211; Allowed Added: Enable XenApp Optimization &#8211; Disabled Added: Large File Handling List &#8211; Files to be created as symbolic links &#8211; Blank&#8230;]]></description>
										<content:encoded><![CDATA[<p>Computer XenApp Settings:</p>
<ul>
<li>Added: Browser Content Redirection &#8211; Allowed</li>
<li>Added: Enable XenApp Optimization &#8211; Disabled</li>
<li>Added: Large File Handling List &#8211; Files to be created as symbolic links &#8211; Blank</li>
<li>Changed: NTUSER.DAT backup &#8211; Enabled was Disabled</li>
<li>Added: Path to XenApp optimization definitions: &#8211; Blank</li>
</ul>
<p>Computer XenDesktop Settings:</p>
<ul>
<li>Added: Browser Content Redirection &#8211; Allowed</li>
<li>Added: Enable XenApp Optimization &#8211; Disabled</li>
<li>Changed: HDX Adaptive Transport &#8211; Preferred was Off</li>
<li>Added: Large File Handling List &#8211; Files to be created as symbolic links &#8211; Blank</li>
<li>Added: Logon Exclusion Check &#8211; Enabled</li>
<li>Changed: NTUSER.DAT backup &#8211; Enabled was Disabled</li>
<li>Added: Path to XenApp optimization definitions: &#8211; Blank</li>
</ul>
<p>User XenApp Settings:</p>
<ul>
<li>Added: Browser Content Redirection ACL Configuration &#8211; https://www.youtube.com/.*</li>
<li>Added: Browser Content Redirection Proxy Configuration &#8211; Blank</li>
<li>Added: Display lossless indicator &#8211; Disabled</li>
<li>Added: Optimize for 3D graphics workload &#8211; Disabled</li>
</ul>
<p>User XenDesktop Settings:</p>
<ul>
<li>Removed: Automatic installation of in-box printer drivers</li>
<li>Added: Browser Content Redirection ACL Configuration &#8211; https://www.youtube.com/.*</li>
<li>Added: Browser Content Redirection Proxy Configuration &#8211; Blank</li>
<li>Added: Display lossless indicator &#8211; Disabled</li>
<li>Added: Optimize for 3D graphics workload &#8211; Disabled</li>
<li>Added: Tablet Mode Toggle &#8211; Allowed</li>
</ul>
<p>Thanks</p>
<p>Webster</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10638</post-id>	</item>
		<item>
		<title>Group Policy Default User Settings Reference for Citrix XenApp and XenDesktop V1.03</title>
		<link>https://www.carlwebster.com/group-policy-default-user-settings-reference-citrix-xenapp-xendesktop-v1-03/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 16:21:24 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10637</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.16. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.16.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10637</post-id>	</item>
		<item>
		<title>Group Policy Default Computer Settings Reference for Citrix XenApp and XenDesktop V1.03</title>
		<link>https://www.carlwebster.com/group-policy-default-computer-settings-reference-citrix-xenapp-xendesktop-v1-03/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 15:41:48 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10632</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.16. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.16.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10632</post-id>	</item>
		<item>
		<title>PowerShell One-Liner for Finding Users with a Home Drive Configured in Active Directory Users and Computers</title>
		<link>https://www.carlwebster.com/powershell-one-liner-finding-users-home-drive-configured-active-directory-users-computers/</link>
					<comments>https://www.carlwebster.com/powershell-one-liner-finding-users-home-drive-configured-active-directory-users-computers/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 28 Nov 2017 14:20:13 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10617</guid>

					<description><![CDATA[On a recent project, I needed to generate a report of all users who had a Home Drive configured on the Profile tab in Active Directory Users and Computers (ADUC).&#8230;]]></description>
										<content:encoded><![CDATA[<p>On a recent project, I needed to generate a report of all users who had a Home Drive configured on the Profile tab in Active Directory Users and Computers (ADUC).</p>
<p><span id="more-10617"></span></p>
<p>Something most IT Pros do not know is that if anything is configured on the Profile tab in ADUC (Figure 1), Group Policy optimization is disabled for that user.</p>
<figure id="attachment_32933" aria-describedby="caption-attachment-32933" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32933 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001.png" alt="Figure 1" width="400" height="509" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001.png 400w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-236x300.png 236w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-32933" class="wp-caption-text">Figure 1</figcaption></figure>
<p>A few years ago, I did not know this either until a very long discussion took place on the NTSysAdmin<a href="http://myitforum.com/myitforumwp/newsletter/email-lists-2/#NT"> mailing list</a>. Microsoft describes this in <a href="https://technet.microsoft.com/en-us/library/jj573586.aspx">Understand the Effect of Fast Logon Optimization and Fast Startup on Group Policy.</a></p>
<p>The synopsis is this:</p>
<blockquote>
<div>
<p><a class="LW_CollapsibleArea_TitleAhref" title="" role="heading"><span class="LW_CollapsibleArea_Title">Fast Logon Optimization and Group Policy processing</span></a></p>
<div id="Anchor_5" class="LW_CollapsibleArea_Anchor_Div"></div>
<div class="LW_CollapsibleArea_HrDiv">By default in Windows 8.1, Windows 8, Windows 7, Windows Vista, and Windows XP, the Fast Logon Optimization feature is set for domain and workgroup members. Policy settings apply asynchronously when the computer starts and when the user signs in. As a result, these operating systems do not wait for the network to be fully initialized at startup and sign-in. Existing users are signed in by using cached credentials. This results in shorter sign-in times. Group Policy is applied after the network becomes available.</div>
</div>
</blockquote>
<div class="sectionblock">
<div class="section">
<blockquote><p>Fast Logon Optimization is always off during sign-in when a user:</p>
<ul class="unordered">
<li>First signs in to a computer.</li>
<li>Has a roaming user profile or a home directory for sign-in purposes.</li>
<li>Has synchronous sign-in scripts.</li>
</ul>
</blockquote>
</div>
</div>
<p>Bullet points 2 and 3 are what you see in the Profile tab in ADUC. This also applies to all versions of Windows 10.</p>
<p>Bottom line, do not configure any of these items in ADUC, use Group Policy. Setting any of these items in ADUC forces the user to use legacy (NT4) logon processes.</p>
<p>The PowerShell you can use to find these users is:</p>
<pre class="brush: powershell; title: ; notranslate">
Get-ADUser -Filter 'HomeDrive -ne &quot;$Null&quot;' `
-Property Name,CanonicalName,CN,DisplayName,DistinguishedName,HomeDirectory,`
HomeDrive,SamAccountName,UserPrincipalName | `
export-csv -path (Join-Path $pwd HomeDrive.csv) -encoding ascii -NoTypeInformation
</pre>
<p>You may not need all those properties. SamAccountName, HomeDirectory, and HomeDrive should be enough for you.</p>
<p>The Get-ADUser cmdlet will automatically add several other properties like Enabled, GivenName, ObjectClass, ObjectGUID, SID, and Surname.</p>
<p>Figure 2 shows the results of running the one-liner and Figure 3 shows the contents of the CSV file.</p>
<figure id="attachment_32934" aria-describedby="caption-attachment-32934" style="width: 638px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32934 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002.png" alt="Figure 2" width="638" height="106" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002.png 638w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-530x88.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-600x100.png 600w" sizes="auto, (max-width: 638px) 100vw, 638px" /></a><figcaption id="caption-attachment-32934" class="wp-caption-text">Figure 2</figcaption></figure>
<figure id="attachment_32935" aria-describedby="caption-attachment-32935" style="width: 1301px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32935 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003.png" alt="Figure 3" width="1301" height="105" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003.png 1301w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-530x43.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-900x73.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-768x62.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-600x48.png 600w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a><figcaption id="caption-attachment-32935" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Once you have the CSV, you can open the CSV in Excel and analyze the data any way you choose.</p>
<p>Now you can clean up all those home drive users and move the home drive setting to a Group Policy and get back your Group Policy logon optimizations.</p>
<p>But what about <strong>Profile path</strong> and <strong>Logon script</strong>? Don&#8217;t those also disable the optimizations? Yes, they do. A simple adjustment to the one-liner will find users with those settings.</p>
<pre class="brush: powershell; title: ; notranslate"> 
Get-ADUser -Filter 'ProfilePath -ne &quot;$Null&quot;' `
-Property Name,CanonicalName,CN,DisplayName,DistinguishedName,ProfilePath,`
SamAccountName,UserPrincipalName | `
export-csv -path (Join-Path $pwd ProfilePath.csv) -encoding ascii -NoTypeInformation 
</pre>
<pre class="brush: powershell; title: ; notranslate"> 
Get-ADUser -Filter 'ScriptPath -ne &quot;$Null&quot;' `
-Property Name,CanonicalName,CN,DisplayName,DistinguishedName,ScriptPath,`
SamAccountName,UserPrincipalName | `
export-csv -path (Join-Path $pwd ScriptPath.csv) -encoding ascii -NoTypeInformation 
</pre>
<p>Or combine all three searches into one one-liner.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-ADUser -Filter {HomeDrive -ne &quot;$Null&quot; -or ProfilePath -ne &quot;$Null&quot; -or ScriptPath -ne &quot;$Null&quot;}`
-Property Name,CanonicalName,CN,DisplayName,DistinguishedName,`
HomeDirectory,HomeDrive,ProfilePath,ScriptPath,SamAccountName,UserPrincipalName | `
export-csv -path (Join-Path $pwd ADUC.csv) -encoding ascii -NoTypeInformation
</pre>
<p>Hope these one-liners help.</p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/powershell-one-liner-finding-users-home-drive-configured-active-directory-users-computers/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10617</post-id>	</item>
		<item>
		<title>Changing the Published Name of a Citrix XenDesktop Private Desktop</title>
		<link>https://www.carlwebster.com/changing-published-name-citrix-xendesktop-private-desktop/</link>
					<comments>https://www.carlwebster.com/changing-published-name-citrix-xendesktop-private-desktop/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 10 Nov 2017 12:16:46 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10583</guid>

					<description><![CDATA[Recently a customer had a need to change the Published Name property of a Private Desktop in Citrix XenDesktop. By default, the Published Name property is Null. This article will show&#8230;]]></description>
										<content:encoded><![CDATA[<p>Recently a customer had a need to change the Published Name property of a Private Desktop in Citrix XenDesktop. By default, the Published Name property is Null. This article will show you some tidbits I picked up and two lines of PowerShell you can use to change the published name property of either all or a subset of private desktops.</p>
<p><span id="more-10583"></span></p>
<p>[Updated 8-Mar-2021: My friends at <a href="https://www.ferroquesystems.com/" target="_blank" rel="noopener">Ferroque Systems</a> tell me they tested this on a current version of CVAD and the process in this article still works.]</p>
<p>What is a Private Desktop? <a href="https://developer-docs.citrix.com/projects/citrix-virtual-apps-desktops-sdk/en/latest/Broker/Set-BrokerPrivateDesktop/" target="_blank" rel="noopener">Citrix explains</a> it this way:</p>
<blockquote><p>Private desktops are automatically created when a machine is added to a desktop group with a DesktopKind of &#8216;Private&#8217;, and these inherit default properties.</p></blockquote>
<p>For this article, I created two Machine Catalogs each with three persistent machines with changes saved on the local disk as shown in Figure 1.</p>
<figure id="attachment_32941" aria-describedby="caption-attachment-32941" style="width: 864px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32941 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-1.png" alt="Figure 1" width="864" height="151" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-1.png 864w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-1-530x93.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-1-768x134.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-1-600x105.png 600w" sizes="auto, (max-width: 864px) 100vw, 864px" /></a><figcaption id="caption-attachment-32941" class="wp-caption-text">Figure 1</figcaption></figure>
<p>I also created two Delivery Groups as shown in Figure 2.</p>
<figure id="attachment_32944" aria-describedby="caption-attachment-32944" style="width: 865px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32944 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-1.png" alt="Figure 2" width="865" height="143" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-1.png 865w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-1-530x88.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-1-768x127.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-1-600x99.png 600w" sizes="auto, (max-width: 865px) 100vw, 865px" /></a><figcaption id="caption-attachment-32944" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Some people believe that published private desktops use the Delivery Group&#8217;s name as the name the user sees in StoreFront and Receiver but that is not always the case. If no user assignment has been made, published private desktops, by default, use the <strong>Display name</strong> value from the Desktop Assignment Rule in StoreFront and Receiver as shown in Figures 3, 4, and 5.</p>
<figure id="attachment_32946" aria-describedby="caption-attachment-32946" style="width: 602px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32946 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-1.png" alt="Figure 3" width="602" height="582" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-1.png 602w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-1-310x300.png 310w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-1-600x580.png 600w" sizes="auto, (max-width: 602px) 100vw, 602px" /></a><figcaption id="caption-attachment-32946" class="wp-caption-text">Figure 3</figcaption></figure>
<figure id="attachment_32947" aria-describedby="caption-attachment-32947" style="width: 602px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32947 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004.png" alt="Figure 4" width="602" height="582" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004.png 602w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-310x300.png 310w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-600x580.png 600w" sizes="auto, (max-width: 602px) 100vw, 602px" /></a><figcaption id="caption-attachment-32947" class="wp-caption-text">Figure 4</figcaption></figure>
<figure id="attachment_32949" aria-describedby="caption-attachment-32949" style="width: 1006px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32949 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005.png" alt="Figure 5" width="1006" height="535" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005.png 1006w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-530x282.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-900x479.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-768x408.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-600x319.png 600w" sizes="auto, (max-width: 1006px) 100vw, 1006px" /></a><figcaption id="caption-attachment-32949" class="wp-caption-text">Figure 5</figcaption></figure>
<p>As you can see from Figure 5, the Delivery Group&#8217;s name is NOT used in StoreFront and it is also not used in Receiver. Why? Because no user assignment has been made, as shown in Figures 6 and 7.</p>
<figure id="attachment_32951" aria-describedby="caption-attachment-32951" style="width: 864px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32951 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006.png" alt="Figure 6" width="864" height="201" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006.png 864w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-530x123.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-768x179.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-600x140.png 600w" sizes="auto, (max-width: 864px) 100vw, 864px" /></a><figcaption id="caption-attachment-32951" class="wp-caption-text">Figure 6</figcaption></figure>
<figure id="attachment_32952" aria-describedby="caption-attachment-32952" style="width: 869px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32952 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007.png" alt="Figure 7" width="869" height="201" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007.png 869w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-530x123.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-768x178.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-600x139.png 600w" sizes="auto, (max-width: 869px) 100vw, 869px" /></a><figcaption id="caption-attachment-32952" class="wp-caption-text">Figure 7</figcaption></figure>
<p>If a user assignment has been made (Figure 8), then the Delivery Group&#8217;s <strong>Published Name</strong> property value is used in StoreFront and Receiver (Figure 9).</p>
<figure id="attachment_32955" aria-describedby="caption-attachment-32955" style="width: 862px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32955 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008.png" alt="Figure 8" width="862" height="202" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008.png 862w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-530x124.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-768x180.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-600x141.png 600w" sizes="auto, (max-width: 862px) 100vw, 862px" /></a><figcaption id="caption-attachment-32955" class="wp-caption-text">Figure 8</figcaption></figure>
<figure id="attachment_32958" aria-describedby="caption-attachment-32958" style="width: 1006px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009a.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32958 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009a.png" alt="Figure 9" width="1006" height="535" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009a.png 1006w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009a-530x282.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009a-900x479.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009a-768x408.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009a-600x319.png 600w" sizes="auto, (max-width: 1006px) 100vw, 1006px" /></a><figcaption id="caption-attachment-32958" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Where did the Delivery Group&#8217;s <strong>Published Name</strong> value come from?</p>
<p>When you create a Delivery Group, the <strong>Published Name</strong> property gets its initial value from the Delivery Group&#8217;s <strong>Name</strong> property. If you later rename the Delivery Group, the <strong>Published Name</strong> property&#8217;s value is not changed. You can set the Delivery Group&#8217;s <strong>Published Name</strong> value to whatever value you want using the Set-BrokerDesktopGroup cmdlet.</p>
<p>Back to the Private Desktop name shown in StoreFront and Receiver.</p>
<p>If you just want the desktop&#8217;s name to show or if you allow users to use more than one desktop in a Delivery Group, then you can change the Published Name value using the Set-BrokerPrivateDesktop cmdlet.</p>
<p>If you have more than one Delivery Group with Private Desktops and only want this change made to a single Delivery group, that is very simple.</p>
<p>For this article, I only want one Delivery Group changed. One Delivery Group uses the naming scheme Persistent-## and the other uses testp-##. I want the testp desktops changed.</p>
<p>First, I will get all the private desktops showing only the DNSName, HostedMachineName, MachineName, and PublishedName properties as shown in Figure 10.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-BrokerPrivateDesktop | select dnsname,hostedmachinename,machinename,publishedname
</pre>
<p>This shows that none of the private desktops have a value for PublishedName.</p>
<figure id="attachment_32960" aria-describedby="caption-attachment-32960" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32960 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010.png" alt="Figure 10" width="714" height="219" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010.png 714w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-530x163.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-600x184.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-32960" class="wp-caption-text">Figure 10</figcaption></figure>
<p><strong>Note: </strong>I removed the desktop assignment I made earlier.</p>
<p>If I launch all three desktops from StoreFront, Sign out from the desktop, and rerun the previous cmdlet, we get what is shown in Figure 11.</p>
<figure id="attachment_32962" aria-describedby="caption-attachment-32962" style="width: 760px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32962 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011.png" alt="Figure 11" width="760" height="201" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011.png 760w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011-530x140.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011-600x159.png 600w" sizes="auto, (max-width: 760px) 100vw, 760px" /></a><figcaption id="caption-attachment-32962" class="wp-caption-text">Figure 11</figcaption></figure>
<p>My experience is that even if I change the <strong>Published Name</strong> property&#8217;s value BEFORE I first launch a desktop, the Assignment Rule&#8217;s <strong>Display Name</strong> value is written in for the value of the private desktop&#8217;s <strong>Published Name</strong>.</p>
<p>I found I had to launch the private desktop FIRST and then I could change the <strong>Publish Name</strong> property.</p>
<p>To change the <strong>Published Name</strong> property, use the following two lines of PowerShell code as shown in Figure 12.</p>
<p><strong>Note:</strong> To change the Published Name property for all private desktops, use $Pattern = &#8220;*&#8221;</p>
<pre class="brush: powershell; title: ; notranslate">
$Pattern = &quot;testp*&quot;
$Desktops = Get-BrokerPrivateDesktop -filter {HostedMachineName -like $Pattern} ; ForEach($Desktop in $Desktops) {Set-BrokerPrivateDesktop -MachineName $Desktop.MachineName -PublishedName $Desktop.HostedMachineName}
</pre>
<figure id="attachment_32967" aria-describedby="caption-attachment-32967" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32967 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-1.png" alt="Figure 12" width="859" height="237" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-1.png 859w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-1-530x146.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-1-768x212.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-1-600x166.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-32967" class="wp-caption-text">Figure 12</figcaption></figure>
<figure id="attachment_32968" aria-describedby="caption-attachment-32968" style="width: 1006px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32968 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013.png" alt="Figure 13" width="1006" height="535" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013.png 1006w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-530x282.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-900x479.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-768x408.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-600x319.png 600w" sizes="auto, (max-width: 1006px) 100vw, 1006px" /></a><figcaption id="caption-attachment-32968" class="wp-caption-text">Figure 13</figcaption></figure>
<p>All the forum posts and blogs I have read on this want the <strong>Published Name</strong> property changed AFTER users have launched their private desktops. Please take note, if you changed the <strong>Published Name</strong> property BEFORE users launch their private desktop(s) for the FIRST time, the <strong>Published Name</strong> property&#8217;s value WILL get overwritten. Apparently, Citrix didn&#8217;t put in a safety check to see if the <strong>Published Name</strong> property has a value before they just blatantly overwrote whatever value was there. Bad job Citrix.</p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/changing-published-name-citrix-xendesktop-private-desktop/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10583</post-id>	</item>
		<item>
		<title>Remove-HostingConnection Version 1.01</title>
		<link>https://www.carlwebster.com/remove-hostingconnection-version-1-01/</link>
					<comments>https://www.carlwebster.com/remove-hostingconnection-version-1-01/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 06 Nov 2017 19:15:23 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10568</guid>

					<description><![CDATA[Version 1.01 6-Nov-2017 When -WhatIf or -Confirm with No or -Confirm with No to All is used, do not log non-actions as failures You can always find the most current&#8230;]]></description>
										<content:encoded><![CDATA[<p>Version 1.01 6-Nov-2017</p>
<ul>
<li>When -WhatIf or -Confirm with No or -Confirm with No to All is used, do not log non-actions as failures</li>
</ul>
<figure id="attachment_32978" aria-describedby="caption-attachment-32978" style="width: 778px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32978 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-2.png" alt="Figure 1 (Using -WhatIf)" width="778" height="311" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-2.png 778w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-2-530x212.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-2-768x307.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-2-600x240.png 600w" sizes="auto, (max-width: 778px) 100vw, 778px" /></a><figcaption id="caption-attachment-32978" class="wp-caption-text">Figure 1 (Using -WhatIf)</figcaption></figure>
<figure id="attachment_32979" aria-describedby="caption-attachment-32979" style="width: 817px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32979 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-2.png" alt="Figure 2 (Studio showing using -WhatIf is no longer logged as Failure)" width="817" height="156" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-2.png 817w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-2-530x101.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-2-768x147.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-2-600x115.png 600w" sizes="auto, (max-width: 817px) 100vw, 817px" /></a><figcaption id="caption-attachment-32979" class="wp-caption-text">Figure 2 (Studio showing using -WhatIf is no longer logged as Failure)</figcaption></figure>
<figure id="attachment_32980" aria-describedby="caption-attachment-32980" style="width: 720px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32980 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-2.png" alt="Figure 3 (Using -Confirm and No to All)" width="720" height="310" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-2.png 720w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-2-530x228.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-2-600x258.png 600w" sizes="auto, (max-width: 720px) 100vw, 720px" /></a><figcaption id="caption-attachment-32980" class="wp-caption-text">Figure 3 (Using -Confirm and No to All)</figcaption></figure>
<figure id="attachment_32982" aria-describedby="caption-attachment-32982" style="width: 994px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32982 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-1.png" alt="Figure 4 (Studio showing -Confirm and No to All is no longer logged as Failure)" width="994" height="209" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-1.png 994w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-1-530x111.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-1-900x189.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-1-768x161.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-1-600x126.png 600w" sizes="auto, (max-width: 994px) 100vw, 994px" /></a><figcaption id="caption-attachment-32982" class="wp-caption-text">Figure 4 (Studio showing -Confirm and No to All is no longer logged as Failure)</figcaption></figure>
<figure id="attachment_32984" aria-describedby="caption-attachment-32984" style="width: 728px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32984 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-2.png" alt="Figure 5 (Using -Confirm and No)" width="728" height="554" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-2.png 728w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-2-394x300.png 394w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-2-600x457.png 600w" sizes="auto, (max-width: 728px) 100vw, 728px" /></a><figcaption id="caption-attachment-32984" class="wp-caption-text">Figure 5 (Using -Confirm and No)</figcaption></figure>
<figure id="attachment_32986" aria-describedby="caption-attachment-32986" style="width: 996px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32986 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-1.png" alt="Figure 6 (Studio showing -Confirm and No is no longer logged as Failure)" width="996" height="258" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-1.png 996w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-1-530x137.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-1-900x233.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-1-768x199.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-1-600x155.png 600w" sizes="auto, (max-width: 996px) 100vw, 996px" /></a><figcaption id="caption-attachment-32986" class="wp-caption-text">Figure 6 (Studio showing -Confirm and No is no longer logged as Failure)</figcaption></figure>
<figure id="attachment_32987" aria-describedby="caption-attachment-32987" style="width: 720px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32987 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-1.png" alt="Figure 7 (Using -Confirm and Yes to All)" width="720" height="390" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-1.png 720w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-1-530x287.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-1-600x325.png 600w" sizes="auto, (max-width: 720px) 100vw, 720px" /></a><figcaption id="caption-attachment-32987" class="wp-caption-text">Figure 7 (Using -Confirm and Yes to All)</figcaption></figure>
<figure id="attachment_32989" aria-describedby="caption-attachment-32989" style="width: 995px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-32989" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-1.png" alt="Figure 8 (Studio showing logging after -Confirm and Yes to All)" width="995" height="258" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-1.png 995w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-1-530x137.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-1-900x233.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-1-768x199.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-1-600x156.png 600w" sizes="auto, (max-width: 995px) 100vw, 995px" /></a><figcaption id="caption-attachment-32989" class="wp-caption-text">Figure 8 (Studio showing logging after -Confirm and Yes to All)</figcaption></figure>
<figure id="attachment_32991" aria-describedby="caption-attachment-32991" style="width: 722px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32991 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009.png" alt="Figure 9 (Using -Confirm and Yes)" width="722" height="633" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009.png 722w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009-342x300.png 342w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009-600x526.png 600w" sizes="auto, (max-width: 722px) 100vw, 722px" /></a><figcaption id="caption-attachment-32991" class="wp-caption-text">Figure 9 (Using -Confirm and Yes)</figcaption></figure>
<figure id="attachment_32993" aria-describedby="caption-attachment-32993" style="width: 994px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-32993" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-1.png" alt="Figure 10 (Studio showing logging after -Confirm with Yes)" width="994" height="254" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-1.png 994w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-1-530x135.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-1-900x230.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-1-768x196.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-1-600x153.png 600w" sizes="auto, (max-width: 994px) 100vw, 994px" /></a><figcaption id="caption-attachment-32993" class="wp-caption-text">Figure 10 (Studio showing logging after -Confirm with Yes)</figcaption></figure>
<p><strong>You can always find the most current script by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/remove-hostingconnection-version-1-01/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10568</post-id>	</item>
		<item>
		<title>New PowerShell Script: Remove-HostingConnection V1.0</title>
		<link>https://www.carlwebster.com/new-powershell-script-remove-hostingconnection-v1-0/</link>
					<comments>https://www.carlwebster.com/new-powershell-script-remove-hostingconnection-v1-0/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Thu, 02 Nov 2017 09:30:57 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10546</guid>

					<description><![CDATA[You have moved to a new/updated/upgraded hypervisor or added new/updated/upgraded storage. Then you go to delete either the entire old hosting connection or just an old resource connection and received the&#8230;]]></description>
										<content:encoded><![CDATA[<p>You have moved to a new/updated/upgraded hypervisor or added new/updated/upgraded storage. Then you go to delete either the entire old hosting connection or just an old resource connection and received the dreaded popup:</p>
<h3 class="title">“There is currently an active background action”</h3>
<p>ARGH!!! What to do?</p>
<p><span id="more-10546"></span></p>
<p>Previously, I <a href="https://www.carlwebster.com/unable-delete-citrix-xenappxendesktop-7-xx-hosting-connection-resource-currently-active-background-action/">wrote about my issues</a> with removing a hosting connection because of a mysterious active background task. In that article, I stated, &#8220;If this were a common occurrence, I would write a script to do all this&#8230;&#8221;.  Much to my dismay, this has become a common occurrence with you and your customers. It was time to create a script to automate this tedious process.</p>
<p>This is the first script I am creating that makes changes to a XenDesktop Site. Because of this, I try to do as much error checking as possible and stop the script from running if I find anything even slightly wrong.  There are several places where I have code similar to:</p>
<pre class="brush: powershell; title: ; notranslate">
If(Some Condition)
{
     #we should never get here
     Write-Host &quot;Unable to &lt;do some process&gt;. You shouldn't be here! Script will close.&quot;
     Write-Host &quot;If you get this message, please email webster@carlwebster.com&quot; -ForegroundColor Red
     $error
     Exit
}
</pre>
<p>If there are no active tasks for the hosting connection selected,  then NOTHING is removed from the Site. The script will state there were no active tasks found and end.</p>
<p>Here are examples of hosting and resource connections and the script in action.</p>
<figure id="attachment_32999" aria-describedby="caption-attachment-32999" style="width: 735px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32999 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-3.png" alt="Figure 1" width="735" height="395" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-3.png 735w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-3-530x285.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure001-3-600x322.png 600w" sizes="auto, (max-width: 735px) 100vw, 735px" /></a><figcaption id="caption-attachment-32999" class="wp-caption-text">Figure 1</figcaption></figure>
<figure id="attachment_33001" aria-describedby="caption-attachment-33001" style="width: 736px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33001 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-3.png" alt="Figure 2" width="736" height="378" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-3.png 736w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-3-530x272.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure002-3-600x308.png 600w" sizes="auto, (max-width: 736px) 100vw, 736px" /></a><figcaption id="caption-attachment-33001" class="wp-caption-text">Figure 2</figcaption></figure>
<figure id="attachment_33003" aria-describedby="caption-attachment-33003" style="width: 739px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33003 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-3.png" alt="Figure 3" width="739" height="395" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-3.png 739w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-3-530x283.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure003-3-600x321.png 600w" sizes="auto, (max-width: 739px) 100vw, 739px" /></a><figcaption id="caption-attachment-33003" class="wp-caption-text">Figure 3</figcaption></figure>
<figure id="attachment_33005" aria-describedby="caption-attachment-33005" style="width: 737px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33005 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-2.png" alt="Figure 4" width="737" height="388" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-2.png 737w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-2-530x279.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure004-2-600x316.png 600w" sizes="auto, (max-width: 737px) 100vw, 737px" /></a><figcaption id="caption-attachment-33005" class="wp-caption-text">Figure 4</figcaption></figure>
<figure id="attachment_33007" aria-describedby="caption-attachment-33007" style="width: 632px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33007 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-3.png" alt="Figure 5" width="632" height="308" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-3.png 632w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-3-530x258.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure005-3-600x292.png 600w" sizes="auto, (max-width: 632px) 100vw, 632px" /></a><figcaption id="caption-attachment-33007" class="wp-caption-text">Figure 5</figcaption></figure>
<figure id="attachment_33008" aria-describedby="caption-attachment-33008" style="width: 737px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33008 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-2.png" alt="Figure 6" width="737" height="383" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-2.png 737w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-2-530x275.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure006-2-600x312.png 600w" sizes="auto, (max-width: 737px) 100vw, 737px" /></a><figcaption id="caption-attachment-33008" class="wp-caption-text">Figure 6</figcaption></figure>
<figure id="attachment_33010" aria-describedby="caption-attachment-33010" style="width: 696px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33010 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-2.png" alt="Figure 7" width="696" height="329" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-2.png 696w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-2-530x251.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure007-2-600x284.png 600w" sizes="auto, (max-width: 696px) 100vw, 696px" /></a><figcaption id="caption-attachment-33010" class="wp-caption-text">Figure 7</figcaption></figure>
<figure id="attachment_33011" aria-describedby="caption-attachment-33011" style="width: 736px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33011 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-2.png" alt="Figure 8" width="736" height="376" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-2.png 736w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-2-530x271.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure008-2-600x307.png 600w" sizes="auto, (max-width: 736px) 100vw, 736px" /></a><figcaption id="caption-attachment-33011" class="wp-caption-text">Figure 8</figcaption></figure>
<figure id="attachment_33013" aria-describedby="caption-attachment-33013" style="width: 558px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33013 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009-1.png" alt="Figure 9" width="558" height="347" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009-1.png 558w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure009-1-482x300.png 482w" sizes="auto, (max-width: 558px) 100vw, 558px" /></a><figcaption id="caption-attachment-33013" class="wp-caption-text">Figure 9</figcaption></figure>
<figure id="attachment_33015" aria-describedby="caption-attachment-33015" style="width: 736px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33015 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-2.png" alt="Figure 10" width="736" height="379" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-2.png 736w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-2-530x273.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure010-2-600x309.png 600w" sizes="auto, (max-width: 736px) 100vw, 736px" /></a><figcaption id="caption-attachment-33015" class="wp-caption-text">Figure 10</figcaption></figure>
<figure id="attachment_33016" aria-describedby="caption-attachment-33016" style="width: 736px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33016 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011-1.png" alt="Figure 11" width="736" height="391" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011-1.png 736w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011-1-530x282.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure011-1-600x319.png 600w" sizes="auto, (max-width: 736px) 100vw, 736px" /></a><figcaption id="caption-attachment-33016" class="wp-caption-text">Figure 11</figcaption></figure>
<figure id="attachment_33017" aria-describedby="caption-attachment-33017" style="width: 557px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33017 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-2.png" alt="Figure 12" width="557" height="374" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-2.png 557w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure012-2-447x300.png 447w" sizes="auto, (max-width: 557px) 100vw, 557px" /></a><figcaption id="caption-attachment-33017" class="wp-caption-text">Figure 12</figcaption></figure>
<figure id="attachment_33020" aria-describedby="caption-attachment-33020" style="width: 739px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33020 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-2.png" alt="Figure 13" width="739" height="390" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-2.png 739w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-2-530x280.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure013-2-600x317.png 600w" sizes="auto, (max-width: 739px) 100vw, 739px" /></a><figcaption id="caption-attachment-33020" class="wp-caption-text">Figure 13</figcaption></figure>
<p>I also added support for <a href="https://4sysops.com/archives/the-powershell-whatif-parameter/">-WhatIf</a> and <a href="https://4sysops.com/archives/confirm-confirmpreference-and-confirmimpact-in-powershell/">-Confirm</a> thanks to the clear and simple articles from <a href="http://www.adamtheautomator.com/">Adam Bertram</a>.</p>
<p>This will allow you to be safe and verify the script&#8217;s actions.</p>
<figure id="attachment_33023" aria-describedby="caption-attachment-33023" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure014.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33023 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure014.png" alt="Figure 14" width="859" height="698" srcset="https://www.carlwebster.com/wp-content/uploads/2017/11/Figure014.png 859w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure014-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure014-768x624.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/11/Figure014-600x488.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-33023" class="wp-caption-text">Figure 14</figcaption></figure>
<p><strong>You can always find the most current script by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/new-powershell-script-remove-hostingconnection-v1-0/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10546</post-id>	</item>
		<item>
		<title>Group Policy Settings Reference for Citrix XenApp and XenDesktop V1.04</title>
		<link>https://www.carlwebster.com/group-policy-settings-reference-citrix-xenapp-xendesktop-v1-04/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 05 Sep 2017 13:19:15 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10497</guid>

					<description><![CDATA[Excel file has been updated with settings for XenApp/XenDesktop 7.15. Fellow CTP, Esther Barthel (the CTP&#8217;s favorite Minion), updated all the ADMX file worksheets. She also split the three ShareFile&#8230;]]></description>
										<content:encoded><![CDATA[<p>Excel file has been updated with settings for XenApp/XenDesktop 7.15.</p>
<p>Fellow CTP, Esther Barthel (the CTP&#8217;s favorite Minion), updated all the ADMX file worksheets. She also split the three ShareFile ADMX files into their own worksheet.</p>
<p>If you find any errors or omissions, please send an email to webster@carlwebster.com.</p>
<p>We hope you find the Excel file with all the policy settings and Citrix related ADMX files useful.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster, Esther, Markus, Carl and Jon</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10497</post-id>	</item>
		<item>
		<title>Group Policy Default Computer Settings Reference for Citrix XenApp and XenDesktop V1.02</title>
		<link>https://www.carlwebster.com/group-policy-default-computer-settings-reference-citrix-xenapp-xendesktop-v1-02/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 05 Sep 2017 10:00:34 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10487</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.15. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.15.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10487</post-id>	</item>
		<item>
		<title>Group Policy Default User Settings Reference for Citrix XenApp and XenDesktop V1.02</title>
		<link>https://www.carlwebster.com/group-policy-default-user-settings-reference-citrix-xenapp-xendesktop-v1-02/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 05 Sep 2017 10:00:12 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10488</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.15. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.15.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10488</post-id>	</item>
		<item>
		<title>Citrix Profile Management &#8211; How to Use One Image to Point to Multiple Profile Management Stores</title>
		<link>https://www.carlwebster.com/citrix-profile-management-use-one-image-point-multiple-profile-management-stores/</link>
					<comments>https://www.carlwebster.com/citrix-profile-management-use-one-image-point-multiple-profile-management-stores/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Thu, 10 Aug 2017 12:44:24 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10482</guid>

					<description><![CDATA[Guest article by Hal Lange. Let me set a stage for configuration: There are multiple XenDesktop Sites for your environment.  Either Citrix Provisioning Services (PVS) or Machine Creation Service (MCS)&#8230;]]></description>
										<content:encoded><![CDATA[<p>Guest article by Hal Lange.</p>
<p>Let me set a stage for configuration:</p>
<p>There are multiple XenDesktop Sites for your environment.  Either Citrix Provisioning Services (PVS) or Machine Creation Service (MCS) is being used for image deployment.  Whether your Sites are Active/Active or Active/Passive doesn’t matter.  The only difference between the images will be the Citrix Profile Management (CPM) store that the image points to.  As we all know, using the Distributed File System (DFS) for profiles is against Microsoft&#8217;s best practices.  Using DFS for profiles is a terrible, as well as an unsupported, practice.  (<a href="https://support.microsoft.com/en-us/help/2533009/information-about-microsoft-support-policy-for-a-dfs-r-and-dfs-n-deployment-scenario" target="_blank" rel="noopener noreferrer">Information about Microsoft support policy for a DFS-R and DFS-N deployment scenario</a>).</p>
<p>Now with that said, you are using the policies for CPM configuration in any scenario (GPO, Studio, WEM, etc…).  The policies have the CPM store as the only change for each site.  My thought was let’s set the CPM service to “Delayed Start”.  Citrix has made that an impossible task.  That service must be set to Automatic to start correctly.  An old standby that I have used, restart the CPM service after the GPO has applied.  This works as far as the CPM service.  It will now log in and download users’ profiles from the correct store.</p>
<p>Now for the interesting twist.  If the CPM service crashes or is restarted, Citrix Director components break.  The Logon Duration and Personalization parts of the User Session Details will become unavailable as shown in Figure 1.</p>
<figure id="attachment_33069" aria-describedby="caption-attachment-33069" style="width: 1383px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/08/Figure001.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33069 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/08/Figure001.png" alt="Figure 1" width="1383" height="593" srcset="https://www.carlwebster.com/wp-content/uploads/2017/08/Figure001.png 1383w, https://www.carlwebster.com/wp-content/uploads/2017/08/Figure001-530x227.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/08/Figure001-900x386.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/08/Figure001-768x329.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/08/Figure001-600x257.png 600w" sizes="auto, (max-width: 1383px) 100vw, 1383px" /></a><figcaption id="caption-attachment-33069" class="wp-caption-text">Figure 1</figcaption></figure>
<p>What is happening, is that the WMI calls being made by Director to the VDA are broken.  You can see this by running the following PowerShell command:</p>
<pre class="brush: powershell; title: ; notranslate">
Get-&lt;u&gt;wmiobject&lt;/u&gt; -Class &quot;session&quot; -Namespace &quot;Root\Citrix\profiles\metrics&quot;
</pre>
<p>This PowerShell command will show results for the users that have logged in before the CPM service fails.  Any user logging in after the CPM service has been restarted will not be tracked by the WMI counters, which means Citrix Director is broken.</p>
<p>Here are the workarounds attempted:</p>
<ol>
<li>Changing the CPM service to Automatic Delayed – This is not allowed by Citrix programming</li>
<li>Changing the CPM service to Manual – Starting the service via a script after the CPM policy applied. This acts as a restart of the service and breaks the WMI session data.</li>
<li>System Variable – Setting a system variable to be used by the policy. This would dynamically change the server name but not change the policy.  This has the same effect as statically setting a server name and then trying to change it during boot.</li>
</ol>
<p>I have tried many scenarios to try and get this to work.  Citrix has been working on a fix for this as well.  This is an issue for changing CPM stores dynamically as well as the CPM service crashing.</p>
<p>The resolution that I have found so far, to be able to keep one image and change CPM stores dynamically by Site is to use a Host entry.  I set the policy to a server name that will never exist (e.g. MultiCPMServer.company.com).  I then set a policy/scheduled task to add this server to the host file with the IP of the server that I am trying to use for the CPM store.</p>
<p>Example Host file for Site A:<br />
&lt;IP of File Server for Site A&gt;        MultiCPMServer.company.com</p>
<p>Example Host file for Site B:<br />
&lt;IP of File Server for Site B&gt;         MultiCPMServer.company.com</p>
<p>While this is not the most elegant solution, it is very functional and has worked at every client that needs this.  Again….  This will only be used until Citrix resolves the issues with the CPM service breaking WMI.</p>
<p>Now, back to learning what else is broken.</p>
<p>If you have any questions, please <a href="mailto:hal.lange2@gmail.com">send me an email</a>.</p>
<p>Thanks</p>
<p>Hal Lange</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/citrix-profile-management-use-one-image-point-multiple-profile-management-stores/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10482</post-id>	</item>
		<item>
		<title>Upgrading Norskale VUEM to Citrix Workspace Environment Management</title>
		<link>https://www.carlwebster.com/upgrading-norskale-vuem-citrix-workspace-environment-management/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Thu, 10 Aug 2017 10:00:44 +0000</pubDate>
				<category><![CDATA[Workspace Environment Management]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10481</guid>

					<description><![CDATA[Guest article by Hal Lange I was working with a customer that was an original Norskale customer.  They were running VUEM 3.1   I started the process of upgrading to Citrix&#8230;]]></description>
										<content:encoded><![CDATA[<p>Guest article by Hal Lange</p>
<p>I was working with a customer that was an original Norskale customer.  They were running VUEM 3.1   I started the process of upgrading to Citrix Workspace Environment Management (WEM).  I upgraded all the components and it seemed to have no issues.  I started trying to connect the clients and weird issues started to appear.  The client would keep saying unable to connect to the broker environment.  The logs showed errors regarding the VUEM Agent Monitor Sync is erroring.  When running the AgentCacheUitlity, it would produce an error regarding VUEM Agent Monitor Cache failed.  The cache would show that things were being downloaded and the agent performance optimizations would still apply and work.</p>
<p><span id="more-10481"></span></p>
<p>The brokers were giving no indication of any errors.  After further analysis, it looks like the DB is not fully upgraded.  I restored the DB to the 3.1 version and began the upgrade process again.  This time I started by upgrading to 3.5.2 first, then testing.  After upgrading to 3.5.2, I tested the client after reinstalling the 3.5.2 client.  Everything is working at this point.  At this point, I upgraded to 4.0.2 and had no issues.</p>
<p>What I have learned from this exercise is that the DB needs to be at the schema level for 3.5.2 before upgrading to the Citrix version of WEM.</p>
<p>Here is a list of other known upgrade issues from the Norskale error.</p>
<p>Prior to version 3.0:<br />
All components must be uninstalled completely, reboot the system, and then install the new version.  At this point, the DB can be upgraded and brokers and clients will work accordingly.</p>
<p>Version 2.x to 3.x<br />
Must uninstall version 2 and then upgrade to 3.0 before continuing to upgrade to 3.5.2</p>
<p>Version 3.x<br />
Each component can be upgraded without the uninstall process without issues.</p>
<p>Version 3.x to Citrix WEM 4.x (excluding 4.3)<br />
Must upgrade the VUEM components to VUEM 3.5.2 before continuing to the WEM versions.</p>
<p>*To get to Citrix WEM 4.3 you must upgrade to a lower version of 4 first</p>
<p>Version 4.x<br />
Each component can be upgraded without the uninstall process without issues.</p>
<p>If you have any questions, please <a href="mailto:hal.lange2@gmail.com">send me an email</a>.</p>
<p>Thanks</p>
<p>Hal Lange</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10481</post-id>	</item>
		<item>
		<title>Group Policy Default User Settings Reference for Citrix XenApp and XenDesktop V1.01</title>
		<link>https://www.carlwebster.com/group-policy-default-user-settings-reference-citrix-xenapp-xendesktop-v1-01/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 12 Jun 2017 10:00:21 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10405</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.14. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.14.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10405</post-id>	</item>
		<item>
		<title>Group Policy Default Computer Settings Reference for Citrix XenApp and XenDesktop V1.01</title>
		<link>https://www.carlwebster.com/group-policy-default-computer-settings-reference-citrix-xenapp-xendesktop-v1-01/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 12 Jun 2017 09:55:39 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10404</guid>

					<description><![CDATA[Updated for XenApp/XenDesktop 7.14. I am sure I may have missed something, so if I did, please let me know. You can always find the most current Excel file by&#8230;]]></description>
										<content:encoded><![CDATA[<p>Updated for XenApp/XenDesktop 7.14.</p>
<p>I am sure I may have missed something, so if I did, please let me know.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10404</post-id>	</item>
		<item>
		<title>Group Policy Settings Reference for Citrix XenApp and XenDesktop V1.03</title>
		<link>https://www.carlwebster.com/group-policy-settings-reference-citrix-xenapp-xendesktop-v1-03/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 12 Jun 2017 09:55:19 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp 6.0]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[XenDesktop 5.x]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10403</guid>

					<description><![CDATA[Excel file has been updated with settings for XenApp/XenDesktop 7.14. If you find any errors or omissions, please send an email to webster@carlwebster.com. We hope you find the Excel file&#8230;]]></description>
										<content:encoded><![CDATA[<p>Excel file has been updated with settings for XenApp/XenDesktop 7.14.</p>
<p>If you find any errors or omissions, please send an email to webster@carlwebster.com.</p>
<p>We hope you find the Excel file with all the policy settings and Citrix related ADMX files useful.</p>
<p><strong>You can always find the most current Excel file by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster, Esther, Markus, Carl and Jon</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10403</post-id>	</item>
		<item>
		<title>Installing an SSL Certificate for Citrix App Layering &#8211; Enterprise Layering Management</title>
		<link>https://www.carlwebster.com/installing-ssl-certificate-citrix-app-layering-enterprise-layering-management/</link>
					<comments>https://www.carlwebster.com/installing-ssl-certificate-citrix-app-layering-enterprise-layering-management/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 12 Jun 2017 09:50:42 +0000</pubDate>
				<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<category><![CDATA[app layering]]></category>
		<category><![CDATA[ssl certificate]]></category>
		<category><![CDATA[unidesk]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=10386</guid>

					<description><![CDATA[In testing Citrix App Layering (Unidesk) in my lab, I wanted to install an SSL certificate on the Enterprise Layering Management (ELM) appliance. My first try didn&#8217;t go well, so&#8230;]]></description>
										<content:encoded><![CDATA[<p>In testing Citrix App Layering (Unidesk) in my lab, I wanted to install an SSL certificate on the Enterprise Layering Management (ELM) appliance. My first try didn&#8217;t go well, so I thought I would document the process I followed on the second try, which did work.</p>
<p><span id="more-10386"></span></p>
<p><strong>Updated 28Feb2019 to remove App Layering version info. The process documented works for 4.x, 18xx, and 19xx versions.</strong></p>
<p>After importing the appliance, I logged into the CentOS console and configured the basic networking stuff, as shown in Figure 1.</p>
<figure id="attachment_33098" aria-describedby="caption-attachment-33098" style="width: 274px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure001.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33098 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure001.png" alt="Figure 1" width="274" height="235" /></a><figcaption id="caption-attachment-33098" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Next, I used Internet Exploder, I mean Explorer (IE), to start the rest of the configuration steps.</p>
<p>After setting the passwords for the three management accounts, the next item was the HTTP Certificate Settings.</p>
<p>One of the awesome benefits of being a CTP is that DigiCert gives the CTPs almost unlimited SSL certificates. Thank you very much, DigiCert.</p>
<p>The first thing I needed to do was generate a CSR file to give to DigiCert for my certificate request. Since the ELM is based on CentOS Linux, it has OpenSSL included. I found a <a href="https://www.digicert.com/easy-csr/openssl.htm">helpful article from DigiCert support</a> that automatically generates the required OpenSSL command, as shown in Figure 2.</p>
<figure id="attachment_33100" aria-describedby="caption-attachment-33100" style="width: 1014px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure002.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33100 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure002.png" alt="Figure 2" width="1014" height="721" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure002.png 1014w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure002-422x300.png 422w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure002-900x640.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure002-768x546.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure002-600x427.png 600w" sizes="auto, (max-width: 1014px) 100vw, 1014px" /></a><figcaption id="caption-attachment-33100" class="wp-caption-text">Figure 2</figcaption></figure>
<p>I use PuTTY to log on to the console as root and pasted in the OpenSSL command that DigiCert supplied, as shown in Figure 3.</p>
<p><strong>Note:</strong> There is a bug in a fresh import of the 4.2 appliance where the wizard used to change the three account&#8217;s passwords does not change the password for root. To login as root, use the default password.</p>
<figure id="attachment_33101" aria-describedby="caption-attachment-33101" style="width: 667px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure003.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33101 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure003.png" alt="Figure 3" width="667" height="434" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure003.png 667w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure003-461x300.png 461w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure003-600x390.png 600w" sizes="auto, (max-width: 667px) 100vw, 667px" /></a><figcaption id="caption-attachment-33101" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Next, I used WinSCP to download the two files created, as shown in Figure 4.</p>
<figure id="attachment_33103" aria-describedby="caption-attachment-33103" style="width: 429px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure004.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33103 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure004.png" alt="Figure 4" width="429" height="647" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure004.png 429w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure004-199x300.png 199w" sizes="auto, (max-width: 429px) 100vw, 429px" /></a><figcaption id="caption-attachment-33103" class="wp-caption-text">Figure 4</figcaption></figure>
<p>I used the CSR file to request my SSL certificate from DigiCert.</p>
<p>Once I received my ZIP file, I extracted the certificate files to the same folder I placed the CSR and KEY files downloaded from the ELM appliance, as shown in Figure 5.</p>
<figure id="attachment_33104" aria-describedby="caption-attachment-33104" style="width: 600px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure005.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33104 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure005.png" alt="Figure 5" width="600" height="261" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure005.png 600w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure005-530x231.png 530w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-33104" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Using Notepad++, I opened the CRT and KEY files and created a new blank unidesk_labaddomain_com.pem file. I then copied the KEY file contents first into the PEM file and then added the CRT file to the bottom of the PEM file, as shown in Figure 6.</p>
<figure id="attachment_33105" aria-describedby="caption-attachment-33105" style="width: 678px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure006.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33105 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure006.png" alt="Figure 6" width="678" height="1272" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure006.png 678w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure006-160x300.png 160w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure006-426x800.png 426w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure006-600x1126.png 600w" sizes="auto, (max-width: 678px) 100vw, 678px" /></a><figcaption id="caption-attachment-33105" class="wp-caption-text">Figure 6</figcaption></figure>
<p>Back in the browser interface for the ELM appliance, click <em>Edit</em> for HTTP Certificate Settings, as shown in Figure 7.</p>
<figure id="attachment_33107" aria-describedby="caption-attachment-33107" style="width: 917px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure007.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33107 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure007.png" alt="Figure 7" width="917" height="563" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure007.png 917w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure007-489x300.png 489w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure007-900x553.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure007-768x472.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure007-600x368.png 600w" sizes="auto, (max-width: 917px) 100vw, 917px" /></a><figcaption id="caption-attachment-33107" class="wp-caption-text">Figure 7</figcaption></figure>
<p>Click <em>Upload</em> as shown in Figure 8.</p>
<figure id="attachment_33109" aria-describedby="caption-attachment-33109" style="width: 682px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure008.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33109 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure008.png" alt="Figure 8" width="682" height="332" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure008.png 682w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure008-530x258.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure008-600x292.png 600w" sizes="auto, (max-width: 682px) 100vw, 682px" /></a><figcaption id="caption-attachment-33109" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Browse to the PEM file created earlier, select it and click <em>Open,</em> as shown in Figure 9.</p>
<figure id="attachment_33111" aria-describedby="caption-attachment-33111" style="width: 911px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure009.png"><img loading="lazy" decoding="async" class="size-full wp-image-33111" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure009.png" alt="Figure 9" width="911" height="299" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure009.png 911w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure009-530x174.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure009-900x295.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure009-768x252.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure009-600x197.png 600w" sizes="auto, (max-width: 911px) 100vw, 911px" /></a><figcaption id="caption-attachment-33111" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Verify the <em>Uploaded Certificate</em> information is correct. If it is, click <em>Save,</em> as shown in Figure 10. If the information is not correct, you may need to recreate the PEM file or receive a new SSL certificate.</p>
<figure id="attachment_33113" aria-describedby="caption-attachment-33113" style="width: 776px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure010-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-33113" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure010-1.png" alt="Figure 10" width="776" height="599" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure010-1.png 776w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure010-1-389x300.png 389w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure010-1-768x593.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure010-1-600x463.png 600w" sizes="auto, (max-width: 776px) 100vw, 776px" /></a><figcaption id="caption-attachment-33113" class="wp-caption-text">Figure 10</figcaption></figure>
<p>Click <em>Yes </em>to restart the webserver, as shown in Figure 11.</p>
<figure id="attachment_33114" aria-describedby="caption-attachment-33114" style="width: 387px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure011.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-33114 size-full" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure011.png" alt="Figure 11" width="387" height="165" /></a><figcaption id="caption-attachment-33114" class="wp-caption-text">Figure 11</figcaption></figure>
<p>I created a DNS A record to match the SSL certificate, as shown in Figure 12.</p>
<figure id="attachment_33116" aria-describedby="caption-attachment-33116" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure012.png"><img loading="lazy" decoding="async" class="size-full wp-image-33116" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure012.png" alt="Figure 12" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure012.png 400w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure012-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-33116" class="wp-caption-text">Figure 12</figcaption></figure>
<p>Once the browser window refreshes, exit IE, restart IE, and browse to https://FQDN of the ELM appliance as shown in Figure 13.</p>
<p>Notice there are no SSL certificate errors even though the PEM file did not contain any Intermediate or Root certificate information.</p>
<figure id="attachment_33118" aria-describedby="caption-attachment-33118" style="width: 1346px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure013.png"><img loading="lazy" decoding="async" class="size-full wp-image-33118" src="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure013.png" alt="Figure 13" width="1346" height="518" srcset="https://www.carlwebster.com/wp-content/uploads/2017/06/Figure013.png 1346w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure013-530x204.png 530w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure013-900x346.png 900w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure013-768x296.png 768w, https://www.carlwebster.com/wp-content/uploads/2017/06/Figure013-600x231.png 600w" sizes="auto, (max-width: 1346px) 100vw, 1346px" /></a><figcaption id="caption-attachment-33118" class="wp-caption-text">Figure 13</figcaption></figure>
<p>I want to give a shout-out to Kyle at DigiCert support for all the time he spent with me working through this process.</p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/installing-ssl-certificate-citrix-app-layering-enterprise-layering-management/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10386</post-id>	</item>
	</channel>
</rss>
