windows 10
6 Topics(Azure) Virtual Desktop Optimization Tool now available
Optimizing images has always been an important component of preparing images as part of a traditional Remote Desktop Services (RDS) infrastructure or virtual desktop infrastructure (VDI). Optimizing session hosts, in particular, can increase user density and eventually lower costs. With the Virtual Desktop Optimization Tool, you can optimize your Windows 10, version 2004 multi- and single-session deployments in Windows Virtual Desktop. Note: The information in this post is community-driven; nothing has yet been officially launched by the Windows Virtual Desktop product team. Credit goes to Robert M. Smith and Tim Muessig from Microsoft, previously known as the VDIGuys, for creating this tool and make it available for free for the community. Windows 10 multi-session image name change As noted in recent announcements, Office 365 ProPlus is now Microsoft 365 apps for Enterprise. With this name change, we have updated the Windows Virtual Desktop image names in Azure Marketplace. As a result, when you are looking for an image in the Azure Marketplace image gallery, you should begin by selecting Windows 10 Enterprise multi-session, version 2004 + Microsoft 365 Apps – Gen1 as your baseline image. How the Virtual Desktop Optimization Tool works The (Windows) Virtual Desktop Optimization Tool disables services in the operating system that you most likely won’t need for your Windows Virtual Desktop session host. To make sure that your line-of-business (LOB) applications continue running as they should, there are some preliminary steps that should first performed. Note: There are settings default disabled when you run the scrip out of the box such as AppX Packages for the Windows Calculator. We strongly suggest analyzing the tool via the JSON files that include the default settings. This also gives you the opportunity to enable them before running the tool so they remain untouched. I'll explain more about this later on in the article. The full list of enhancements for native Windows services will be available soon. Bookmark Run and tune your Remote Desktop Services environment for the latest updates. Expected performance gains Windows Virtual Desktop value-added services provider and Microsoft partner LoginVSI performed early tests with the Virtual Desktop Optimization Too and gained over 100 users in their internal benchmarking lab environment with a Windows 10, version 2004 single session. We, therefore, assume that this gain will also be possible with Windows 10 Enterprise multi-session. VSImax asserts a maximum number of users that are able to log on to the virtual desktop hosts pool as part of the underlying infrastructure. That number is the "sweet spot" as going over that number will decrease performance for all users. (Thanks to LoginVSI for sharing these results with us.) Note: We recommend you use simulation tools to test your deployment using both stress tests and real-life usage simulations to ensure that your system is responsive and resilient enough to meet user needs Remember to vary the load size to avoid surprises. Desktops in the Cloud on Performance Optimizations for Windows Virtual Desktop with Robert and Tim (aka VDI Guys) We recently had the creators of the Virtual Desktop Optimization tool as guests on our Desktops in the Cloud video-podcast. Robert and Tim explained everything you should know, as well as best practices and lessons learned. A must watch in extension to this article. Watch it below. How to use the Virtual Desktop Optimization Tool The Virtual Desktop Optimization Tool makes it possible to disable uncommon services for virtual desktop environments, such as Windows Virtual Desktop. Note: We recommend that you run the script after the Sysprep (System Preparation) process, most likely as startup script w with a large set of virtual machines. This is due to the AppX Packages that conflict and most likely the sysprep will fail. Download all scripts from the Virtual-Desktop-Optimization-Tool GitHub repository. Select Clone or download, followed by Download ZIP. Unzip the folder to your Windows Virtual Desktop session host(s) to a specified folder (e.g. C:\Optimize or C:\Temp). Note: You could also run the scripts as part of your image management procedure e.g. Azure image Builder (AIB) or Azure DevOps. Important information before running the tool There are settings default disabled when you run the scrip out of the box such as AppX Packages for the Windows Calculator. We strongly suggest analyzing the tool via the JSON files that include the default settings. This also gives you the opportunity to enable them before running the tool so they remain untouched. You can find the JSON file in the Windows built number folder, under ConfigurationFiles - e.g. C:\Optimize\2004\ConfigurationFiles. You've to put the settings to Enabled - that you want to keep as default. Below is the example file for AppX Packages, there are JSON files for Services and scheduled tasks as well. Another option is to remove the while entry out of the JSON file. AppxPackages.json - Example Windows Calculator App { "AppxPackage": "Microsoft.WindowsCalculator", "VDIState": "Enabled", "URL": "https://www.microsoft.com/en-us/p/windows-calculator/9wzdncrfhvn5", "Description": "Microsoft Calculator app" }, Services.json - example Windows Update Service { "Name": "UsoSvc", "VDIState": "Enabled", "Description": "Update Orchestrator service, manages Windows Updates. If stopped, your devices will not be able to download and install the latest updates." }, Prepare to launch Windows PowerShell and select Run as Administrator. In PowerShell, change the directory to the folder to which you downloaded the scripts, e.g. C:\Optimize or your own specific folder. Run the following command: Set-ExecutionPolicy -ExecutionPolicy Bypass Run the Virtual Desktop Optimization Tool using the following command: .\Win10_VirtualDesktop_Optimize.ps1 -WindowsVersion 2004 -Verbose Note: When you use a different version of Windows 10, you must change the WindowsVersion parameter. Version 1803 and later are supported for Windows 10 Enterprise. Windows 10 multi-session support is only available with Windows 10, version 2004 and later. Select Yes when prompted to reboot the session hosts(s). Start your Windows Virtual Desktop session. As you can see in the Task Manager comparison below, the number of threads and handles has decreased noticeably after running the Virtual Desktop Optimization Tool. Do you have any problems with orphaned Start Menu shortcuts after running the tool? Have the user open Task Manager, then end the following two processes: ShellExperienceHost.exe StartMenuExperienceHost.exe Have them check the Start Menu and they should be gone. Happy optimizing! 🙂 Let us know your feedback on the tool in the comment section below. Prefer to watch and learn? There’s also a video on Azure Academy available later this week by Dean Cefola. You can find it here.170KViews11likes41CommentsHyper-V VM and Side-by-Side Stack Listener
I've successfully registered a windows 10 enterprise VM hosted on-prem with my AVD host pool but I'm having issues with the SxS Network Stack. Upgrade components seem to work out fine and no errors after RD Agent components upgrade. But the SxS Stack Listener does not show when running qwinsta.exe in PowerShell. I've uninstalled and reinstalled multiple times while confirming registry values are what they need to be per the troubleshooting guides (https://learn.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-vm-configuration#troubleshooting-issues-with-the-azure-virtual-desktop-side-by-side-stack). Is this just a matter of the AVD session host components not meant to work outside of desktops hosted directly in ARM? The FAQ doesn't explicitly state that desktops hosted outside of Azure shouldn't work. If there is supporting documentation on why this should not work, it would be great to have it public.1.4KViews0likes3CommentsInPlace Upgrade from Windows 10 to Windows 11 for VM v1 Types
Hello Community, I´m currently searching for a way to InPlace Upgrade Windows 10 to Windows 11. The Desktop-Image for the AVD Host is a VM with VM-Version 1. I already know that the basic need for a windows 11 installation is the activiation of TPM and secure boot. This can only be done with a VM in VM-Version 2. I already opened a microsoft ticket, but microsoft is telling me there is no way and we need to build new images with a fresh installation of windows 11. Is there already some knowledge in this community? Thank you in advance?7.8KViews1like5CommentsVirtual machine shutdown in Azure
Hello, I have been searching all over the internet to try and find a solution to a problem I got with some Virtual Machines in Azure. They are randomly shutting down and I can't find a solution to it, and I hope someone here can point me in the right direction. Currently got 4 virtual machines deployed: B2MS - Windows 10 Pro - With Office and Microsoft Nav 2009R2 installed - Domain joined with Azure AD DS The machines is shutting down randomly, up to 7-8 times a day. This is the information I am getting from the eventlog: Loggnavn: System Kilde: User32 Dato: 07.02.2019 15:12:30 Hendelses-ID: 1074 Oppgavekategori:Ingen Nivå: Information Nøkkelord: Classic Bruker: S-1-5-21-3361540728-1458010002-743927306-1111 Datamaskin: VDI3.lorentzen.no Beskrivelse: Prosessen C:\Windows\System32\RuntimeBroker.exe (VDI3) has initiated Shutdown for computer VDI3 on behalf of user domain\user for the following reason: Other (Unplanned) Årsakskode: 0x0 Avslutningstype: Shutdown Kommentar: Hendelses-XML-fil: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="User32" Guid="{b0aa8734-56f7-41cc-b2f4-de228e98b946}" EventSourceName="User32" /> <EventID Qualifiers="32768">1074</EventID> <Version>0</Version> <Level>4</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8080000000000000</Keywords> <TimeCreated SystemTime="2019-02-07T14:12:30.413409200Z" /> <EventRecordID>8934</EventRecordID> <Correlation /> <Execution ProcessID="492" ThreadID="508" /> <Channel>System</Channel> <Computer>VDI3.lorentzen.no</Computer> <Security UserID="S-1-5-21-3361540728-1458010002-743927306-1111" /> </System> <EventData> <Data Name="param1">C:\Windows\System32\RuntimeBroker.exe (VDI3)</Data> <Data Name="param2">VDI3</Data> <Data Name="param3">Other (Unplanned)</Data> <Data Name="param4">0x0</Data> <Data Name="param5">Shutdown</Data> <Data Name="param6"> </Data> <Data Name="param7">LORENTZEN\radek</Data> </EventData> </Event> (I have translated the important parts of the event log) I have googled as much as I can and I have tried the following fixes. Disable automatic Windows update Manually updated windows Disable TimeBrokerSvc in regedit Turned of every option like "Download updates from other computers" Ran stresstest to see if it triggers on high CPU usage Killed the RuntimeBroker process I have ran out of ideas and the customer is starting to get annoyed by the random shutdowns. Anyone that have experienced this either on-premises or in Azure and anyone know what the problem can be? Thanks in advance.1.7KViews0likes2CommentsAzure Windows 10 vm available for non-msdn user?
Hi all, We are using Pay-As-You-Go subscription as far as i know windows 10 is not available non-msdn But now i am little confused about the product https://azuremarketplace.microsoft.com/en-us/marketplace/apps/Microsoft.Windows10RS3Prox64-ARM?tab=Overview in azure market place Can anyone please explain to me this product also belongs to msdn subscription or its actually available for PAYG subscription? Thanks Nihal1.7KViews0likes1CommentWindows 10 virtual machine in Azure (non MSDN)
I'm going to throw this post here for want of a better place, but it kind of crosses Azure, MSDN and Microsoft Action Pack benefits. I'm frustrated about the process I need to take to create a Windows 10 virtual machine in Azure. I'm a Microsoft Partner with an Action Pack subscription but not an MSDN sub (we're not developers). The only Win 10 image in the Azure gallery requires an MSDN subscription. Action Pack entitles me to $100 a month of Azure credit and I can also download and license Windows 10 Enterprise. But to create a Win 10 VM in Azure, I have to download the iso, build the VHDs and then suck them up to Azure. Is there any chance that Microsoft would consider a Win10 Azure gallery image for Action Pack subscribers? I don't really want to have to purchase a MSDN sub as well for a short term testing use case, especially when I'm licensed to run it on-prem but just not as easily in the Cloud. -Sonia7.7KViews4likes2Comments