让用户更改win10中部署的任务栏pipe脚

我正在开发Windows 10部署,并希望使用LayoutModification.xml来configuration任务栏 。 部署完美地工作,并做出我的更改,但用户无法删除这些固定的项目,当他们不需要。 我如何允许这个?

<LayoutModificationTemplate xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1"> .... <CustomTaskbarLayoutCollection PinListPlacement="Replace" > <defaultlayout:TaskbarLayout> <taskbar:TaskbarPinList> <taskbar:UWA AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" /> <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" /> <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\xxxxlnk" /> </taskbar:TaskbarPinList> </defaultlayout:TaskbarLayout> </CustomTaskbarLayoutCollection> </LayoutModificationTemplate> 

EDITS:

这在Win10 1703发生。

我以为它可能只是一些NTFS权限,但使用新的configuration文件部署方法,这个LayoutModification.xml文件仅在创build时从默认用户复制到本地用户configuration文件。 在标准用户configuration文件(具有标准用户权限)内,如果我编辑LayoutModification.xml副本上的固定项目,它将消失。 这是一个解决方法,但不是一个真正的修复。