简体   繁体   English

Windows 2016 Server - 启动布局GPO缺少项目

[英]Windows 2016 Server - Start Layout GPO missing items

We're in the process of building and configuring GPO and profiles for Windows Server 2016. We're familiar with the XML based start menu file (worked with it in Windows 2012R2). 我们正在为Windows Server 2016构建和配置GPO和配置文件。我们熟悉基于XML的开始菜单文件(在Windows 2012R2中使用它)。

We've got all our shiny icons just the way we like, we then export them using the powershell command Export-StartLayout, we then copy the xml file to a local path on the server, and then update the GPO to force specific users to use that start menu with the "Start layout" GPO item. 我们按照我们喜欢的方式获得所有闪亮的图标,然后使用powershell命令Export-StartLayout导出它们,然后我们将xml文件复制到服务器上的本地路径,然后更新GPO以强制特定用户将该开始菜单与“开始布局”GPO项一起使用。

When we log in as the user, everything is there except for the items that end in .url and the .lnk file that is actually a bat file shortcut. 当我们以用户身份登录时,除了以.url结尾的项目和实际上是bat文件快捷方式的.lnk文件之外,一切都在那里。 If we remove the enforce start menu GPO, the icons appear... we've searched for days now and no-one seems to have an answer. 如果我们删除强制启动菜单GPO,则会显示图标...我们现在已经搜索了几天,似乎没有人有答案。

Here is a copy of our start menu XML 这是我们的开始菜单XML的副本

<LayoutModificationTemplate Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
  <LayoutOptions StartTileGroupCellWidth="6" />
  <DefaultLayoutOverride>
    <StartLayoutCollection>
      <defaultlayout:StartLayout GroupCellWidth="6" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout">
        <start:Group Name="Tools" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout">
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="4" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Server Manager.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell ISE.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="4" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\Administrative Tools.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk" />
        </start:Group>
        <start:Group Name="Apps" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout">
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Notepad++\Notepad++.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\StartupUI.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\SumatraPDF.lnk" />
        </start:Group>
        <start:Group Name="Vyattas" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout">
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\DAL01 Vyatta.url" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\WDC01 Vyatta.url" />
        <start:DesktopApplicationTile
          DesktopApplicationID="http://www.contoso.com/"
          Size="2x2"
          Row="0"
          Column="2"/>
        </start:Group>
      </defaultlayout:StartLayout>
    </StartLayoutCollection>
  </DefaultLayoutOverride>
</LayoutModificationTemplate>

The Vyatta URL's and the startupUi.lnk are the three items we cannot get to appear on the start menu once we enforce the GPO. Vyatta URL和startupUi.lnk是我们强制执行GPO后无法在开始菜单上显示的三个项目。

The shortcuts are located in the %allusersprofile% 快捷方式位于%allusersprofile% 在此输入图像描述

Thank you in advance! 先感谢您!

对于URL,请使用DesktopApplicationID而不是DesktopApplicationLinkPath

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM