Thank you so much! I had done this step by step but my vhd got messed up so I figured it would be better to rebuild than trying to troubleshoot (since I spent a lot of time troubleshooting). This saved me so much time when I needed it. I ran across the error "Cannot install for all users when a VDI environment is not detected" when installing Teams but was able to fix by using the following: # create registry key and value for WVDEnvironment New-Item -Path "HKLM:\SOFTWARE\Microsoft" -Name "Teams" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Teams" -Name "IsWVDEnvironment" -Value 1 -Force
Thank you so much! I had done this step by step but my vhd got messed up so I figured it would be better to rebuild than trying to troubleshoot (since I spent a lot of time troubleshooting). This saved me so much time when I needed it. I ran across the error "Cannot install for all users when a VDI environment is not detected" when installing Teams but was able to fix by using the following:
# create registry key and value for WVDEnvironment
New-Item -Path "HKLM:\SOFTWARE\Microsoft" -Name "Teams" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Teams" -Name "IsWVDEnvironment" -Value 1 -Force
Perfect, Great Work, but the Vm created from captured image retain old hostname, did you have any idea ? Thanks
great work!
The video is not clear. Seems recorded from a mobile