Forum Discussion

Robert K's avatar
Robert K
Brass Contributor
Apr 02, 2020

WVD User - how to provide profiles share to users automatically

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.

 

Resources