When and how often to run script for accessing FSLogix profile container?

David Schrag 376 Reputation points
2021-03-04T21:29:12.74+00:00

I am trying to create a WVD host pool that will contain multiple VMs based on a golden image. The users in this host pool should have access to FSLogix profiles that are stored in Azure files.

At https://learn.microsoft.com/en-us/azure/virtual-desktop/create-profile-container-adds#get-the-storage-account-access-key, there are a series of commands that must be run to provide the correct user access from the VM to the share that houses the profile. I am thinking that I'll have to configure a startup script on my golden image so that any session host created from the image will run that whole series of commands each time it boots.

Am I thinking about this correctly or is there a better approach?

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,583 questions
FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
497 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. David Schrag 21 Reputation points
    2021-03-16T13:53:13.657+00:00

    Thanks. I still don't have it worked out just yet, especially when it comes to including a startup script for session hosts that are based on the golden image. I will come back and update this when I have it all working properly.

    1 person found this answer helpful.

  2. vipullag-MSFT 26,396 Reputation points
    2021-03-05T06:04:08.52+00:00

    @David Schrag

    Based on my understanding on your ask, this is actually a one time task and no need to set up a login script.
    Pls also refer to this link.

    Please let me know if there is anything I am missing to help you assist you better.

    Hope this helps.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    Disclaimer: This response contains a reference to a third party World Wide Web site.

    Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    0 comments No comments

  3. Karlie Weng 18,581 Reputation points Microsoft Vendor
    2021-03-05T06:31:26.56+00:00

    Hi @David Schrag

    This better to be confirmed with Fslogix product team , or contact with support team.

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. David Schrag 376 Reputation points
    2021-03-08T16:16:55.59+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.