SOLVED

Create FSLogix profiles via command?

Copper Contributor

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? 

1 Reply
best response confirmed by Jason Beckett (Copper Contributor)
Solution
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-fsl...

- Jere

1 best response

Accepted Solutions
best response confirmed by Jason Beckett (Copper Contributor)
Solution
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-fsl...

- Jere

View solution in original post