Forum Discussion

Jason Beckett's avatar
Jason Beckett
Copper Contributor
May 04, 2021
Solved

Create FSLogix profiles via command?

The microsoft.com/learn path (https://docs.microsoft.com/en-us/learn/modules/m365-optimize-wvd/3-provision-fslogix) 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

1 Reply

  • JereVirta's avatar
    JereVirta
    Copper Contributor
    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

Resources