How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

      Comments Off on How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

121621 1923 HowtofixHyp1 - How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

If you try to start a Hyper-V VM but failed, the error message shows Account does not have permission to open attachment VHDX General access denied error, don’t panic, today I am going to show you how to fix it.

1.Right-click the VHDX file, select Properties, review the Security permission, you will notice the VM SID is missing.

121621 1923 HowtofixHyp2 - How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

2.On the Error message page, click See details.

121621 1923 HowtofixHyp3 - How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

2.Take note for the virtual machine ID.

3.You also can use PowerShell cmdlet to check the virtual machine ID.

4.Open PowerShell as Administrator.

5.Run following cmdlet to check virtual machine ID for the virtual machine.

Get-VM ‘virtual machine name’ | Select Object VMID

121621 1923 HowtofixHyp4 - How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

6.Run following cmdlet to give the virtual machine ID to access VHDX file.

icacls <path of .vhd or .avhd file> /grant ‘Virtual Machine ID’:F

121621 1923 HowtofixHyp5 - How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

7.Verify the Security permission again to make sure the VMID has permission to access the VHDX file now.

121621 1923 HowtofixHyp6 - How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to fix Hyper-V VM failed to start-Account does not have permission to open attachment VHDX General access denied error

Author: Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
Blog:
http://www.carysun.com http://www.checkyourlogs.net
Twitter:@SifuSun

About Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA Blog: http://www.carysun.com http://www.checkyourlogs.net Twitter:@SifuSun