question

SanthoshKumarS-7640 avatar image
0 Votes"
SanthoshKumarS-7640 asked SumanthMarigowda-MSFT rolled back

Map the Azure file share to a Windows drive- On VM level not basis on User level access

Folks, I need to provide mapped drive on one of the Azure VM, created the file share on storage account and completely setup is done. I could access the mapped drive on the VM after running powershell script on user level but i need to map the drive on VM level so that all the user connected to this VM can access the mapped drive.

The issue with the user level permission is we have to run the powershell script to all the users who have access to it.
is there any way we can setup?

Thanks in advance,
Santhosh

azure-storage-accountsazure-files
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered SumanthMarigowda-MSFT rolled back

@SanthoshKumarS-7640

There is one workaround which a user had success using. Please check this StackOverflow thread to see if it resolves your issue.

Hope this helps! If that doesn't resolve your issue or if you have further questions please let us know.



Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@deherman-MSFT This works but when you restart the server, the drive will disappear, this shouldn't happen!

0 Votes 0 ·

Can you try adding the /persistent:yes to the net use command to see if that resolves your issue?

0 Votes 0 ·