WVD User - how to provide profiles share to users automatically

Brass Contributor

When working with FSLogix I have - among other things - to provide a file share, assign a letter to it and have to set the access permissions in a proper way. That is described here: https://docs.microsoft.com/en-us/learn/modules/m365-optimize-wvd/provision-fslogix

 

In detail:

net use Z: [converted SMB path used in VHDLocations in the registry] [Access Key]

Icacls Z: /grant [End user UPN]:(f)

 

How do these commands need to be included in the VM or at boot time so that they are automatically executed when a normal user logs on? Is there step-by-step guide for this available?

 

We have several dozen user changes per day. With manual login and logout to each VM for each user, this is not possible. So I need an automatic process for this.

 

1 Reply

 

Hi @Robert K,

 

here you find Enable Active Directory authentication over SMB for Azure file shares (azuread also possible or you install windows fileserver) https://docs.microsoft.com/de-de/azure/storage/files/storage-files-identity-auth-active-directory-en...

 

when you created azure file share and assigned permissions than you can use fslogix.admx to set the fileshare. you do not need this skript running at every login.