question

FranklinMuthuswamy-3295 avatar image
0 Votes"
FranklinMuthuswamy-3295 asked ·

How to remotely install FSlogix on all VMs in host pool with domain admin credentials

I have a WVD host pool with 20+ VMs in the pool. I want to enable user profiles using Azure storage. I authorized the storage in AD. Storing the user profiles requires FSlogix to be installed on all the VMs in the pool with domain admin credentials.
Right now, I have to take an RDP of the VMs individually from the PDC to install the FSlogix on them. When I try to have this installed using custom script extension on the portal, the tool gets installed with local admin privileges and hence storing and retrieving the user profiles in the storage doesn't work.
I need some way to automate the installation on all VMs remotely. GPO is not an option because it only pushes the software but it only gets installed when the user logs in.
I want to know how I can install the software on all the VMs (either in one go or using custom script extension on the VMs) with domain admin credentials. When I tried passing the credentials in 'Invoke-command' with custom script in extension, it failed with "Access denied" message

azure-virtual-desktopwindows-server-fslogix
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @FranklinMuthuswamy-3295

Please check if below answer help, If you have any further questions or concerns about this case, please let me know.

Thanks

0 Votes 0 ·

1 Answer

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered ·

Hi @FranklinMuthuswamy-3295 ,

maybe chocolatey is an option:

https://chocolatey.org/packages?q=fslogix

Chocolatey could be installed via Custom Script Extension.

 # Install chocolatey
 Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    
 # install FSLogix with chocolatey
 choco install fslogix -y


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.