Share via

Hide VM from Users

Handian Sudianto 7,241 Reputation points
2025-12-26T16:07:45.1+00:00

On HyperV can we hide a vm so example only user1 can view and manage this vm but hide this vm for other users?

Azure Local
0 comments No comments

1 answer

Sort by: Most helpful
  1. Ankit Yadav 14,455 Reputation points Microsoft External Staff Moderator
    2025-12-26T16:54:06.1366667+00:00

    Hey @Handian Sudianto !

    Unfortunately, Hyper-V doesn't have a built-in feature to natively restrict visibility of a VM to specific users directly. However, you can achieve a similar effect using a combination of user permissions and by managing access at the host level.

    Here's what you might consider doing:

    1. User Permissions: Ensure that only certain users have access to its management and operations. This can involve creating custom roles with limited capabilities in Hyper-V.
    2. Delegating Control: If you're using Windows Server with Active Directory, you can delegate control over specific VMs to user1 while removing or limiting permissions for other users. This can be done in the Hyper-V Manager by right-clicking the VM, going to "Settings", and looking into delegation settings.
    3. Using Windows Security: Modify the security settings on the folder where the VM files are stored, ensuring that only user1 has permissions to access those files.
    4. Scripts: Consider using PowerShell scripts to manage which users can connect remotely to the Hyper-V host. Only allow user1's account by adjusting group memberships.

    Relevant Documentation:


    Please do not forget to click "Accept Answerā€ and Yes, this can be beneficial to other community members.

    User's image

    If you have any other questions, let me know in the "comments" and I would be happy to help you.

    Was this answer helpful?


Your answer

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