I have an "Access Denied" on certain files

Hakim Yusof 20 Reputation points
2026-08-21T01:54:17.13+00:00

After my virtual machine was saved, I now have Access Denied errors on my .bin and .vsv files. How do I get the default permissions back?

Windows for business | Windows 365 Enterprise

1 answer

Sort by: Most helpful
  1. Allan Solomon Mejia 5,420 Reputation points
    2026-08-21T21:28:34.02+00:00

    Hello @Hakim Yusof

    If the issue started after you saved/restored the VM, I would avoid resetting permissions on the .bin and .vsv files until you identify which Hyper-V component owns them.

    Those extensions are associated with the saved state of a Hyper-V virtual machine on older Hyper-V versions. Access to the VM files isn't determined only by your administrator account; Hyper-V also relies on permissions granted to the VM's security identity.

    First, check the existing ACLs rather than replacing them:

    icacls "D:\VMs\<VM-folder>"
    

    and specifically:

    icacls "D:\VMs\<VM-folder>\*.bin"
    icacls "D:\VMs\<VM-folder>\*.vsv"
    

    If you copied the VM files, restored them from backup, or moved them manually, Hyper-V permissions may not have been preserved.

    Microsoft documents that Hyper-V virtual machines have a unique VM ID and that the VM's virtual account may require access to its files. The identity follows this format:

    NT VIRTUAL MACHINE<VM-GUID>

    You can obtain the VM ID with PowerShell:

    Get-VM -Name "<VMName>" | Select-Object Name, VMId
    

    If you determine that the VM identity is missing from the affected files/folder, the permission can be restored with icacls, for example:

    icacls "D:\VMs\<VM-folder>" /grant "NT VIRTUAL MACHINE\<VM-GUID>":(OI)(CI)F /T
    

    However, don't run this blindly against the entire Hyper-V storage location. Apply it only to the affected VM after confirming its VM ID and current ACLs.

    Also check the Hyper-V-VMMS/Admin event log:

    Event Viewer > Applications and Services Logs > Microsoft > Windows > Hyper-V-VMMS > Admin

    If this is a Hyper-V permission problem, you will commonly find an event identifying the exact file/path for which access was denied.

    One more distinction: if you personally get Access Denied while browsing or deleting .bin/.vsv files but the VM starts and runs normally, that doesn't necessarily mean the Hyper-V permissions are broken. Hyper-V manages those files, and you shouldn't normally manipulate them while the VM or its saved state is in use.

    If you can provide the Windows Server/Hyper-V version, whether the VM was moved/restored/copied, and the output of:

    icacls "<path-to-the-affected-file>"
    

    and the relevant Hyper-V-VMMS event, we can determine whether this is actually a lost VM ACL or simply expected protection of an active saved-state file.

    Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.

    Was this answer helpful?

    0 comments No comments

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.