Very cool Dean. I'm going to run this in a test environment tonight and if it works well enough get it rolled to production next week. Can't wait to see the speed differences. Thank you again for taking your time to share all of these tips. Any time a colleague mentions implementing WVD in their environment I direct them to your channel here
Dean, great video as always. You mentioned that there is no way to run this through the portal (at the time of recording) and recommend using ARM templates. Now there appears to be an option when deploying a new host through the portal for an ARM template location. How can we use this to deploy the optimizer as a "Post update custom configuration" when deploying a new host in a host pool through the portal?
great question Aaron...I haven't tried that feature yet...so I will have to get back to you...but my first guess is that you can present and ARM Template with the custom script extension configured just like I do it from my GitHub deployment solution --> github.com/DeanCefola/Azure-WVD/tree/master/WVDTemplates/WVD-NewHost
Thanks for sharing another great video, this entire WVD series is super awesome. So in short, the script needs to be executed either while provisioning session hosts or once they are provisioned. Does it also add the value when it comes to pure remote app only scenario?
Yes sit does. Users still do the normal processes and registrations when a remote app is used so the WVD Optimization scripts will help those VMs perform better and increase density as well.
Yes I have done this on my GitHub You would need to change the image reference from the gallery image to use an image resource ID github.com/DeanCefola/Azure-WVD/tree/master/WVDTemplates/WVD-NewHost
LOL WVD Optimization means better performance for more users at once...so performance says to me speed which = this intro. A cool way to get your attention and check out the content...hope you liked it.
Good video and the script did what it said it would do. However, there were some things that were removed that are required by my users. I am not sure how to "undo" parts of the script. for example, people on my WVD box listen to their voicemails via Groove Music Player, I cannot seem to reinstall this from the store, when I do when I log off and back on, the app is gone. Are there some documents on how to "undo" some of the things that were changed so that they may work? I know this is probably a stupid question but I should have spent a little more time understanding what the users were using before I jumped in with the script. Also I did not see the massive reduction in login times either. Thank you.
Yeah...undo isn’t something the tool does well today. For the existing machines you need to install those apps or components by hand...so what I would do instead is redeploy. First You need to edit the json files to leave in the things you want, deploy a new vm, then run the scripts with your edits. Also go to the official GitHub repo and put in feedback to add undo features.
amazing video, but i still have a long black screen i beleive because im using fslogix container for users. is there any workaround to enhance the speed of user using fslogix
This is a known windows version issue...not FSLogix related docs.microsoft.com/en-us/troubleshoot/azure/virtual-desktop/windows-virtual-desktop-blank-screen#:~:text=Windows%20Virtual%20Desktop%20%28WVD%29%20users%20might%20encounter%20sign-in,AppReadiness%2C%20and%20multiple%20sessions%20signing%20in%20or%20out.
How do you set up the multiple spaces for different users on remote desktop app? I had a look and didn't see any documentation explaining it, but it's exactly what i need!
@@AzureAcademy Morning, thanks for getting back to me! I'm talking about your Remote Desktop setup - at 6:45 you have various emails available to login into your environment- I can't work out how to do that, It seems like I can only subscribe with one email address. I've definitely on the right version, 1.2.1186.0 but I'm guessing i'm missing something very obvious?
that is the WVD windows client. You can register multiple users in the client on the top right select the 3 dots and choose subscribe with URL and you can enter your email address or with the WVD URL
Hi, very interesting video but... I followed everything step by step, but I get as error: Failed to download all specified files. Exiting. Error Message: Unable to connect to the remote server\" Storage account permissiom? Or DNS problem (the VM has non-azure assigned DNS)
Ok so you downloaded and ran the code now you get an error connecting to a remote server…strange??? After the download I’m not aware of any other internet communications. I suggest asking the VDIGuys through this GitHub page…open an issue
When I talked to The Virtual Desktop Team they told me that there are some things that the Optimization code does that would not survive the sysprep and generalize process...so if you optimize then run sysprep you won’t get the full benefit
How do you reinstall the calulator, windows photo viewer, .. after the optimization? :) things like : Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} or Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” don't work anymore after the optimization is something i noticed. still great script, was just wondering if you know the solution (when i install alternative calculator or photo viewer software my problem is solved but i would prefer to use the default ones) thx!
I tried to run the script but it gave me an error to access regedit, strange because I'm running as an administrator. The script also didn't work as an extension
Strange you get an error when running as admin...are you using a custom image? Try a gallery image...if you get the same error You can provide feedback to the virtual desktop team GitHub repo
Loving all of your videos, especially the WVD series! The only problem I am seeing is an issue with orphaned shortcuts in the start menu for existing users for all of the apps that are removed, just as this person points out in this post. Any suggestions for how to clean that up? techcommunity.microsoft.com/t5/windows-virtual-desktop/windows-virtual-desktop-optimization-tool-now-available/m-p/1560074/highlight/true#M5070
I've seen this before as well. Great video and will be following. It seems like once the users have the short cut in their profile it still exists after the application is removed.
As far as I know there is no server optimization that is equivalent to the windows 10 optimizations…but I suggest you reach out to the Virtual Desktop Team on GitHub and see what they think
you sure can...let me know how it goes 😁 or you could try Custom Image Templates...which does it FOR YOU...watch this! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QxRb9sV3tHU.html
Yes and no...No, once you apply the script it is done and there is no auto roll back...and Yes you can roll back if you have snapshots of the VM before you apply the script
Hi Dean... as usual, great video. I ran the WVD Optimization script on a few session hosts in a lab setting, and I am happy with the performance boost. I am not sure if it is happening to others, but one thing I observed is that it seems to break Windows Update. When I try to run Windows Update on any of the session hosts that I ran the Optimization tool, it gives me the following error: "Something went wrong. Try to reopen Settings later." I have restarted the session hosts, waited a couple of days, the issue is still there. Can you please check Windows Update in your setting and let me know if it is happening in your environment as well? And more importantly (if it is not limited to my environment), if you can pass to the team that created the script so they can address the issue. Thank you.
Abe, generally I find that customers manage WVD in a rip and replace method rather than a patching method. This is because of the apps that are part of the gold image. So the process is to update the image and build new VMs and throw away old ones. In this context windows update would not be needed. If you want to keep using a traditional way of managing VMs, that is fine too. I suggest putting feedback into the virtual desktop team GitHub repo about windows update
@@AzureAcademy Thanks for the prompt response Dean. To be clear, we ran the optimization tool on a VM that we deployed from the master image (not directly on a session host), and just before adding it to the pool we tried to run Windows Update. That is when we realized that Windows Update was not working. We tested this a few times before and after applying the optimization, and we were able to confirm that the issue (of Windows Update not working) was related to the Optimization. Not sure if it is only with our image or not. I guess we will find out from others soon:-). Thanks for all what you do. I am a big fan of Azure Academy and what you do for the community. Keep it up!
@@wedikifle Looks like its a known thing and done on purpose, as i had same issue then found this on the github notes. Working for me now. The 2004 scripts, as currently configured, pause all updates, including Quality Updates. These settings do not affect Windows Defender, which gets it updates independently. If you want to allow your target machine(s) to contact Windows Update to download and apply updates, you can change the following group policy setting either locally, or in central group policy: Computer Configuration\Administrative Templates\Windows Components\Windows Update\Windows Update for Business\ Select when Quality Updates are received Not configured You would also want to reset the 'Update Orchestrator' service to it's initial setting of "Automatic (Delayed Start)".
hi buddy , is there a way to revert the changes if we land into issues by using AVD tools ? may be i am un aware but could not find a away to revert the changes done by This PS Script
1 simple script to Revert 100%…no So to get back to the original I would deploy a new VM and throw that one away Also modify the optimization files like I showed so you get the results you want on your next VM
After trying to troubleshoot an issue on my WVD hosts for a few days now, I'm wondering if optimisation has caused an issue. User no longer has local admin because the host no longer runs the AD Group Policies. User cannot change their Region and language or keyboard. Windows Update just sits and never updates. (white page on the Windows update pane in settings. Troubleshooting says that troubleshooting has been disabled by Group Policy (it hasn't, from AD at least) Am I getting close to the reason I'm having issues?
hey Paul...I am not sure...but if you think it may be because of the optimizations I would open an issue on The Virtual Desktop Team Github and see what they think.
There isn’t one. Unlike windows 10 or 11 windows server starts off as a minimal OS that you add features into. However since they are built on the same kernel and have much in common for services and scheduled tasks you might get some improvement…but I don’t think that much
Hey Dean - had run this prior to sysprep and per comments it didn't survive sysprep. Any way to incorporate running this when session host is being deployed using Custom Script Extension?
Yes...if you watch the video to the end I show how to run the script, how to deploy it with a custom extension and how to automate everything with an ARM template