From ecded17dc023ce317150058ea9a572b279544de1 Mon Sep 17 00:00:00 2001 From: LizRoss Date: Tue, 7 Feb 2017 13:36:53 -0800 Subject: [PATCH] Adding content --- .../appv-auto-clean-unpublished-packages.md | 48 +++++++++++++++++-- .../manage/appv-auto-sequence-a-new-app.md | 3 ++ ...istory-for-manage-and-update-windows-10.md | 2 +- 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/windows/manage/appv-auto-clean-unpublished-packages.md b/windows/manage/appv-auto-clean-unpublished-packages.md index 044ee60e31..92fa4efcd9 100644 --- a/windows/manage/appv-auto-clean-unpublished-packages.md +++ b/windows/manage/appv-auto-clean-unpublished-packages.md @@ -1,5 +1,5 @@ --- -title: Automatically clean-up unpublished packages on the App-V client (Windows 10) +title: Automatically cleanup unpublished packages on the App-V client (Windows 10) description: How to automatically clean-up any unpublished packages on your App-V client devices. author: eross-msft ms.pagetype: mdop, appcompat, virtualization @@ -9,15 +9,57 @@ ms.prod: w10 --- -# Automatically clean-up unpublished packages on the App-V client +# Automatically cleanup unpublished packages on the App-V client **Applies to** - Windows 10, version 1703 -## Clean-up by using PowerShell commands +Previous versions of App-V have required you to manually remove your unpublished packages from your client devices, to free up additional storage space. Windows 10, version 1703 introduces the ability to use PowerShell or Group Policy settings to automatically cleanup your unpublished packages after a device restart. + +## Cleanup by using PowerShell commands +Using PowerShell, you can turn on the **AutoCleanupEnabled** setting to automatically cleanup your unpublished App-V packages from your App-V client devices. + +**To turn on the AutoCleanupEnabled option** +1. Open PowerShell as an admin and run the following command to turn on the automatic package cleanup functionality: + + ```ps1 + Set-AppvClientConfiguration -AutoCleanupEnabled 1 + ``` + The command runs and you should see the following info on the PowerShell screen: + + + + + + + + + + + + + + + + +
NameValueSetbyGroupPolicy
AutoCleanupEnabled1False
+ +2. Run the following command to make sure the packages were successfully cleaned up. + + ```ps1 + Get-AppvClientConfiguration + ``` + You should see the **AutoCleanupEnabled** option turned on (shows a value of "1") in the configuration list. ## Clean-up by using Group Policy settings +Using Group Policy, you can turn on the **Enable automatic cleanup of unused appv packages** setting to automatically cleanup your unpublished App-V packages from your App-V client devices. +**To turn on the Enable automatic cleanup of unused appv packages setting** +1. Open your Group Policy editor and double-click the Administrative Templates\System\App-V\PackageManagement\Enable automatic cleanup of unused appv packages setting. + +2.Click **Enabled**, and then click **OK**. + + The setting is turned on and will cleanup any unpublished App-V packages on the App-V Client after restarting. ### Related topics - [Download the Windows ADK](https://developer.microsoft.com/windows/hardware/windows-assessment-deployment-kit) diff --git a/windows/manage/appv-auto-sequence-a-new-app.md b/windows/manage/appv-auto-sequence-a-new-app.md index 5bc2efe524..0bfc73261f 100644 --- a/windows/manage/appv-auto-sequence-a-new-app.md +++ b/windows/manage/appv-auto-sequence-a-new-app.md @@ -32,6 +32,9 @@ You have 2 options for provisioning an VM for auto-sequencing: - Updating an existing VM + >[!NOTE] + >We have reduced the number of environmental checks performed by the App-V Sequencer, narrowing down the list of apps that need to be disabled or turned off for a clean sequencing experience. We've also suppressed antivirus and other similar app warnings. + ### Provision a new VM by using a VHD file Provisioning your new VM includes creating a VHD file, setting up a user account, turning on remote PowerShell scripting, and installing the App-V Sequencer. diff --git a/windows/manage/change-history-for-manage-and-update-windows-10.md b/windows/manage/change-history-for-manage-and-update-windows-10.md index 9c6db63732..e206f0a086 100644 --- a/windows/manage/change-history-for-manage-and-update-windows-10.md +++ b/windows/manage/change-history-for-manage-and-update-windows-10.md @@ -21,7 +21,7 @@ This topic lists new and updated topics in the [Manage and update Windows 10](in |[Automatically sequence a new app using the Microsoft Application Virtualization Sequencer (App-V Sequencer)](appv-auto-sequence-a-new-app.md) |New | |[Automatically sequence multiple apps at the same time using the Microsoft Application Virtualization Sequencer (App-V Sequencer)](appv-auto-batch-sequencing.md) |New | |[Automatically update multiple apps at the same time using the Microsoft Application Virtualization Sequencer (App-V Sequencer)](appv-auto-batch-updating.md) |New | -|[Automatically clean-up unpublished packages on the App-V client](appv-auto-clean-unpublished-packages.md) +|[Automatically clean-up unpublished packages on the App-V client](appv-auto-clean-unpublished-packages.md) |New | ## January 2017