AVD Optimizations Nuff Said! | Azure Virtual Desktop #05

แชร์
ฝัง

ความคิดเห็น • 90

  • @ExpertInvisible
    @ExpertInvisible 4 ปีที่แล้ว +3

    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 ปีที่แล้ว +2

      👍☺️ thanks Adeel, please share, retweet and help The Azure Academy to go viral 🤗😎

  • @tharagz08
    @tharagz08 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Awesome...thanks for recommencing The Azure Academy to others!

  • @pauljoneseyboy9615
    @pauljoneseyboy9615 4 ปีที่แล้ว +4

    These videos have boosted my career. Thank you!

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      Awesome Paul, thanks for sharing!

  • @andyschluter6840
    @andyschluter6840 4 ปีที่แล้ว +3

    omg... what an Intro... wao :-) nice vid as usual.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      Thanks Andy!
      What else are you interested in...if I haven’t made the video yet...I can 🤔

  • @ImMarkyB
    @ImMarkyB 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      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.

  • @bhushangawale3252
    @bhushangawale3252 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      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.

  • @akrytus
    @akrytus 2 ปีที่แล้ว +1

    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  2 ปีที่แล้ว +2

      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

  • @sethzwicker3631
    @sethzwicker3631 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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

  • @ahmadhalaby2011
    @ahmadhalaby2011 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      several GPOs for WVD I recommend.
      th-cam.com/video/5aK6BoXcZnU/w-d-xo.html

    • @alessandromiron7730
      @alessandromiron7730 4 ปีที่แล้ว +1

      @@AzureAcademy Thanks for your reply. I already see that video some time ago and i didn't remember :)

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      no worries

  • @RobFahndrich1
    @RobFahndrich1 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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.

  • @PopNFreshIsMe
    @PopNFreshIsMe 4 ปีที่แล้ว +2

    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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      👍

  • @deepakguptasre90
    @deepakguptasre90 4 ปีที่แล้ว +1

    Dean, Can't we run this script during master image creation (before sysprep)? If not, then why?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      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

  • @testaaa88
    @testaaa88 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      This download comes from GitHub I believe…so I would open the link and download it directly if you can

    • @testaaa88
      @testaaa88 2 ปีที่แล้ว +1

      @@AzureAcademy Thank your reply, specifically I'm just using the function that launches the script locally (C:\optimization\)

    • @AzureAcademy
      @AzureAcademy  2 ปีที่แล้ว +1

      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

  • @ROG1045
    @ROG1045 3 ปีที่แล้ว +1

    Hi Dean, thanks for the post. Can you also share optimizations for RDSH based on win server 2019 session hosts?

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      Cant we incorporate as a scheduled task and make it run during start up

    • @AzureAcademy
      @AzureAcademy  11 หลายเดือนก่อน +1

      you sure can...let me know how it goes 😁
      or you could try Custom Image Templates...which does it FOR YOU...watch this!
      th-cam.com/video/QxRb9sV3tHU/w-d-xo.html

  • @bloodmasto123
    @bloodmasto123 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      Good question...I believe you Edit the .json docs to allow those apps and rerun the PowerShell script

  • @minaerian6881
    @minaerian6881 3 ปีที่แล้ว +1

    Is there a way to roll back after running the script?

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +1

      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

  • @owaiskharni5997
    @owaiskharni5997 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      The script may have errors when it runs but does the script complete? Or does it stop with an error

    • @owaiskharni5997
      @owaiskharni5997 3 ปีที่แล้ว +1

      @@AzureAcademy yes the script got completed with errors, is it normal, can I use it.

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +1

      It depends on the error.
      Did the script finish successfully?
      Did you reboot after that?

  • @Tom-tf9xh
    @Tom-tf9xh 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      Not sure what you mean “multiple spaces” can you clarify or give me an example?

    • @Tom-tf9xh
      @Tom-tf9xh 4 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      @@AzureAcademy Thanks for this & sorted now - needed to setup email discovery properly.. knew it would be something simple

    • @AzureAcademy
      @AzureAcademy  ปีที่แล้ว +1

      👍👍

  • @wedikifle
    @wedikifle 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@andyhewitt9866
      Thanks for your help. That worked!

    • @AzureAcademy
      @AzureAcademy  ปีที่แล้ว +1

      Awesome

  • @ariepekar
    @ariepekar 3 ปีที่แล้ว +1

    Has this been tested on 20H2?

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +2

      I have tested it on 20H2 and I have done it with 3 customers this week...so far no issues I have found

  • @AlinneaSilva
    @AlinneaSilva 4 หลายเดือนก่อน +1

    this is still good to use today?

    • @AzureAcademy
      @AzureAcademy  4 หลายเดือนก่อน +1

      Absolutely! It’s even part of Custom Image Templates - th-cam.com/video/QxRb9sV3tHU/w-d-xo.htmlsi=NBSQAj_NDogCvw-J

  • @jeetu12iu
    @jeetu12iu ปีที่แล้ว +1

    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

      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 ปีที่แล้ว +1

      May use optimisation tool from vmware which gives those capabilities… may be avd tool can add those features

    • @AzureAcademy
      @AzureAcademy  ปีที่แล้ว +2

      I will pass your request to the product team

    • @jeetu12iu
      @jeetu12iu ปีที่แล้ว +1

      @@AzureAcademy thank your thats would be a great help

    • @AzureAcademy
      @AzureAcademy  ปีที่แล้ว +1

      👍👍

  • @457anand
    @457anand 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@AzureAcademy ok thanks...can we use the existing script for win 2016?

    • @AzureAcademy
      @AzureAcademy  2 ปีที่แล้ว +1

      I have not scene support for windows server…I suggest trying it on a test VM, but don’t hey your hopes up

  • @CanalDoFarat
    @CanalDoFarat 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      Are you getting a regedit access error? it failed on row 189 for me...

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      he @Vanitas, no I am NOT getting that error

  • @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 ปีที่แล้ว +1

      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.

  • @19763862
    @19763862 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Sorry Dean - just saw the 8.38 section and it can't be incorporated at this stage.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      no worries!