Is it possible to hide the temporary storage in azure VM ?

Ajay P 21 Reputation points
2022-01-12T22:24:53.16+00:00

We have been facing issues with VM desktop users storing files in the temp drive of azure even though we have informed them multiple times not to store any data on the temp drive.
I wanted to know if there is a way to hide this drive from user so that they do not see it in the file explorer.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,991 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,573 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 111.1K Reputation points MVP
    2022-01-13T19:25:15.977+00:00

    Hi @Ajay P ,

    you can apply the settings hiding the drives in explorer in the local policy as well. An AD is not required but makes it easier to deploy the setting via GPO.
    Hiding the drive in Explorer doesn't affect the functionality of the VM OS. At least I haven't noticed that in any customer environment so far.

    Another option might be to use a VM SKU that doesn't have a temp drive. The statement of DipakSanadi-2633 isn't right. There are Azure VM SKUs available without a temp drive.
    Dv4 and Dsv4-series doesn't have a temp drive - https://learn.microsoft.com/en-us/azure/virtual-machines/dv4-dsv4-series
    Dv5 and Dsv5-series doesn't have a temp drive - https://learn.microsoft.com/en-us/azure/virtual-machines/dv5-dsv5-series

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Andreas Baumgarten 111.1K Reputation points MVP
    2022-01-12T22:33:47.873+00:00

    Hi @Ajay P ,

    this is doable using a GPO:
    https://learn.microsoft.com/en-us/troubleshoot/windows-client/group-policy/using-group-policy-objects-hide-specified-drives

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.

  2. Dipak Sanadi 1 Reputation point
    2022-01-13T14:22:46.803+00:00

    You cannot create a VM without the temporary storage

    0 comments No comments

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.