Тёмный

AVD Optimizations Nuff Said! | Azure Virtual Desktop #05 

Azure Academy
Подписаться 59 тыс.
Просмотров 9 тыс.
50% 1

Опубликовано:

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 90   
@ExpertInvisible
@ExpertInvisible 4 года назад
The introduction is amazing, and of course, the script is extraordinary. Thank you so much for sharing such a tremendous knowledge with us...
@AzureAcademy
@AzureAcademy 4 года назад
👍☺️ thanks Adeel, please share, retweet and help The Azure Academy to go viral 🤗😎
@tharagz08
@tharagz08 4 года назад
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
@AzureAcademy
@AzureAcademy 4 года назад
Awesome...thanks for recommencing The Azure Academy to others!
@pauljoneseyboy9615
@pauljoneseyboy9615 4 года назад
These videos have boosted my career. Thank you!
@AzureAcademy
@AzureAcademy 4 года назад
Awesome Paul, thanks for sharing!
@akrytus
@akrytus 3 года назад
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?
@AzureAcademy
@AzureAcademy 3 года назад
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
@andyschluter6840
@andyschluter6840 4 года назад
omg... what an Intro... wao :-) nice vid as usual.
@AzureAcademy
@AzureAcademy 4 года назад
Thanks Andy! What else are you interested in...if I haven’t made the video yet...I can 🤔
@bhushangawale3252
@bhushangawale3252 4 года назад
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?
@AzureAcademy
@AzureAcademy 4 года назад
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.
@sethzwicker3631
@sethzwicker3631 4 года назад
Great video! Thanks! Is there a way to incorporate this, or the ARM templates in general if we already have a populated image that's been sysprepp'd?
@AzureAcademy
@AzureAcademy 4 года назад
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
@ImMarkyB
@ImMarkyB 4 года назад
What on earth is that Intro all about? i'm a sim racer and IT guy but man... That was like crossing the streams! - Great video though :)
@AzureAcademy
@AzureAcademy 4 года назад
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.
@RobFahndrich1
@RobFahndrich1 3 года назад
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.
@AzureAcademy
@AzureAcademy 3 года назад
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.
@ahmadhalaby2011
@ahmadhalaby2011 3 года назад
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
@AzureAcademy
@AzureAcademy 3 года назад
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.
@alessandromiron7730
@alessandromiron7730 4 года назад
Absolutely good work. Please can you do a video with GPO Best practices for WVD? Or can you tell me some links for this. Thanks
@AzureAcademy
@AzureAcademy 4 года назад
several GPOs for WVD I recommend. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5aK6BoXcZnU.html
@alessandromiron7730
@alessandromiron7730 4 года назад
@@AzureAcademy Thanks for your reply. I already see that video some time ago and i didn't remember :)
@AzureAcademy
@AzureAcademy 4 года назад
no worries
@Tom-tf9xh
@Tom-tf9xh 4 года назад
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
@AzureAcademy 4 года назад
Not sure what you mean “multiple spaces” can you clarify or give me an example?
@Tom-tf9xh
@Tom-tf9xh 4 года назад
@@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?
@AzureAcademy
@AzureAcademy 4 года назад
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
@Tom-tf9xh
@Tom-tf9xh 4 года назад
@@AzureAcademy Thanks for this & sorted now - needed to setup email discovery properly.. knew it would be something simple
@AzureAcademy
@AzureAcademy Год назад
👍👍
@testaaa88
@testaaa88 2 года назад
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)
@AzureAcademy
@AzureAcademy 2 года назад
This download comes from GitHub I believe…so I would open the link and download it directly if you can
@testaaa88
@testaaa88 2 года назад
@@AzureAcademy Thank your reply, specifically I'm just using the function that launches the script locally (C:\optimization\)
@AzureAcademy
@AzureAcademy 2 года назад
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
@deepakguptasre90
@deepakguptasre90 4 года назад
Dean, Can't we run this script during master image creation (before sysprep)? If not, then why?
@AzureAcademy
@AzureAcademy 4 года назад
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
@owaiskharni5997
@owaiskharni5997 3 года назад
Hi Dean, I was unable to run the script, its failing with errors, I have downloaded from the Git link you shared
@AzureAcademy
@AzureAcademy 3 года назад
The script may have errors when it runs but does the script complete? Or does it stop with an error
@owaiskharni5997
@owaiskharni5997 3 года назад
@@AzureAcademy yes the script got completed with errors, is it normal, can I use it.
@AzureAcademy
@AzureAcademy 3 года назад
It depends on the error. Did the script finish successfully? Did you reboot after that?
@bloodmasto123
@bloodmasto123 4 года назад
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!
@AzureAcademy
@AzureAcademy 4 года назад
Good question...I believe you Edit the .json docs to allow those apps and rerun the PowerShell script
@CanalDoFarat
@CanalDoFarat 4 года назад
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
@AzureAcademy
@AzureAcademy 4 года назад
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
@omaroe666
@omaroe666 4 года назад
Are you getting a regedit access error? it failed on row 189 for me...
@AzureAcademy
@AzureAcademy 4 года назад
he @Vanitas, no I am NOT getting that error
@PopNFreshIsMe
@PopNFreshIsMe 4 года назад
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
@AzureAcademy
@AzureAcademy 4 года назад
I do not...please put in a comment on the virtual desktop team hit hub repo to fix this issue
@PopNFreshIsMe
@PopNFreshIsMe 4 года назад
@@AzureAcademy Done, thanks!
@AzureAcademy
@AzureAcademy 4 года назад
👍
@ace00007
@ace00007 4 года назад
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.
@AzureAcademy
@AzureAcademy 4 года назад
👍
@ROG1045
@ROG1045 3 года назад
Hi Dean, thanks for the post. Can you also share optimizations for RDSH based on win server 2019 session hosts?
@AzureAcademy
@AzureAcademy 3 года назад
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
@457anand
@457anand 2 года назад
Cant we incorporate as a scheduled task and make it run during start up
@AzureAcademy
@AzureAcademy 11 месяцев назад
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
@minaerian6881
@minaerian6881 3 года назад
Is there a way to roll back after running the script?
@AzureAcademy
@AzureAcademy 3 года назад
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
@wedikifle
@wedikifle 4 года назад
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.
@AzureAcademy
@AzureAcademy 4 года назад
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
@wedikifle
@wedikifle 4 года назад
@@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!
@andyhewitt9866
@andyhewitt9866 4 года назад
@@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)".
@wedikifle
@wedikifle 4 года назад
@@andyhewitt9866 Thanks for your help. That worked!
@AzureAcademy
@AzureAcademy Год назад
Awesome
@jeetu12iu
@jeetu12iu Год назад
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
@AzureAcademy
@AzureAcademy Год назад
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
@jeetu12iu
@jeetu12iu Год назад
May use optimisation tool from vmware which gives those capabilities… may be avd tool can add those features
@AzureAcademy
@AzureAcademy Год назад
I will pass your request to the product team
@jeetu12iu
@jeetu12iu Год назад
@@AzureAcademy thank your thats would be a great help
@AzureAcademy
@AzureAcademy Год назад
👍👍
@PaulShadwell
@PaulShadwell 4 года назад
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?
@AzureAcademy
@AzureAcademy 4 года назад
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.
@457anand
@457anand 2 года назад
Hello dean, can u pls help me with win2016 image optimizer for AVD..if am using win2016, am not able to find optimizer
@AzureAcademy
@AzureAcademy 2 года назад
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
@457anand
@457anand 2 года назад
@@AzureAcademy ok thanks...can we use the existing script for win 2016?
@AzureAcademy
@AzureAcademy 2 года назад
I have not scene support for windows server…I suggest trying it on a test VM, but don’t hey your hopes up
@AlinneaSilva
@AlinneaSilva 5 месяцев назад
this is still good to use today?
@AzureAcademy
@AzureAcademy 5 месяцев назад
Absolutely! It’s even part of Custom Image Templates - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QxRb9sV3tHU.htmlsi=NBSQAj_NDogCvw-J
@ariepekar
@ariepekar 3 года назад
Has this been tested on 20H2?
@AzureAcademy
@AzureAcademy 3 года назад
I have tested it on 20H2 and I have done it with 3 customers this week...so far no issues I have found
@19763862
@19763862 4 года назад
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?
@19763862
@19763862 4 года назад
Sorry Dean - just saw the 8.38 section and it can't be incorporated at this stage.
@AzureAcademy
@AzureAcademy 4 года назад
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
@AzureAcademy
@AzureAcademy 4 года назад
no worries!
Далее
Most Admins Don’t Even Realize THIS Is In Azure
6:44
3 Biggest Mistakes AVD Admins Make (Easy, Simple Fix)
16:07
Только ЕМУ это удалось
01:00
Просмотров 2,9 млн
The SECRET to FSLogix | Azure Virtual Desktop
14:18
Просмотров 33 тыс.
Take The RDP Short Path | Windows Virtual Desktop
11:36
New AVD Admin Portal | Azure Virtual Desktop - #01
21:26
18 Weird and Wonderful ways I use Docker
26:18
Просмотров 342 тыс.
Optimizing Microsoft Teams on Azure Virtual Desktop
33:43
Только ЕМУ это удалось
01:00
Просмотров 2,9 млн