<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Management, Mobility, and More</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sbucci/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sbucci/feed.xml</link>
    <description>Steve Bucci&amp;#039;s blog about Intune and Mobile Device Management</description>
    <lastBuildDate>Tue, 16 Apr 2019 06:15:17 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Windows Store for Business and Line-of-Business Applications</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/windows-store-for-business-and-line-of-business-applications</link>
      <pubDate>Wed, 13 Apr 2016 14:31:00 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2016/04/13/windows-store-for-business-and-line-of-business-applications/</guid>
      <description><![CDATA[A lot of companies have applications that are considered "Line-of-Business" (LOB), whether these are...]]></description>
      <content:encoded><![CDATA[A lot of companies have applications that are considered "Line-of-Business" (LOB), whether these are internal applications or apps specific to your company's industry. The Windows Store for Business will let an enterprise include these applications in their private store.  This process is already documented here <a href="https://technet.microsoft.com/itpro/windows/manage/working-with-line-of-business-apps">https://technet.microsoft.com/itpro/windows/manage/working-with-line-of-business-apps</a>, but I wanted to illustrate the steps with screenshots to show the whole process.

Enterprises can invite any developer with a <a href="https://dev.windows.com" target="_blank">Windows Store Developer </a>account to publish LOB applications for them.  Your company may want sign up for a developer account if you have internal groups creating applications.  <strong>PRO TIP</strong>: If you have an MSDN subscription, you have a developer account token waiting in your Subscription Benefits.
<h2><strong>Invite a developer to publish LOB apps to your Enterprise</strong></h2>
<ol>
	<li>Go to the <a href="https://www.microsoft.com/en-us/business-store">Windows Store For Business</a> page and sign in.</li>
	<li>Under <strong>Settings</strong>, choose <strong>LOB Publishers</strong>.
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-01.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-01.png" alt=" " border="0" /></a></li>
	<li>Click <strong>Add</strong> on the Line-of-Business publishers page to invite a publisher.
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-02.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-02.png" alt=" " border="0" /></a></li>
	<li>Send the email invitation.
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-03.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-03.png" alt=" " border="0" /></a></li>
</ol>
<h2>Enabling Line-of-Business Publishing in your Developer Account</h2>
<ol>
	<li>Once an Enterprise sends the invitation to a publisher, they will receive an email notification with the invite.
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-04.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-04.png" alt=" " border="0" /></a></li>
	<li>Per the directions in the email, after you sign into the Windows Dev Center, go to your <strong>Account Settings</strong>.  The Dev Center dashboard just recently changed, so click on the gear icon in the upper left.</li>
	<li>Click on <strong>Enterprise Associations</strong> on the left.  Any LOB Publisher invitations will be listed with the option to Accept or Reject.
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-06.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-06.png" alt=" " border="0" /></a></li>
	<li><strong>Accept</strong> the invitation.</li>
</ol>
<h2>Submitting an App for LOB Publishing</h2>
<ol>
	<li>Sign in to the <a href="https://go.microsoft.com/fwlink/p/?LinkId=623486">Windows Dev Center</a>, go to your Dashboard.</li>
	<li>For an existing app, on the App overview page, under <strong>Action</strong>, click <strong>Update</strong>.

-OR-

If you are submitting an app for the first time, submit your app following the guidelines in <a href="https://go.microsoft.com/fwlink/p/?LinkId=623463">App submissions</a>. Be sure to completed steps 3 and 4 when you set app pricing and availability options.</li>
	<li>Click on <strong>Pricing and availability</strong> section link.
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-07.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-07.png" alt=" " border="0" /></a></li>
	<li>On the Pricing and Availability page, look for <strong>Distribution and visibility </strong>(you may have to scroll down) and click <strong>Show Options</strong> to expand.</li>
	<li>Change the drop-down from Retail to <strong>Line-of-business (LOB) distribution</strong>, and then choose the enterprise(s) who will get the LOB app. Only designated Enterprises will have access to the application.  It will not be discoverable to the general public in the Windows Store.
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-08.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/wsfb-08.png" alt=" " border="0" /></a></li>
	<li>Next to <strong>Organizational Licensing</strong> click Show Options to expand.</li>
	<li>Choose the appropriate licensing.Organizational licensing options apply to all apps, not just LOB apps:
<ul>
	<li><strong>Store-managed (online) volume licensing</strong> - This is required. You must select this item to make your app available as an a LOB app. By default, it will be selected. This won't make the app available to anyone outside of the enterprise(s) that you selected in <strong>Distribution and visibility</strong>.</li>
	<li><strong>Disconnected (offline) licensing</strong> - This is optional for LOB apps. Developers also have the option to select Disconnected (offline) licensing.  This allows apps to be installed on unconnected devices, without using the Store’s online licensing system. Organizations with unique security needs or device management tools often need this option to use an app. This allows IT departments to distribute the app using their distribution methods such as management tools or inject the app to company OS images. In other words, this option enables the Enterprises to “download” the app binary and entitlement to distribute them inside of the organization.</li>
</ul>
</li>
	<li>Save and continue with the <a href="https://go.microsoft.com/fwlink/p/?LinkId=623463" target="_blank">App Submission</a> process.</li>
</ol>
<h2>Important Things To Note</h2>
<ul>
	<li><strong>UPDATE 5/10/16:</strong> Paid apps can now be distributed through the Windows Store for Business.  See <a href="https://blogs.windows.com/buildingapps/2016/05/05/sell-apps-to-organizations-through-windows-store-for-business/">https://blogs.windows.com/buildingapps/2016/05/05/sell-apps-to-organizations-through-windows-store-for-business/</a></li>
	<li>The app goes through the same certification process, and must comply with all <a href="https://msdn.microsoft.com/library/windows/apps/dn764944">Windows Store Policies</a>.  If you don't want to go through the certification process, sideloading apps is an option but you <strong>cannot</strong> distribute sideloaded apps with the Windows Store For Business.</li>
	<li><strong>UPDATE 5/16/16</strong>: There are certain <a href="https://msdn.microsoft.com/en-us/library/windows/apps/br211423.asp">app capabilities</a> that require apps to be distributed through a <a href="https://msdn.microsoft.com/en-us/windows/uwp/publish/account-types-locations-and-fees%20">Company Developer Account</a>. If you are just getting started with having a developer account, be aware, you need to choose the appropriate account at the onset, as you cannot change to a different account time.
<a href="https://msdnshared.blob.core.windows.net/media/2016/04/Choose-Wisely.jpg"><img class="alignnone size-medium wp-image-175" src="https://msdnshared.blob.core.windows.net/media/2016/04/Choose-Wisely-300x240.jpg" alt="Choose-Wisely" width="300" height="240" /></a></li>
</ul>
<h2>More Information</h2>
<ul>
	<li>Channel 9 Presentation from Build 2016: <a href="https://channel9.msdn.com/events/Build/2016/B851" target="_blank">Enterprise Apps and Windows Store for Business</a></li>
	<li><a href="https://technet.microsoft.com/itpro/windows/manage/working-with-line-of-business-apps">Working with line-of-business apps</a></li>
	<li><a href="https://go.microsoft.com/fwlink/p/?LinkId=627543" target="_blank">Distributing LOB apps to Enterprises</a></li>
	<li><a href="https://technet.microsoft.com/itpro/windows/manage/distribute-apps-to-your-employees-windows-store-for-business">Distribute apps to your employees from the Windows Store for Business</a></li>
	<li><a href="https://technet.microsoft.com/itpro/windows/manage/distribute-apps-from-your-private-store">Distribute apps from your private store</a></li>
	<li><a href="https://technet.microsoft.com/itpro/windows/manage/assign-apps-to-employees">Assign apps to employees</a></li>
	<li><a href="https://technet.microsoft.com/itpro/windows/manage/distribute-offline-apps">Distribute offline apps</a></li>
	<li><a href="https://go.microsoft.com/fwlink/p/?LinkId=623433" target="_blank">Sideloading</a></li>
</ul>
<p style="padding: 0;margin: 0"></p>]]></content:encoded>
    </item>
    <item>
      <title>Windows Store For Business "Something happened on our end" message</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/windows-store-for-business-something-happened-on-our-end-message</link>
      <pubDate>Mon, 21 Mar 2016 13:55:05 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2016/03/21/windows-store-for-business-something-happened-on-our-end-message/</guid>
      <description><![CDATA[When testing your Windows Store for Business you may encounter an error when trying to download an...]]></description>
      <content:encoded><![CDATA[<p>When testing your <a href="https://technet.microsoft.com/en-us/library/mt606951%28v=vs.85%29.aspx" target="_blank">Windows Store for Business</a> you may encounter an error when trying to download an application from your Private Store.&nbsp; The error seems like it may just be a temporary issue: &quot;Try the download again. Something happened on our end&quot;.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/something%20happened.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/something-happened.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/something%20happened.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x229/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/something-happened.png" border="0" /></a></p>
<p>In reality, this is expected behavior if you are using a version of Windows 10 earlier than the November Update.&nbsp; Windows Store for Business requires the Windows 10 OS to be at the November Update (Build 1511) or greater.</p>
<p>You check which build you are running by going to a command prompt and typing &quot;WINVER&quot;.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/November%20Update.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/November-Update.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/November%20Update.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/448x242/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/November-Update.png" border="0" /></a></p>
<p>If the version listed for your Windows 10 machine does not say &quot;1511&quot; or has a build number lower than 10586.xxx) then you will need to update that system in order to use the Windows Store for Business.</p>]]></content:encoded>
    </item>
    <item>
      <title>App-V 5.1 Hotfix 2 and 5.0 SP3 Hotfix 3 Now Available</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/app-v-5-1-hotfix-2-and-5-0-sp3-hotfix-3-now-available</link>
      <pubDate>Fri, 19 Feb 2016 12:26:00 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2016/02/19/app-v-5-1-hotfix-2-and-5-0-sp3-hotfix-3-now-available/</guid>
      <description><![CDATA[App-V 5.1 Hotfix 2 and 5.0 SP3 Hotfix 3 are available now and referenced in the same KB article:...]]></description>
      <content:encoded><![CDATA[<p>App-V 5.1 Hotfix 2 and 5.0 SP3 Hotfix 3 are available now and referenced in the same KB article: <a href="https://support.microsoft.com/en-us/kb/3139245">https://support.microsoft.com/en-us/kb/3139245</a></p>
<p>Full details, download and testing recommendations are available at the link above.</p>
<p>For Microsoft Application Virtualization 5.1 RTM, this hotfix package fixes the following issues:<br /><br /></p>
<ul class="sbody-free_list">
<li><span class="text-base">Issue 1</span><br />The lock on the VFS folder was not getting released when the user logs off from the client service</li>
<li><span class="text-base">Issue 2</span><br />Microsoft Office Click-to-Run apps can&#39;t be opened from SharePoint in Internet Explorer. Embedded Office Click-to-Run apps may crash</li>
<li><span class="text-base">Issue 3</span><br />Press and hold (or right-click) app on taskbar, the app icon becomes blank.</li>
<li><span class="text-base">Issue 4</span><br />Provide mitigation for apps which don&#39;t handle long paths correctly.</li>
<li><span class="text-base">Issue 5</span><br />Enable users to create multiple instances of Office 2016 Click-to-Run apps.</li>
<li><span class="text-base">Issue 6</span><br />Re-enable APP-V 5.1 Management server address &quot;https://<var class="sbody-var">localhost:&lt;port&gt;</var>/packages&quot; and &quot;https://<var class="sbody-var">localhost:&lt;port&gt;</var>/packagesummary&quot;</li>
<li><span class="text-base">Issue 7</span><br />The <span class="text-base">Confirm</span><span class="text-base"></span>parameter is ignored when the <span class="text-base">Groups</span><span class="text-base"></span>parameter is null for <span class="text-base">Grant-AppvServerPackage</span> command. Use the newly added <span class="text-base">Force</span><span class="text-base"></span>parameter to avoid the &quot;Confirm Action&quot; dialog.</li>
</ul>
<p>For Microsoft Application Virtualization 5.0 SP3, this hotfix package fixes the following issue:<br /><br /></p>
<ul class="sbody-free_list">
<li><span class="text-base">Issue 1</span><br />Microsoft Office Click-to-Run apps can&#39;t be opened from SharePoint in Internet Explorer. Embedded Office Click-to-Run apps may crash.</li>
</ul>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>App-V 5.1 ScriptRunner</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/app-v-5-1-scriptrunner</link>
      <pubDate>Mon, 14 Sep 2015 11:01:33 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2015/09/14/app-v-5-1-scriptrunner/</guid>
      <description><![CDATA[One of the major improvements included in App-V 5.1 is the improved handling of scripts used with...]]></description>
      <content:encoded><![CDATA[<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/two-steel-gears-in-connection-with-red-one_zyK7IMo_.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/two_2D00_steel_2D00_gears_2D00_in_2D00_connection_2D00_with_2D00_red_2D00_one_5F00_zyK7IMo_5F00_.png"><img width="200" style="border-color:currentColor;margin:10px;float:left;" alt="Gears turning, one gear is red" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/two-steel-gears-in-connection-with-red-one_zyK7IMo_.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/400x225/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/two_2D00_steel_2D00_gears_2D00_in_2D00_connection_2D00_with_2D00_red_2D00_one_5F00_zyK7IMo_5F00_.png" /></a>One of the major improvements included in App-V 5.1 is the improved handling of scripts used with App-V Packages. The change from 4.6 to 5.0 scripting was a difficult transition for many. Microsoft Consultant, Steve Thomas, pointed out in his <a title="5.0 scripting blog article" href="/b/gladiatormsft/archive/2013/05/02/app-v-5-scripting-change.aspx" target="_blank">article on scripting</a>, &quot;It is almost easier to pretend you know nothing about App-V 4.x scripting when looking at scripting in 5.0.&quot;&nbsp; With the ScriptRunner.exe included with installation of the App-V 5.1 client, the capability and ease of running scripts has become vastly easier and flexible.</p>
<p><span style="background-color:#ffff00;"><em><strong>NOTE:</strong> The 5.1 Client is backwards compatible with any 5.0 scripting.&nbsp; There is no need to update your configuration XML files or scripts in order to run on the App-V 5.1 client.</em></span></p>
<p><strong>SCRIPTRUNNER FEATURES</strong></p>
<ul>
<li>ScriptRunner.exe&nbsp;is a new exe as part of AppV Client</li>
<li>Script type is not limited to an executable.
<ul>
<li>Essentially, it can be anything that can be run from the &quot;RUN&quot; command in the start menu:
<ul>
<li>.EXE</li>
<li>.PS1</li>
<li>.BAT</li>
<li>.TXT</li>
<li>.CMD</li>
<li>.VBS</li>
<li>and more!</li>
</ul>
<p style="padding:0;margin:0;"></p>
</li>
</ul>
</li>
<li>Execution of multiple scripts</li>
<li>Scripts running as non-admin work
<ul>
<li>No longer fails as an API call requiring Admin privileges</li>
</ul>
</li>
<li>Environment variables handled within scripts, not arguments for scripts</li>
</ul>
<p><strong>MULTIPLE SCRIPT SUPPORT</strong></p>
<p>Multiple scripts are passed as arguments to ScriptRunner.exe and each script is executed in the order provided in the XML.&nbsp;Although the scripts are executed in order, the scripts may end up running concurrently if the &quot;-wait&quot; parameter is not specified.&nbsp;Each script is launched in a separate process, using Process.Start(). If it is important that one script completes before another executes, the &quot;-wait&quot; should definitely be used. Any parameters applied are per individual script and use&nbsp;&quot;-AppVScriptRunnerParameters&quot; as the delimiter to set those&nbsp;values.&nbsp;</p>
<ul>
<li>If a script specifies the wait/timeout/rollback options, it will be applied <em>explicitly for that script</em>.</li>
<li>If a script does <span style="text-decoration:underline;">not</span>specify the wait/timeout/rollback option, default values are be used: no wait, no timeout, no rollbackonerror.</li>
<li>The wait/timeout/rollbackonerror values specified as a separate node applies to the parent &ldquo;ScriptRunner.exe&rdquo; process, and not to the individual scripts.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/NewScriptRunnerFormat.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/NewScriptRunnerFormat.png"><img style="border-color:currentColor;margin:10px auto;vertical-align:middle;display:block;" alt="New Scriptrunner format xml" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/NewScriptRunnerFormat.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/NewScriptRunnerFormat.png" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/OldScriptFormat.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/OldScriptFormat.png"><img width="300" style="border-color:currentColor;margin:10px auto;vertical-align:middle;display:block;" alt="Old scripting format xml" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/OldScriptFormat.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/OldScriptFormat.png" /></a></p>
<p>Although the examples above show MachineScripts, ScriptRunner.exe can be used for both MachineScripts and UserScripts.&nbsp; Additionally, ScriptRunner.exe can be used for both the UserConfig.xml and the DeploymentConfig.xml.</p>
<p>These eight triggers can be used for both the MachineScripts and the UserScripts:</p>
<ul>
<li>&lt;AddPackage&gt;</li>
<li>&lt;RemovePackage&gt;</li>
<li>&lt;PublishPackage&gt;</li>
<li>&lt;UnpublishPackage&gt;</li>
<li><span style="font-family:&#39;arial&#39;,sans-serif;"><span><span>&nbsp;</span></span></span>&lt;StartProcess&gt;</li>
<li>&lt;ExitProcess&gt;</li>
<li>&lt;StartVirtualEnvironment&gt;</li>
<li>&lt;TerminateVirtualEnvironment&gt;</li>
</ul>
<p style="text-align:center;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/Trigger_NewScriptRunner.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/Trigger_5F00_NewScriptRunner.png"><img style="border-color:currentColor;margin:10px;vertical-align:middle;" alt="Scriptrunner triggers xml" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/Trigger_NewScriptRunner.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/Trigger_5F00_NewScriptRunner.png" /></a></p>
<p style="text-align:center;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/Trigger_OldScripts.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/Trigger_5F00_OldScripts.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/Trigger_OldScripts.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/Trigger_5F00_OldScripts.png" border="0" /></a></p>
<p><strong>ERROR HANDLING</strong></p>
<p>Any scripts and parameters&nbsp;used with ScriptRunner.exe is that they are they are tested in the Console and any errors corrected before everything is committed to the DeploymentConfig.xml or the UserConfig.xml.&nbsp; Any errors and messages are displayed in the Console.</p>
<p>The AppV&gt;Operational Event log on the Client will record the following:</p>
<ul>
<li>Error in input parameters to ScriptRunner.exe</li>
<li>Error in the actual script, <span style="text-decoration:underline;">no &quot;rollbackonerror&quot; set</span>for script that failed, execution continues and will eventually report success.</li>
<li>Error in the actual script, <span style="text-decoration:underline;">&quot;rollbackonerror&quot; set </span>for script that failed, execution stops and error recorded</li>
</ul>
<p style="padding:0;margin:0;"></p>
<p style="text-align:left;"></p>]]></content:encoded>
    </item>
    <item>
      <title>Moving to App-V 5 as App-V 4.6 Mainstream Support Ends</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/moving-to-app-v-5-as-app-v-4-6-mainstream-support-ends</link>
      <pubDate>Tue, 14 Apr 2015 07:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2015/04/14/moving-to-app-v-5-as-app-v-4-6-mainstream-support-ends/</guid>
      <description><![CDATA[First, don&#39;t panic.&nbsp; Mainstream Support ending doesn&#39;t mean that if you are using App-V...]]></description>
      <content:encoded><![CDATA[<p style="text-align:justify;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/0676.appv-cube.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/0676.appv_2D00_cube.png"><img width="250" height="250" style="border-color:currentColor;margin-right:4px;margin-left:4px;float:left;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/0676.appv-cube.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/250x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/0676.appv_2D00_cube.png" /></a>First, don&#39;t panic.&nbsp; <a href="https://support.microsoft.com/en-us/lifecycle/search/default.aspx?alpha=Application%20Virtualization%204.6&amp;Filter=FilterNO" target="_blank">Mainstream Support ending</a> doesn&#39;t mean that if you are using App-V 4.6 you are suddenly going to be unsupported.&nbsp; What it does mean, however, is that after July 14, 2015 there won&#39;t be anymore hotfixes or service packs.&nbsp;App-V 4.6&nbsp;won&#39;t be unsupported until July 14, 2020, so you can keep using it for a good deal longer.&nbsp; However, what this does mean is that your organization needs to seriously think about moving to App-V 5.0 since, for one,&nbsp;it has many more years left in the support lifecycle.<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/1385.appv-cube.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/1385.appv_2D00_cube.png"></a></p>
<p>Everything you need to know about moving to App-V 5.0 is available in the blog series that begins <a href="/b/appv/archive/2013/07/03/how-to-prepare-for-a-migration-to-app-v-5-0.aspx" target="_blank">here on the Official App-V Blog</a>.&nbsp; However, below are some answers to questions you are probably asking right now.</p>
<h3>Moving? Don&#39;t you mean Upgrading?</h3>
<p>No, we definitely mean moving or more accurately, migrating, to App-V 5.0.&nbsp; There is no direct upgrade since the database, servers, and client are all new and different.</p>
<h3>So, I have to resequence everything?</h3>
<p>Many of the packages you sequenced with App-V 4.6 can be converted to App-V 5.0 packages. Please note the keyword &quot;many&quot; was used and not &quot;all&quot;.&nbsp; You will need to account for some time in testing applications to see if the conversion was successful.&nbsp; Some applications&nbsp;may need to be resequenced and it is best to allow your organization the planning time to address these potential issues.&nbsp; The TechNet documentation for converting packages is <a href="https://technet.microsoft.com/en-us/library/jj713472.aspx">here</a>, but Premier Field Engineer, David Falkus, also has <a href="/b/virtualworld/archive/2012/10/26/app-v-5-0-convert-legacy-packages-to-the-new-file-format.aspx">an excellent article with screenshots and examples</a>.</p>
<h3>We have hundreds of applications! It will take us forever to get that done!</h3>
<p>Two things to remember here: 1. Don&#39;t Panic.&nbsp; 2.&nbsp; Migration</p>
<p>The conversion process of 4.6 packages is all done with PowerShell and this means you can batch convert packages.&nbsp; A vast majority of your package conversions&nbsp;may be knocked out with just a few Cmdlets.&nbsp; See the Advanced Conversion Tips section of <a href="https://technet.microsoft.com/en-us/library/jj713472.aspx" target="_blank">this article</a> for more details.</p>
<p>App-V 5.0 has a <a href="https://technet.microsoft.com/en-us/library/jj713465.aspx" target="_blank">Migration Mode</a> allowing the App-V 5.0 client to be side-by-side with the App-V 4.6 SP2+ client.&nbsp; This means you can convert your packages, take the time to test them, and then easily publish the 5.0 package and remove the 4.6 package for each application as you certify them.&nbsp; There is no stress-inducing mega-change from all 4.6 to all 5.0.</p>
<h3><strong>We use Citrix with App-V so does that still work with App-V 5.0?</strong></h3>
<p>App-V 5.0 still works with Citrix.&nbsp; You should start with <a href="https://www.microsoft.com/en-us/download/details.aspx?id=40885">this White Paper</a>, but know that the paper is a guideline and Citrix has released <a href="https://support.citrix.com/proddocs/topic/xendesktop-7/cds-hosted-apps-intro.html">documentation</a> that supersedes any versions of their products mentioned in the paper.&nbsp; Depending how you use Citrix for application delivery, disk management, or profile management, you may need to be at more recent versions of their products.</p>
<h3>If App-V 4.6 is still supported until 2020 can we use it on Windows 10?</h3>
<p><span style="background-color:#ffff00;"><span style="background-color:#ffffff;"><span style="background-color:#ffff00;">UPDATED 10/15/15:</span> The App-V 4.6 support lifecycle was not modified to support Windows 10 and beyond.&nbsp; Customers should consider and treat App-V 4.6 as unsupported on Windows 10 forward and a &quot;use at your own risk&quot; situation.</span></span></p>
<p>App-V 5.0 will be supported on Windows 10, though there will most likely need to be a hotfix or Service Pack that completes that compatibility.&nbsp;Remember, App-V is <strong>not an OS compatibility tool.</strong></p>
<h3><strong><br /></strong>We have an application that was running great in 4.6 and now it won&#39;t work in App-V 5.0.</h3>
<p>There is always that possibility that an application that worked in 4.6 doesn&#39;t convert or doesn&#39;t sequence in App-V 5.0.&nbsp; You may need to open up a ticket with Microsoft Support.&nbsp; Before you open that ticket be aware of the following:</p>
<ul>
<li><a href="https://support.microsoft.com/en-us/kb/940730">Microsoft 3rd Party software and App-V Support Policy</a></li>
<li>Are you on the latest version/patch of the software you need virtualized (remember, App-V is not an OS compatibility tool)?</li>
<li>Are you getting an error from the software or from App-V?&nbsp; If it is from the software, have you checked with resources from that vendor?</li>
<li>Does it work locally installed?&nbsp; If so, do you have reason that it needs to be virtualized?<br />
<ul>
<li>If your answer is &quot;we virtualize everything&quot;, weigh the factors of &quot;is it more important that this works or that it is virtualized&quot; as well as &quot;does the vendor support this product virtualized&quot;.</li>
</ul>
</li>
<li><span style="background-color:#ffff00;"><strong>UPDATE 10/15/15:</strong>&nbsp;</span> The App-V 5.1 sequencer has even more improvements in the converter.&nbsp; If you had a package that did not convert successfully before, you may want to try again with the 5.1 sequencer.</li>
</ul>
<p></p>
<p>Good luck with your migration to App-V 5.0.&nbsp; Remember to <a href="https://technet.microsoft.com/en-us/library/jj713487.aspx">review the documentation on TechNet</a> <em>before</em> beginning your migration, but I hope this helped answer some immediate questions.</p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>New(b) series of articles coming soon.</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/newb-series-of-articles-coming-soon</link>
      <pubDate>Wed, 07 Jan 2015 12:52:30 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2015/01/07/newb-series-of-articles-coming-soon/</guid>
      <description><![CDATA[I am going to finally get some new articles up here with a majority of them around being a Noob...]]></description>
      <content:encoded><![CDATA[<p>I am going to finally get some new articles up here with a majority of them around being a Noob (that&#39;s &quot;newbie&quot;) with some of our products.&nbsp;I&#39;ll cover how to get going on products, or help avoid common mistakes that can snowball into a failed configuration.&nbsp; Additionally, I&#39;ll address specific areas of expertise within our products.</p>
<p>I&#39;m looking forward to writing them, so I hope you look forward to reading them.</p>]]></content:encoded>
    </item>
    <item>
      <title>System Center Assemble! Create your team of heroes with System Center 2012 SP1</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/system-center-assemble-create-your-team-of-heroes-with-system-center-2012-sp1</link>
      <pubDate>Fri, 08 Feb 2013 12:03:00 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2013/02/08/system-center-assemble-create-your-team-of-heroes-with-system-center-2012-sp1/</guid>
      <description><![CDATA[When System Center 2012 released, it was done so for the first time as one product.&nbsp; Everything...]]></description>
      <content:encoded><![CDATA[<p>When System Center 2012 released, it was done so for the first time as one product.&nbsp; Everything that had been a separate product before was now a component of System Center 2012. No more separate purchases, you got everything together!</p>
<p>In my experience as a Senior Support Escalation Engineer I have seen that IT groups within Enterprises often reflected the separation of products or processes.&nbsp; This totally makes sense, and I get it, the specialization helps many organizations.&nbsp; Unfortunately, I have also seen where this specialization leads to each group being in their own "castle" where communication and collaboration only happens if absolutely necessary.&nbsp; The integration of System Center 2012/2012 SP1 components and connection to other&nbsp;technologies in your environment&nbsp;means&nbsp;its time to form a new team!</p>
<p>Think about it...Superman and Batman together&nbsp;are the "World's Finest"!&nbsp; Captain America, Iron Man, Hulk are all great on their own, but&nbsp;together they form "The&nbsp;Avengers!" Form your own team of IT Super Heroes with System Center 2012.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/1033.system-center-heroes2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/1033.system_2D00_center_2D00_heroes2.jpg"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/1033.system-center-heroes2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/1033.system_2D00_center_2D00_heroes2.jpg" alt="" border="0" /></a></p>
<p>Now, the obvious place to start forming your team is one member for&nbsp;each component of System Center 2012.&nbsp; That's good, now think more strategically. Think deeper.&nbsp; System Center 2012 SP1&nbsp;does waaaaayy more than it ever it did in previous versions. Let's look at Virtual Machine Manager just for example:</p>
<p>&nbsp;</p>
<table border="0">
<tbody>
<tr>
<td style="text-align: center;"><strong>VMM 2008</strong></td>
<td style="text-align: center;"><strong>VMM 2012 SP1</strong></td>
</tr>
<tr>
<td valign="top">
<ul>
<li>Create and Manage Virtual Machines</li>
<li>Create VM Templates</li>
<li>Add Hosts</li>
<li>Manage Clusters</li>
<li>Migrate Virtual Machines</li>
<li>Self-Service Portal</li>
</ul>
</td>
<td valign="top">
<ul>
<li>Everything from VMM 2008, plus</li>
<li>Logical and Virtualized Networks</li>
<li>SQL Dacpacs</li>
<li>Application Packaging</li>
<li>Bare Metal Installations</li>
<li>Private Clouds</li>
<li>Service Templates</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;It looks like right away our team could use a few more members.&nbsp; The networking capabilities of SCVMM 2012 on top of Hyper-V 3.0 are amazingly powerful and complex.&nbsp; Let's get a Networking specialist on our team!</p>
<p>SQL? <em>Everything</em> in System Center 2012 SP1 touches SQL at least once.&nbsp; We'll need someone with SQL powers!</p>
<p>Application packaging and deployment with Server App-V?&nbsp; Oh yeah, let's get someone who really knows the right way to install and deploy software so it is packaged up correctly.</p>
<p>Service Templates? That depends on your Enterprise since creating them can be very complex or very easy depending on if you have the three team members above.&nbsp; They might be their own team within a team.</p>
<p>With just one component there are potentially 3-4 more members needed for your IT department's team.&nbsp; What about the other System Center 2012 SP1 components?&nbsp; System Center Configuration Manager is another huge product and depending on your Enterprise it may often team-up for adventures with App-V.&nbsp; Each new component has new functionality that reaches out to other technologies like Active Directory, Exchange, SharePoint, and more.&nbsp; Your team should reflect the capabilities and integration of these products as well.</p>
<p>These links will help you discover the new capabilities of System Center 2012.&nbsp; The "Planning" sections will provide insight into assembling your new team of System Center Heroes!</p>
<p><strong>What's New in System Center 2012</strong> <a href="https://technet.microsoft.com/en-us/library/jj649385.aspx">https://technet.microsoft.com/en-us/library/jj649385.aspx</a></p>
<p><strong>App Controller Deployment Checklist</strong> <a href="https://technet.microsoft.com/en-us/library/hh709025.aspx">https://technet.microsoft.com/en-us/library/hh709025.aspx</a></p>
<p><strong>Configuration Manager 2012</strong> <a href="https://technet.microsoft.com/en-us/library/gg682041.aspx">https://technet.microsoft.com/en-us/library/gg682041.aspx</a></p>
<p><strong>Data Protection Manager</strong> <a href="https://technet.microsoft.com/en-us/library/hh758173.aspx">https://technet.microsoft.com/en-us/library/hh758173.aspx</a></p>
<p><strong>Key Concepts for Operations Manager</strong> <a href="https://technet.microsoft.com/library/hh230741.aspx">https://technet.microsoft.com/library/hh230741.aspx</a></p>
<p><strong>Orchestrator Architecture</strong> <a href="https://technet.microsoft.com/en-us/library/hh420377.aspx">https://technet.microsoft.com/en-us/library/hh420377.aspx</a></p>
<p><strong>Planning for Service Manager 2012</strong> <a href="https://technet.microsoft.com/en-us/library/hh495542.aspx">https://technet.microsoft.com/en-us/library/hh495542.aspx</a></p>
<p><strong>Virtual Machine Manager Overview</strong> <a href="https://technet.microsoft.com/en-us/library/gg671827.aspx">https://technet.microsoft.com/en-us/library/gg671827.aspx</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>App-V 4.6 SP1 Sequencer – Where is the “Begin Monitoring” button?</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/app-v-4-6-sp1-sequencer-where-is-the-begin-monitoring-button</link>
      <pubDate>Tue, 13 Sep 2011 17:47:44 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2011/09/13/app-v-4-6-sp1-sequencer-where-is-the-begin-monitoring-button/</guid>
      <description><![CDATA[The App-V 4.6 SP1 Sequencer introduced a new workflow to the App-V Sequencer.&#160; The intent of...]]></description>
      <content:encoded><![CDATA[<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/metablogapi/4606.MP900444381_38A71AEF.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39-metablogapi/4606.MP900444381_5F00_38A71AEF.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 13px 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="MP900444381" border="0" alt="MP900444381" align="left" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/metablogapi/3113.MP900444381_thumb_2B6091DC.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39-metablogapi/3113.MP900444381_5F00_thumb_5F00_2B6091DC.jpg" width="113" height="145" /></a>The App-V 4.6 SP1 Sequencer introduced a new workflow to the App-V Sequencer.&#160; The intent of the new workflow is to make the process of Sequencing easier.&#160; For users new to Sequencing, the workflow is one of the many changes introduced that makes Sequencing an application faster, more predictable, and easier to do.&#160; For experienced Sequencing Engineers, one of the first things asked is “What happened to the Begin Monitoring button?”</p>  <p>Well, the button is gone. The term “Monitoring” is essentially gone, except to us “old school” Sequencing Engineers.&#160; But Monitoring is still occurring with the 4.6 SP1 Sequencer.</p>  <p>Monitoring of an application installation occurs in two of the workflow phases: “Installation” and “Configure<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/metablogapi/1157.image_6A521277.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39-metablogapi/1157.image_5F00_6A521277.png"><img style="background-image: none; border-right-width: 0px; margin: 6px 0px 0px 6px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/metablogapi/6740.image_thumb_54F45D0F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39-metablogapi/6740.image_5F00_thumb_5F00_54F45D0F.png" width="132" height="84" /></a> Software”. Another way to look at it is that as soon as you click “Next” from “Package Name” phase, you’ve started Monitoring.&#160; In the Installation phase, the Sequencer monitors where the files are laid down, what registry changes are made, redirects files to the Virtual Files System, and keeps track of changes to the Sequencing VM.&#160; After selecting “I have finished installing” and clicking “Next”, Monitoring stops.&#160; The user sees that the Sequencer is “Collecting System Changes.”&#160; The Sequencer processes any reboots at this stage.&#160; Next, before going to the Configure Software phase, Monitoring starts back up again.&#160; This automatically directs the Sequencing Engineer to the best practice of running the applications while Monitoring. At then end of the Configure Software phase and you click “Next” the Sequencer stops Monitoring for the second and final time.</p>  <p><strong>TIP</strong>:&#160; Since Monitoring is still occurring in the Configure Software phase, you can still make registry changes or run scripts in this phase.</p>  <p>So, to you Sequencing veterans, there is no need to worry about not seeing that button anymore.&#160; The Sequencer guides you through the phases and begins Monitoring at the appropriate time.</p>]]></content:encoded>
    </item>
    <item>
      <title>App-V: Application Usage Reporting is Inaccurate</title>
      <link>https://docs.microsoft.com/archive/blogs/sbucci/app-v-application-usage-reporting-is-inaccurate</link>
      <pubDate>Wed, 24 Aug 2011 19:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Steve Bucci]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sbucci/2011/08/24/app-v-application-usage-reporting-is-inaccurate/</guid>
      <description><![CDATA[One of the features of the App-V Management Server is the ability to report usage data.&nbsp; This...]]></description>
      <content:encoded><![CDATA[<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/5432.report.gif" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/5432.report.gif"><img style="margin: 8px; float: left;" alt="Sample Report from App-V Management Console" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/39/5432.report.gif" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-39/5432.report.gif" width="300" height="222" /></a>One of the features of the App-V Management Server is the ability to report usage data.&nbsp; This is a great feature if you want to track application usage.&nbsp; Sometimes, however, you may run a report on an application and <em>know</em> that there is no way the information could be accurate.<br />&nbsp;</p>
<p>The reporting <strong>is</strong> accurate for the information that is available in the SQL Database.&nbsp; The problem is that all the available information may not have reached the SQL database.&nbsp; The application usage information is only reported from the App-V client during a <a href="https://blogs.technet.com/b/appv/archive/2009/02/17/a-story-of-a-publishing-refresh-request.aspx">Publishing Refresh</a>.&nbsp; If your client is set to refresh "On Login" and you are someone like me that only locks their computer and doesn't log off, then the information will never be sent.</p>
<p>In the App-V Client machine's registry, the location of the XML file that tracks a client usage can be found in <strong>HKLM\Software\Microsoft\Softgrid\4.5\Client\LastCacheFile\&lt;GUID&gt;.XML</strong>.Everytime an application is launched, this XML file is written to with the following information:</p>
<p><span style="font-family: courier new,courier;">- &lt;REPORT_DATA_CACHE&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp; - &lt;APP_RECORDS&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;APP_RECORD Name="WordViewer" Ver="11.0" Server="sblab&mdash;mqmt" User="SBLAB\Steve"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Launched=&rdquo;7/27/2011 2:27:54 PM&rdquo; Shutdown=&rdquo;8/24/2011 12:49:16 AM" /&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;APP_RECORD Name="WordViewer" Ver="11.0" Server="sblab&mdash;mgmt" User="SBLAB\Steve"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Launched="8/24/2011 12:50:39 AM" /&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp; &lt;/APP_RECORDS&gt;</span><br /><span style="font-family: courier new,courier;">&lt;/REPORT_DATA_CACHE&gt;</span></p>
<p>When a Publishing Refresh happens, the data is uploaded to the SQL database and the APP_RECORD tags are cleared.</p>
<p>So, you need the data, users are not logging off, Publishing Refresh isn't happening because no one is logging off.&nbsp; What should you do?&nbsp; <a href="https://technet.microsoft.com/en-us/library/cc843819.aspx">Provider Policies</a> are the answer! Provider Policies can manage the Desktop Clients in your environment and force a Publishing Refresh at designated intervals. This in turn will upload the APP_RECORDS information from the local &lt;GUID&gt;.XML.</p>
<p>Wait, you've done all that and you are <em>still</em> not getting the data? Well, there are a few more possible explanations: users may not be part of the Provider Policy Group Assignment, or your environment has a 4.6 client against a 4.1 server.&nbsp; For Provider Policy Group Assignments, take a look at my <a href="https://blogs.technet.com/b/appv/archive/2011/05/19/the-ultimate-guide-to-application-licensing-and-provider-policies-for-application-virtualization-4-5.aspx">Ultimate Guide to Licensing and Provider Policies</a> on the App-V Blog.&nbsp; If your environment has a 4.1 Server in place, <a href="https://madvirtualizer.wordpress.com/2011/06/09/app-v-4-6-app-v-4-6-reporting-does-not-work-when-using-4-1-server/">read the article by my colleague, Steve Thomas</a>, for an explanation. Finally, prior to the App-V 4.6 SP1 client, if the XML file grows larger than 64k or has an empty package field in the registry, the data will not upload.&nbsp;The App-V 4.6 SP1 Client corrects this issue.</p>
<p>UPDATE: Another cause of inaccurate reporting may be a mismatch of the "Version" field&nbsp;of the application properties in the App-V Management Console versus the "Version" listed in the application's OSD file.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>