Forum Discussion
Jason Beckett
May 04, 2021Copper Contributor
Create FSLogix profiles via command?
The microsoft.com/learn path (Create FSLogix profile for Windows Virtual Desktop users) for WVD says to create FSLogix profiles you have to run the two commands:
net use Z: [SMB path used in VHDLocations in the registry] /u:Azure\[storage account name] [storage access key]
Icacls Z: /grant [user UPN]:(f)
Seriously? This can't possibly scale. What is done when you have a few hundred users accessing session hosts? Is this done through logon scripts?
- You should go with Group Policy when assigning the profile location to users.
Commands you showed are for setting permissions on the profile container and need to be done one time only.
Check out couple of videos by Azure Academy from Youtube:
https://youtu.be/ffZZGVTYHFk
https://youtu.be/nDLKlFIAOc8
and of course it's recommended to go throught documentation at Micrososoft Docs -site:
https://docs.microsoft.com/en-us/azure/architecture/example-scenario/wvd/windows-virtual-desktop-fslogix
- Jere
- JereVirtaCopper ContributorYou should go with Group Policy when assigning the profile location to users.
Commands you showed are for setting permissions on the profile container and need to be done one time only.
Check out couple of videos by Azure Academy from Youtube:
https://youtu.be/ffZZGVTYHFk
https://youtu.be/nDLKlFIAOc8
and of course it's recommended to go throught documentation at Micrososoft Docs -site:
https://docs.microsoft.com/en-us/azure/architecture/example-scenario/wvd/windows-virtual-desktop-fslogix
- Jere