Windows Virtual Desktop Start menu not working
While I was working on a project which includes MSIX app attach, we were experiencing some issues with applications published to the users using MSIX app attach. This made us raise an incident with the Microsoft Support, and this could be interesting for a lot of people, so I decided to blog about it 😊. Show The problemIt turned out that newly published MSIX app attach applications were not showing in the Start Menu, or that removed applications were not removed from the windows Start Menu. When removing the profile from a user, the new situation (new application or removed application) did reflect on the user his Start Menu. The caseMicrosoft Support (I can only thank them because the response was quick and to the point, so thank you for that!) told us that there is (2021-05-06) an issue with MSIX app attach & FSLogix. More specific, the Start Menu Appx Package being cached by FSLogix in the FSLogix profile. The solution
You can exclude specific folders in FSLogix by using the redirections.xml file & the RedirXML file GPO: More info here. To solve the issue, you have to exclude the %localappdata%\packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\TempState folder and/or the %localappdata%\packages folder. This makes sure that FSLogix does not include your Start Menu in your Profile, which gives you a clean Start Menu at logon. To fix the issue, follow these steps: Create or modify redirections.xml
Create the FSLogix GPO to enable the redirections.xmlNext, store the redirections.xml on a fileshare accessible for the WVD Sessionhosts, for example: \\«yourdomain»\netlogon (\\cloud-architect.be\NETLOGON) Then create a new GPO or modify your exising FSLogix profile GPO: Now, all you need to do is do a GPUpdate on your WVD Sessionhosts & make sure your users do Logoff & Logon again. I hope this helps! Please leave a comment below if you have questions or remarks.
Hi everybody it´s Patrick again with another blog post! But this week I´m going to start a new article series, focusing on increasing the User Experience in Windows Virtual Desktop for end-users as well as for admins! Since WVD Spring Release is available in public preview I was searching for the state of the art User Experience and finally I came to the conclusion that every environment has its own signature so that you can´t summarize and give the “final answer” to all usability questions, but at least we can try to optimize the environment, to make our end-users curious about what they can do in WVD, especially with the new Windows 10 Multi-Session 2004 version! This article series will especially cover capabilities to optimize your Windows Virtual Desktop experience by optimizing:
But lets start with todays part 1: Table of ContentsChapter 1: Windows 10 Startmenu and Taskbar: The basicsThe Windows 10 startmenu or taskbar is the place in Windows to consolidate all installed applications on the system and to provide an easy to use navigation point while providing direct shortcuts to the applications without directly impacting the application installation. Customizing the Windows 10 startmenu and taskbar is possible since the release of version 1607. By default, a Windows 10 startmenu provides the following view, while opening it: While having a deeper look at the startmenu itself, we can separate it into the following areas:
The location where all the shortcuts for your applications are present is: %AppData%\Microsoft\Windows\Start Menu\Programs In here you can find the folders represented in your startmenu while viewing “All Apps”. To review the location for default users in your environment and to review, where the default icons and application shortcuts are coming from, please find the location for the “all user startmenu”: %ProgramData%\Microsoft\Windows\Start Menu\Programs. Finally the startmenu combines both locations and represents the results in the users startmenu. The important startmenu rules To get started with startmenu modifications you need to have in mind, that Microsoft has specific rules on how the whole background process around these startmenus are working, please find them here: As you now know, the startmenu combines the both avalable locations from the user´s startmenu location in the profile with the one available for all users on the local C: drive. There is a kind of indexiation process behind the scenes which identifies the existance of the same shortcut within the user´s profile and keeps only one version. This means: You cannot have two copies of the same EXE file in the startmenu! If you´re managing application folders within your startmenu and you have no shortcuts within a specified folder, it wont be displayed! Very important to keep in mind is, when you do changes to the startmenu or folders, in most cases it requires some time to be applied. In some cases even a re-login to the system! I remember my early days in IT, when my colleagues told me to check the event viewer for the exact error messages. If you see that there is an error related to the start menu or taskbar please find the appropriate log files here: Event Viewer > Applications and Services Log > Microsoft > Windows > ShellCommon-StartLayoutPopulation > Operational Chapter 2: Configure the startmenuThere are a lot of possibilities given to optimize the startmenu to your end-users needs! Beginning from the installation of new software over the deinstallation of Microsoft´s built-in applications (Appx) to the configuration of the visual setting and groupings of the startmenu. In this section you will learn to cleanup the startmenu and free it from consumer experiences and finally adapt it to your needs while respecting best practices and lessons learned from the past years. Remove Consumer Experience ApplicationsRemoving the Consumer Experience Applications should always be the first start of optimizing Windows 10 to prevent, that our users are utilizing applications which aren´t supporting the productivity. If you need to remove more application or just wanted to know, which AppX applications are installed by default, start a PowerShell as Administrator and type: Get-AppxPackage | ft NameHere is a list of applications, I usually remove from the golden image by default: Microsoft.XboxSpeechToTextOverlay Microsoft.OneConnect Microsoft.WindowsFeedbackHub Microsoft.windowscommunicationsapps Microsoft.BingWeather Microsoft.MicrosoftOfficeHub Microsoft.XboxIdentityProvider Microsoft.MicrosoftSolitaireCollection Microsoft.MicrosoftStickyNotes Microsoft.MSPaint Microsoft.People Microsoft.Print3D Microsoft.WindowsCamera Microsoft.Windows.Photos Microsoft.MixedReality.Portal Microsoft.Xbox.TCUI Microsoft.ScreenSketch Microsoft.Messaging Microsoft.SkypeApp Microsoft.XboxApp Microsoft.GetHelp Microsoft.ZuneMusic Microsoft.YourPhone Microsoft.WindowsAlarms Microsoft.WindowsCalculator Microsoft.ZuneVideo Microsoft.XboxGameOverlay Microsoft.XboxGamingOverlay Microsoft.WindowsMaps Microsoft.WindowsSoundRecorder Microsoft.Office.OneNote Microsoft.Getstarted Microsoft.Microsoft3DviewerTo simply remove these applications you can also just run the following Powershell Script in your Windows 10 environment: $appxpackage = "Microsoft.3DBuilder,Microsoft.Getstarted,Microsoft.MicrosoftOfficeHub,Microsoft.MicrosoftSolitaireCollection,Microsoft.People,Microsoft.SkypeApp,Microsoft.WindowsCommunicationsApps,Microsoft.XboxApp,Microsoft.ZuneMusic,Microsoft.ZuneVideo,Microsoft.BingFinance,Microsoft.BingNews,Microsoft.BingSports,Microsoft.BingWeather,Microsoft.Windows.Photos,Microsoft.WindowsCamera,Microsoft.WindowsMaps,Microsoft.YourPhone,Microsoft.WindowsSoundRecorder,Microsoft.WindowsAlarms,Microsoft.GetHelp, Microsoft.Microsoft3Dviewer,Microsoft.Messaging, Microsoft.MixedReality.Portal, Microsoft.WindowsFeedbackHub, Microsoft.Wallet, Microsoft.Print3D," $appxpackage=$appxpackage.Split(",") foreach ($appx in $appxpackage) {Get-AppxPackage $appx -Allusers | Remove-AppxPackage}The result should look like this: You will immediately identify, that the applications mentioned above are removed for all users of the system, meaning that future users in our WVD environment wont get those applications installed. But you might wonder, why we are able to see still some consumer applications in the StartMenu? This is something related to the Windows 10 version you are using (in my example for testing purposes Win10 Pro), where you can disable the usage of consumer apps easily via GPO later on. The required settings can be defined from the Group Policy Management console of your administrative computer (having the RSAT tools installed), or from any domain controller in your environment: Pre-configure shortcuts for deploymentsNow it´s most likely the time for you to install your required applications. When this is done you can start creating the startmenu with the presets you want to give your endusers. You can do this in multiple ways:
My tip: Do it with Drag&Drop and the Pinning method first! Now let´s start removing not required application shortcuts by performing a right-click on the tile and select: “Unpin folder from Start” We do this for all our applications and start adding the new tiles by searching them in the StartMenu, performing a right-click and selecting: “Pin to Start”. By hovering over the name of the group, you can even modify it here: In my example I specify the group name for my end users, that even the guy with less IT experience knows what these apps are about – hopefully 😉 Finally the startmenu can look like this: %ScreenShot WVD Environment% User Experience Tips!One thing that dramatically helps users to understand what they have to do when they finish their working day is to provide them with a dedicated Logoff button in the start menu. Like this the users, at least for my customers, are more willed to perform a clean logoff instead of just closing the session window or performing an unclean disconnect. To create such a loggoff button, follow these steps:
Chapter 3: Configure the TaskbarSince the version Windows 10 1607 you have the possibility to remove and pin additional applications to the Taskbar of Windows 10. In our case this is really helpful to pre-define the default settings for our end-users in the WVD environment. To add new icons to the taskbar, simply drag and drop them from the start menu or perform a right-click > More > Pin to Taskbar User Experience Tips! Don´t forget to pin the Windows Explorer / File Explorer! By default this is not the case but it will drastically improve the user experience. Just search for the Windows Explorer in your start menu and make a right-click > Pin to taskbar! Chapter 4: Provisioning options for Windows Virtual DesktopFor our deployment in WVD it´s really important to know the different ways of deploying the predefined settings to our end users. I will not be able to mention every single option in detail, but I will explain you most likely the pro´s and con´s of each approach and by interest I´m available to guide you through the setup in detail. Let me quickly present you, which characteristics a Startmenu or Taskbar can have for the end users and how we as administrators can benefit from some settings:
Let me present you quickly how to setup every of these three possibilities: Configure the mandatory startmenuThe first thing, after defining the startmenu is to export it. To do so you must start the Powershell as an administrator and run the following command: Export-StartLayout -Path %UNC Path to your location%\filename.xmlThe result will be exported as an XML and should look like this: As you can see, the XML is structured based on the shortcuts you defined in your startmenu layout. I highly recommend you to have a look at the official Microsoft documentation for more information about, how this XML file is built: To make this startlayout finally mandatory, we need to define the XML as StartLayout via Group Policy. To do so, open up the Group Policy Management Console and create a new GPO or edit an existing one: User Configuration > Administrative Templates > Start Menu and Taskbar > Start Layout Once applied the startlayout will be enforced for all users, where it applies! Configure the partially customizable startmenuTo define a partially customizable startmenu we need to go back to the point, where we have exported our startmenu. As a small reminder, you have to open the PowerShell as Administrator and run: Export-StartLayout -Path %UNC Path to your location%\filename.xmlNow you need to open this XML file and define the groups, you want to lock or prevent the user from changing it. You will see the start of the seciton “DefaultLayoutOverride” in this XML, which needs to be adapted for the usage of partial customizable menus. to enable that feature just replace this value by: Now, all definitions you did in this XML file will become active, once you reimport that file on your golden image or user session. This can be done by re-importing it via Powershell using this command as Administrator: Import-StartLayout -LayoutPath \\%UNCToStartLayout%\StartLayout.xml -MountPath c:\Or by renaming your XML into LayoutModification.xml and place it into the Default user Shell folder: “C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml” This will activate the settings for all users, that will be created on that system. Configure a Default Start MenuThe last option is to simply export the startmenu as mentioned above and place it into the Shell folder without any modification on the XML file itself! Please keep in mind that the XML must be named “LayoutModification.xml”, otherwise your process of enabling the default layout will fail! Chapter 5: Download the resourcesIf you want to get my start layout, please find it here to be used for your deployments! Via the tasks descripted in chapter 4 you can adapt it to your individual needs. Please keep in mind that my startlayout requires to work the updated Edge Browser and the installed Office365 ProPlus package. I hope you like this article and if you have any kind of questions, ping me on Twitter, LinkedIn or down in the comments! Have a great weekend everyone! Patrick
(Visited 648 times, 1 visits today) |