virtualization:ExcludedDirectory

Specifies a directory that is excluded from file system virtualization.

Note

This element requires the unvirtualizedResources restricted capability.

Element hierarchy

<Package>

    <Properties>

         <virtualization:FileSystemWriteVirtualization>

              <virtualization:ExcludedDirectories>

                   <virtualization:ExcludedDirectory>

Syntax

<virtualization:ExcludedDirectory>
  This element is a case-insensitive string that must start with "$(KnownFolder:<known folder name>)<path to excluded directory>" where "known folder name" specifies one of the known folders under the AppData directory. The rest of the string is the relative path to the excluded directory. For example, "$(KnownFolder:LocalAppData)\Fabrikam\Shared".
</virtualization:ExcludedDirectory>

Attributes and elements

Attributes

None.

Child elements

None.

Parent elements

Parent element Description
virtualization:ExcludedDirectories Specifies the list of directories that are excluded from file system virtualization.

Remarks

This element requires the unvirtualizedResources restricted capability.

For the list of known directories that can be specified for this element, see KNOWNFOLDERID. The folder name specified in the schema syntax is the constant value with the FOLDERID_ token removed from the string. For example, for the constant FOLDERID_AccountPictures, the known folder name is AccountPictures.

The following list contains the list of allowed known folder names, current as of this writing.

  • AccountPictures
  • AdminTools
  • AppDataDesktop
  • AppDataDocuments
  • AppDataFavorites
  • AppDataProgramData
  • ApplicationShortcuts
  • CDBurning
  • Cookies
  • GameTasks
  • History
  • ImplicitAppShortcuts
  • InternetCache
  • Libraries
  • LocalAppData
  • LocalAppDataLow
  • NetHood
  • OriginalImages
  • PrintHood
  • Programs
  • QuickLaunch
  • Recent
  • Ringtones
  • RoamingAppData
  • RoamedTileImages
  • RoamingTiles
  • SearchHistory
  • SearchTemplates
  • SendTo
  • SidebarParts
  • StartMenu
  • Startup
  • Templates
  • UserPinned
  • UserProgramFiles
  • UserProgramFilesCommon

Requirements

Item Value
virtualization http://schemas.microsoft.com/appx/manifest/virtualization/windows10
Minimum OS Version Windows 10 (Build 20348)