mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-21 05:13:40 +00:00
Adding content
This commit is contained in:
@ -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:
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th>SetbyGroupPolicy</th>
|
||||
</thead>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>AutoCleanupEnabled</td>
|
||||
<td>1</td>
|
||||
<td>False</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
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)
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user