<?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>User Error &#187; Windows</title>
	<atom:link href="http://daniel.streefkerkonline.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.streefkerkonline.com</link>
	<description>Ramblings of a tinkering SysAdmin</description>
	<lastBuildDate>Fri, 03 Feb 2012 00:41:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Send a HTML email with PowerShell</title>
		<link>http://daniel.streefkerkonline.com/send-a-html-email-with-powershell/</link>
		<comments>http://daniel.streefkerkonline.com/send-a-html-email-with-powershell/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 23:32:38 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/?p=319</guid>
		<description><![CDATA[There’s a simple one-liner (expanded onto multiple lines for clarity) in PowerShell that allows you to send an email with HTML content derived from a HTML file: Send-MailMessage -Subject "Test email" -To "recipient@contoso.com" -From "me@contoso.com" -SmtpServer mail.contoso.com -BodyAsHtml (Get-Content "d:\templates\invite-template.htm" &#8230; <a href="http://daniel.streefkerkonline.com/send-a-html-email-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There’s a simple one-liner (expanded onto multiple lines for clarity) in PowerShell that allows you to send an email with HTML content derived from a HTML file:</p>
<pre class="brush: ps;">Send-MailMessage  -Subject "Test email"
                  -To "recipient@contoso.com"
                  -From "me@contoso.com"
                  -SmtpServer mail.contoso.com
                  -BodyAsHtml (Get-Content "d:\templates\invite-template.htm" | Out-String)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/send-a-html-email-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Native resolution not set after deploying via MDT 2010</title>
		<link>http://daniel.streefkerkonline.com/native-resolution-not-set-after-deploying-via-mdt-2010/</link>
		<comments>http://daniel.streefkerkonline.com/native-resolution-not-set-after-deploying-via-mdt-2010/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 03:58:36 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[MDT]]></category>
		<category><![CDATA[Windows Deployment]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/?p=313</guid>
		<description><![CDATA[If your machines aren’t automatically having their display resolution set to their monitor’s native resolution after deployment via MDT, this may be the cause of the problem. Although I’d previously deployed Vista and Windows 7 using MDT 2010, I’d never &#8230; <a href="http://daniel.streefkerkonline.com/native-resolution-not-set-after-deploying-via-mdt-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If your machines aren’t automatically having their display resolution set to their monitor’s native resolution after deployment via MDT, this may be the cause of the problem.</p>
<p>Although I’d previously deployed Vista and Windows 7 using MDT 2010, I’d never seen this problem. The issue occurred with a captured HP ProBook x86 Windows 7 Professional build.</p>
<p>I had to edit the unattend.xml for the task sequence in question, and delete the <strong>Display</strong> section from <strong>oobeSystem –&gt; x86_Microsoft-Windows-Shell-Setup_neutral</strong>. Once this was done, the strange default of 1024 x 768 (where did that come from?) was no longer applied, and Windows Setup detected and set the maximum resolution.</p>
<p><a href="http://daniel.streefkerkonline.com/uploads/2012/01/WSIM-res_issue.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="WSIM-res_issue" border="0" alt="WSIM-res_issue" src="http://daniel.streefkerkonline.com/uploads/2012/01/WSIM-res_issue_thumb.png" width="640" height="256"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/native-resolution-not-set-after-deploying-via-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MDT/WSIM fails to catalog a captured Windows 7 image</title>
		<link>http://daniel.streefkerkonline.com/mdtwsim-fails-to-catalog-a-captured-windows-7-image/</link>
		<comments>http://daniel.streefkerkonline.com/mdtwsim-fails-to-catalog-a-captured-windows-7-image/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 03:29:30 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[MDT]]></category>
		<category><![CDATA[Windows Deployment]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/?p=309</guid>
		<description><![CDATA[Had an issue today where I was trying to catalog a captured Windows 7 WIM image, both through MDT 2010 and through WSIM directly. Doing so comes up with an error: Performing operation "generate" on Target "Catalog". The operation failed &#8230; <a href="http://daniel.streefkerkonline.com/mdtwsim-fails-to-catalog-a-captured-windows-7-image/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Had an issue today where I was trying to catalog a captured Windows 7 WIM image, both through <a href="http://technet.microsoft.com/en-us/solutionaccelerators/dd407791" target="_blank">MDT 2010</a> and through <a href="http://technet.microsoft.com/en-us/library/cc766347(v=ws.10).aspx" target="_blank">WSIM</a> directly.</p>
<p>Doing so comes up with an error:</p>
<pre class="brush: plain;">Performing operation "generate" on Target "Catalog".
The operation failed to complete.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: source
   at System.Globalization.CompareInfo.IsPrefix(String source, String prefix, CompareOptions options)
   at ?A0xfe36268f.ConvertToNtPath(String path)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor..ctor(String bootDrive, String imageWinDir, String servicingPath)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct&amp; signature, IntPtr declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
</pre>
<p><a href="http://daniel.streefkerkonline.com/uploads/2012/01/2012-01-06-11-55-50_DeploymentWorkbench-Deployment-Workbench_Deployment-Shares_Sydney-MDT-Depl.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="2012-01-06 11-55-50_DeploymentWorkbench - [Deployment Workbench_Deployment Shares_Sydney MDT Deploym" border="0" alt="2012-01-06 11-55-50_DeploymentWorkbench - [Deployment Workbench_Deployment Shares_Sydney MDT Deploym" src="http://daniel.streefkerkonline.com/uploads/2012/01/2012-01-06-11-55-50_DeploymentWorkbench-Deployment-Workbench_Deployment-Shares_Sydney-MDT-Depl1.png" width="586" height="484"></a></p>
<p>The captured image I was trying to work with was of a 32-bit machine, and the WAIK tools I have installed on my desktop are the 64-bit ones.</p>
<p>The solution, as I learned <a href="http://social.technet.microsoft.com/Forums/en-US/mdt/thread/7951520e-c223-4c90-93f3-5667da63674d/" target="_blank">here</a> after a bit of searching, is to re-run the catalog operation on an x86 machine. </p>
<p>As you can’t install the 32-bit tools on a 64-bit machine, I installed the 32-bit tools on my laptop, fired up WSIM, opened the WIM image, re-ran the catalog operation, and it succeeded without errors.</p>
<p>You’d think that they could catch the exception and give you a useful message about running the catalog again on a compatible machine, but no…</p>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/mdtwsim-fails-to-catalog-a-captured-windows-7-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell: Cancel all print jobs</title>
		<link>http://daniel.streefkerkonline.com/powershell-cancel-all-print-jobs/</link>
		<comments>http://daniel.streefkerkonline.com/powershell-cancel-all-print-jobs/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 04:18:05 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/powershell-cancel-all-print-jobs/</guid>
		<description><![CDATA[Here’s a quick PowerShell script I put together to delete all print jobs from our Windows Server 2008 R2 print server. It’s run overnight as a scheduled task. We do this because sometimes our print accounting software doesn’t clear out &#8230; <a href="http://daniel.streefkerkonline.com/powershell-cancel-all-print-jobs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here’s a quick PowerShell script I put together to delete all print jobs from our Windows Server 2008 R2 print server. It’s run overnight as a scheduled task. We do this because sometimes our <a href="http://www.papercut-mf.com/" target="_blank">print accounting software</a> doesn’t clear out old jobs if users haven’t <a href="http://www.papercut-mf.com/tour/secure-print-release/" target="_blank">released</a> them at the printer.</p>
<pre class="brush: ps;">$printers = Get-WmiObject Win32_Printer

if ($printers.Count -eq 0) {
    Write-Host -ForegroundColor red "No Printers Found"
    exit
}

foreach ($printer in $printers) {

    if ($printer.Local -and $printer.Shared)
    {
        Write-Host -ForegroundColor Green "Cancelling all jobs on: $($printer.Name)"
        $printer.CancelAllJobs()

    }
}</pre>
<p>It will only clear print jobs on local printers that are shared out. There’s some more info about the <a href="http://msdn.microsoft.com/en-us/library/aa394363(v=VS.85).aspx" target="_blank">Win32_Printer class</a> and the <a href="http://msdn.microsoft.com/en-us/library/aa384838(v=VS.85).aspx" target="_blank">CancelAllJobs method</a> on MSDN.</p>
<p><em><font style="background-color: #ffff00">Note that I haven’t included any error-checking in this script at all, so run it manually first to see if it will work. As always, run at your own risk.</font></em></p>
<p>To schedule it, simply create a new scheduled task:</p>
<ol>
<ol>
<li>Run with highest privileges
<li>Run whether user is logged on or not
<li>Do not store password
<li>Action: Start a program: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
<li>Arguments: -File &#8220;C:\path-to-script-file\name-of-script-file.ps1&#8243;</li>
</ol>
</ol>
<p><a href="http://daniel.streefkerkonline.com/uploads/2011/11/clearqueues-generaltab.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clearqueues-generaltab" border="0" alt="clearqueues-generaltab" src="http://daniel.streefkerkonline.com/uploads/2011/11/clearqueues-generaltab_thumb.png" width="642" height="478"></a></p>
<p><a href="http://daniel.streefkerkonline.com/uploads/2011/11/clearqueues-action.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clearqueues-action" border="0" alt="clearqueues-action" src="http://daniel.streefkerkonline.com/uploads/2011/11/clearqueues-action_thumb.png" width="596" height="484"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/powershell-cancel-all-print-jobs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>7-Zip tip &#8211; Quickly extract into a particular folder</title>
		<link>http://daniel.streefkerkonline.com/7-zip-tip-quickly-extract-into-a-particular-folder/</link>
		<comments>http://daniel.streefkerkonline.com/7-zip-tip-quickly-extract-into-a-particular-folder/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 01:21:39 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/7-zip-tip-quickly-extract-into-a-particular-folder/</guid>
		<description><![CDATA[If you need to extract a file into a particular folder, what do you normally do? Some people may copy the Zip file into the destination folder, and then unzip it. Others may launch their unzip tool of choice’s file &#8230; <a href="http://daniel.streefkerkonline.com/7-zip-tip-quickly-extract-into-a-particular-folder/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you need to extract a file into a particular folder, what do you normally do? Some people may copy the Zip file into the destination folder, and then unzip it. Others may launch their unzip tool of choice’s file manager and use the unzip wizard to point to the destination folder.</p>
<p><a href="http://daniel.streefkerkonline.com/tools-of-the-trade-aka-tools-i-couldnt-do-without-7-zip/" target="_blank">7-Zip</a> provides a handy way to do this. All you need to do is right-mouse-drag the Zip file to the destination folder, release the right-mouse button, and go to <strong>7-Zip –&gt; Extract …</strong> from within the context menu.</p>
<p><a href="http://daniel.streefkerkonline.com/uploads/2011/10/20-10-2011-101712.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="20-10-2011 101712" border="0" alt="20-10-2011 101712" src="http://daniel.streefkerkonline.com/uploads/2011/10/20-10-2011-101712_thumb.png" width="644" height="239"></a></p>
<p><a href="http://daniel.streefkerkonline.com/uploads/2011/10/20-10-2011-101905.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="20-10-2011 101905" border="0" alt="20-10-2011 101905" src="http://daniel.streefkerkonline.com/uploads/2011/10/20-10-2011-101905_thumb.png" width="496" height="190"></a></p>
<p>I’d been using 7-Zip for years before I figured this one out.</p>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/7-zip-tip-quickly-extract-into-a-particular-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server 2008 R2: Online license edition upgrade</title>
		<link>http://daniel.streefkerkonline.com/server-2008-r2-online-license-edition-upgrade/</link>
		<comments>http://daniel.streefkerkonline.com/server-2008-r2-online-license-edition-upgrade/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 03:15:28 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/server-2008-r2-online-license-edition-upgrade/</guid>
		<description><![CDATA[I’ve had to google this a few times, so I’ll blog the results here for future reference. It’s possible to upgrade, for example, a Server 2008 R2 Standard server to Enterprise without rebuilding Windows. This is all covered in detail &#8230; <a href="http://daniel.streefkerkonline.com/server-2008-r2-online-license-edition-upgrade/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I’ve had to google this a few times, so I’ll blog the results here for future reference.</p>
<p>It’s possible to upgrade, for example, a Server 2008 R2 Standard server to Enterprise without rebuilding Windows. This is all covered in detail on the <a href="http://blogs.technet.com/b/server_core/archive/2009/10/14/upgrading-windows-server-2008-r2-without-media.aspx" target="_blank">MS TechNet blogs</a>.</p>
<p>The command to do so is:</p>
<pre>DISM /online /Set-Edition:&lt;edition ID&gt; /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</pre>
<p>To view what “editions” are available to upgrade to, do this:</p>
<pre>DISM /online /Get-TargetEditions</pre>
<p>I had issues using a valid VLSC key in this process. A comment by Brendan P of Microsoft explains why this is the case:</p>
<blockquote>
<p>MAK keys map to multiple editions, so the underlying infrastructure doesn&#8217;t accept them. If you use the generic KMS client key, as Matthew suggests, that will allow you to proceed with the upgrade, and then you can either replace the key with a valid MAK post-upgrade or just use the KMS client key to activate against your internal KMS server. </p>
<p>The full list of KMS client keys can be found here on TechNet: <a href="http://technet.microsoft.com/en-us/library/ff793406.aspx">technet.microsoft.com/&#8230;/ff793406.aspx</a></p>
</blockquote>
<p>The command I ended up running to upgrade Server 2008 /w SP1 Standard (VL) to Enterprise was:</p>
<pre>DISM /online /Set-Edition:ServerEnterprise /ProductKey:489J6-VHDMP-X63PK-3K798-CPX3Y</pre>
<p>The successful run looks like this:</p>
<pre>Deployment Image Servicing and Management toolVersion: 6.1.7600.16385
Image Version: 6.1.7600.16385
Starting to update components...Starting to install product key...Finished installing product key.
Removing package Microsoft-Windows-ServerStandardEdition~blah
[==========================100.0%==========================]
Finished updating components.
Starting to apply edition-specific settings...Restart Windows to complete this operation.Do you want to restart the computer now (Y/N)?</pre>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/server-2008-r2-online-license-edition-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determine which DFS target a client is connected to</title>
		<link>http://daniel.streefkerkonline.com/determine-which-dfs-target-a-client-is-connected-to/</link>
		<comments>http://daniel.streefkerkonline.com/determine-which-dfs-target-a-client-is-connected-to/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 00:13:16 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/determine-which-dfs-target-a-client-is-connected-to/</guid>
		<description><![CDATA[If you want to figure out which servers your DFS client is connected to, just run the following command from the command prompt: dfsutil /pktinfo To quote the inbuilt usage information: Dfsutil /PktInfo is a special problem diagnosis command that &#8230; <a href="http://daniel.streefkerkonline.com/determine-which-dfs-target-a-client-is-connected-to/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you want to figure out which servers your DFS client is connected to, just run the following command from the command prompt:</p>
<pre>dfsutil /pktinfo</pre>
<p>To quote the inbuilt usage information:</p>
<blockquote><p>Dfsutil /PktInfo is a special problem diagnosis command that should only be executed on the client.</p>
<p>The PKT Cache keeps information about referrals for previously accessed DFS paths. It also notes DFS targets that are active for each of those paths. By observing the contents of this cache, <strong>an expert user may deduct the servers serving DFS paths that are accessed</strong>.</p></blockquote>
<p>Here’s a snippet of the output when run from my PC at work. We have a common DFS share that’s replicated Australia-wide:</p>
<pre>Entry: \company\commondataShortEntry: \company\commondata
Expires in 143 seconds
UseCount: 2 Type:0x81 ( REFERRAL_SVC DFS )  
0:[\sydney01\CommonData] AccessStatus: 0 ( ACTIVE TARGETSET )  
1:[\sydney02\CommonData]  
2:[\perth01\CommonData] ( TARGETSET )  
3:[\brisbane01\CommonData]  
4:[\melbourne01\CommonData]  
5:[\adelaide01\CommonData]</pre>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/determine-which-dfs-target-a-client-is-connected-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shoretel Call Manager: Outlook Integration issues</title>
		<link>http://daniel.streefkerkonline.com/shoretel-call-manager-outlook-integration-issues/</link>
		<comments>http://daniel.streefkerkonline.com/shoretel-call-manager-outlook-integration-issues/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 03:12:38 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Shoretel]]></category>
		<category><![CDATA[Software Deployment]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://daniel.streefkerkonline.com/shoretel-call-manager-outlook-integration-issues/</guid>
		<description><![CDATA[Since we moved from Shoretel 7.5 –&#62; 8.1, we’ve had a niggling issue that’s about to become a show-stopper on a new deployment for our entire Melbourne office. The client software is easily deployed via Active Directory and Group Policy, &#8230; <a href="http://daniel.streefkerkonline.com/shoretel-call-manager-outlook-integration-issues/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://daniel.streefkerkonline.com/uploads/2011/03/shoretel-products.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 20px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="shoretel-products" border="0" alt="shoretel-products" align="right" src="http://daniel.streefkerkonline.com/uploads/2011/03/shoretel-products_thumb.jpg" width="240" height="195" /></a>Since we moved from Shoretel 7.5 –&gt; 8.1, we’ve had a niggling issue that’s about to become a show-stopper on a new deployment for our entire Melbourne office.</p>
<p>The client software is easily deployed via Active Directory and Group Policy, but there’s a problem where the Outlook integration installer requires elevation, even though the only changes that are being made are restricted to the user’s profile. This is obviously ridiculous in a corporate environment, as new user setups require the user to be made a local administrator for their first login just to install Shoretel’s Outlook integration.</p>
<p>I lived with this as an inconvenience over the last few years, but the time has now come to plan for a replacement of our Melbourne office’s out-dated Ericsson PABX system. This issue, then, will be a show-stopper as we’re not going to make 80+ users local administrators – even temporarily.</p>
<p>Last week, I sat down to think about the problem and remembered <a href="http://blogs.msdn.com/b/cjacks/archive/2007/07/05/windows-vista-shim-internals-basics-how-shims-work-to-address-compatibility-issues-and-what-are-the-ramifications.aspx" target="_blank">something I’d read</a> about “shimming” applications in Vista &amp; Windows 7. This then led me to wonder if I could create a shim that stops UAC from being triggered by the Shoretel Outlook integration installer &#8211; %programfiles%\Shoreline Communications\ShoreWare Client\UninstWrpr.exe</p>
<p>The above process will obviously break any functionality within UninstWrpr.exe that does actually require elevated privileges, but that’s not a concern to me. I went ahead and created a new Security Database using Microsoft’s Application Compatibility Toolkit, and set up the shim as per one of the technet documents. I installed the resulting sdb file on a test machine using the inbuilt sdbinst.exe command, and voila! The Outlook integration installed without a single UAC prompt, and worked properly to boot.</p>
<p>The only part of the process left, is to figure out how to deploy the shim to the client machines. For the sake of brevity, I’ll detail the entire process in a new post shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://daniel.streefkerkonline.com/shoretel-call-manager-outlook-integration-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

