HyperV General Access Denied Error _ Server Management 24x7 !

download HyperV General Access Denied Error _ Server Management 24x7 !

of 15

Transcript of HyperV General Access Denied Error _ Server Management 24x7 !

  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    1/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 1/19

    2 1

    HyperV General access denied error May 14, 2013 by: jdavid in: Cloud Solutions, Microsoft Azure, Microsoft Hyper-V, Server Management, Server Security, System

    SERVER MANAGEMENT SOLUTIONS

    Click To Google Search !

    Home Cloud Solutions Microsoft Azure Microsoft Hyper-V Server Management Server Security System Administration Team

    Management Time Management Web hosting Web Services Windows Servers HyperV General access denied error

    Search

    ABOUT US IT OPERATIONS SERVER MANAGEMENT TECHNICAL SUPPORT WEB SERVICES CLOUD SOLUTIONS

    http://servermanagement24x7.com/server-management/system-administrationhttp://servermanagement24x7.com/server-management/system-administrationhttp://servermanagement24x7.com/server-management/system-administrationhttp://servermanagement24x7.com/server-management/cloud-serviceshttp://servermanagement24x7.com/server-management/web-serviceshttp://servermanagement24x7.com/server-management/tech-supporthttp://servermanagement24x7.com/server-management/server-managementhttp://servermanagement24x7.com/server-management/it-operationshttp://servermanagement24x7.com/about-me.htmlhttp://servermanagement24x7.com/http://servermanagement24x7.com/server-management/windowshttp://servermanagement24x7.com/server-management/web-serviceshttp://servermanagement24x7.com/server-management/web-hostinghttp://servermanagement24x7.com/server-management/time-managementhttp://servermanagement24x7.com/server-management/team-managementhttp://servermanagement24x7.com/server-management/system-administrationhttp://servermanagement24x7.com/server-management/server-securityhttp://servermanagement24x7.com/server-management/server-managementhttp://servermanagement24x7.com/server-management/microsoft-hyper-vhttp://servermanagement24x7.com/server-management/microsoft-azurehttp://servermanagement24x7.com/server-management/cloud-serviceshttp://servermanagement24x7.com/http://servermanagement24x7.com/server-management/system-administrationhttp://servermanagement24x7.com/server-management/server-securityhttp://servermanagement24x7.com/server-management/server-managementhttp://servermanagement24x7.com/server-management/microsoft-hyper-vhttp://servermanagement24x7.com/server-management/microsoft-azurehttp://servermanagement24x7.com/server-management/cloud-serviceshttp://servermanagement24x7.com/108119864980911107648?rel=authorhttp://www.youtube.com/kjunodavidhttp://in.linkedin.com/in/junodavidkhttps://plus.google.com/108119864980911107648http://twitter.com/junodavidkhttp://facebook.com/juno.antonykhttp://feeds.feedburner.com/servermanagement24x7comhttp://servermanagement24x7.com/mailto:1
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    2/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 2/19

    Administration, Team Management, Time Management, Web hosting, Web Services, Windows Servers No Comment

    Welcome to the

    World of Linux Server Management, Windows Server Management, Kernel Programming, Ethical Hacking, Cloud Solutions, Vmware Vsphere

    ESXi, Xen Servers, Server hardening, Server administration etc.,

    Hyper-V virtual machines may not start, and you receive an error: General access denied error (0x80070005)

    A Hyper-V virtual machine may fail to start and you receive an error that resembles the

    following:

    An error occurred while attempting to start the selected virtual machine(s).VMName

    failed to start.Microsoft

    Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to

    Power on with Error General access

    denied errorIDE/ATAPI Account does not have sufficient privilege to open attachment

    E:\VMs\VMName\Disk0.vhd. Error: General access denied errorAccount does not have

    sufficient privilege to open attachment

    E:\VMs\VMName\Disk0.vhd. Error: General access denied errorIf you click See details, the following error is listed:

    VMName failed to start. (Virtual machine ID

    5FC5C385-BD98-451F-B3F3-1E50E06EE663)VMName Microsoft Emulated IDE Controller

    (Instance ID

    {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to Power on with Error General

    access denied error (0x80070005). (Virtual machine ID5FC5C385-BD98-451F-B3F3-1E50E06EE663)VMName: IDE/ATAPI Account does not have

    sufficient privilege to open attachment

    E:\VMs\VMName\Disk0.vhd. Error: General access denied error (0x80070005).(Virtual

    Machine ID 5FC5C385-BD98-451F-B3F3-1E50E06EE663)VMName: Account does not have

    sufficient privilege to open attachment

    E:\VMs\VMName\Disk0.vhd. Error: General access denied error (0x80070005). (Virtual

    Machine ID 5FC5C385-BD98-451F-B3F3-1E50E06EE663)Notes

    This error message references either the Microsoft Emulated IDE Controller or the

    Juno David Ant

    Follow

    Server Manageme

    + 27

    Follow +1

    40 people are followingJuno David Antony K. Be the first of your friends.Follow Send

    Be the first of your friends to like this.Like

    Find us on Facebook

    Server Management 24x7

    2,733 people like Server Management 24x7.

    Facebook social plugin

    Like

    Server Management 24x7

    via Red Hat - APAC

    October 26, 2013

    Red Hat partnersSingapore govt to pushopen source data analytics

    | ZDNet

    https://www.facebook.com/samuel.sekar.5https://www.facebook.com/beagle.swellinghttps://www.facebook.com/duraistalinhttps://www.facebook.com/sudheer.oletihttps://www.facebook.com/raju.vemahttps://www.facebook.com/elav.arasan.374https://www.facebook.com/vishvendras1https://www.facebook.com/aravindhan.thulasiraman.1https://www.facebook.com/ashikamigozhttps://www.facebook.com/sachin.suresh.77http://l.facebook.com/l.php?u=http%3A%2F%2Fwww.zdnet.com%2Fred-hat-partners-singapore-govt-to-push-open-source-data-analytics-7000021368%2F&h=LAQFh43DU&enc=AZN6GXoO8yLAGdcA_8_TIlknzBe2ojw7cJn8lX_EhoOvb0IdAFvWdO3oi5nSW3sw_-UfhjzbTSp22airgf685aIPRi9E1WWaAUjx6l2ZrR3IlKyn99kP4l7556Y6gS2GxUhgqi8dyIHR3d5l1ev1Ixo4YbKxmyU9Kt8kcHO6o4aRXA&s=1http://l.facebook.com/l.php?u=http%3A%2F%2Fwww.zdnet.com%2Fred-hat-partners-singapore-govt-to-push-open-source-data-analytics-7000021368%2F&h=iAQEcCpAaAQF9x_TGUHLvx7Azk7ZhwHOuA78uoNRrs12qtg&enc=AZPs7TFdvIZzw6YAfRWB-lHQF6q7RM-lQ1XZnZh_lov99t1tWcr8xN-8z2WvfDtHjd7hcJOfL7JRo84W_cLry-4_x8ReTjbMoEKsinQPxy60qzo3foDwuDu8bNba4GwugYAOqwlZBbBeAdnRG1gXM7xje9YXKZ6zhcn9V1mFMdI_ag&s=1https://www.facebook.com/ServerManagement24x7?ref=streamhttps://www.facebook.com/ServerManagement24x7https://www.facebook.com/help/?page=209089222464503https://www.facebook.com/ServerManagement24x7https://plus.google.com/108119864980911107648?prsrc=3https://plus.google.com/118080601971642225273?prsrc=5https://plus.google.com/108119864980911107648?prsrc=5http://servermanagement24x7.com/server-management/windowshttp://servermanagement24x7.com/server-management/web-serviceshttp://servermanagement24x7.com/server-management/web-hostinghttp://servermanagement24x7.com/server-management/time-managementhttp://servermanagement24x7.com/server-management/team-managementhttp://servermanagement24x7.com/server-management/system-administration
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    3/15

  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    4/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 4/19

    Back to the Hyper-V configuration wizard window, click Finish button.

    The same error popped up again; Failed to create external configuration store at .. Closethe error message window, then click Cancel

    button.

    In: Cloud Solutions, Microsoft Azure, Microsoft Hyper-

    V, Server Management, Server Security, System

    Administration, Team Management, Time Management,

    Web hosting, Web Services, Windows Servers No

    comments

    Hyper-V virtual machines may not start, and you

    receive an error: General access denied error

    (0x80070005) A Hyper-V virtual machine may fail to

    start and you receive an error that resembles thefollowing: An error occurred while attempting to start

    the selected virtual machine(s).VMName failed to

    start.Microsoft Emulated IDE Controller (Instance

    ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}):

    Failed to Power []

    CloudStack vs OpenStack In: Cloudstack, Openstack 9

    First of all, let us take a look at Google Trends and

    compare amount of search queries for OpenStack

    and CloudStack. Obviously, OpenStack is attracting

    more attention (red CloudStack; blue OpenStack).

    OpenStack has much wider community and tons of

    related articles. There are installation how-tos for all

    the major Linux distributions and all []

    Linux and Unix, OpenSource

    Interview Questions and

    Answers In: Careers, cPanel, Generic Solutions, Interview

    Questions, Linux, Server Management, Technical Support,

    Web hosting 1

    Linux and Unix, OpenSource Interview Questions and

    Answers Explain the booting process in linux The

    system BIOS checks the system and launches the first

    stage boot loader on the MBR of the primary hard

    disk. The Frist stage boot loader loads itself into

    memory and launches the second stage boot loader

    from the /boot/ partition. []

    How to configure Dual Php ortwo versions of php on a linux /

    http://servermanagement24x7.com/how-to-configure-dual-php-or-two-versions-of-php-on-a-linux-cpanel-server.htmlhttp://servermanagement24x7.com/linux-interview-questions.html#commentshttp://servermanagement24x7.com/server-management/web-hostinghttp://servermanagement24x7.com/server-management/tech-supporthttp://servermanagement24x7.com/server-management/server-managementhttp://servermanagement24x7.com/server-management/linuxhttp://servermanagement24x7.com/server-management/interview-questionshttp://servermanagement24x7.com/server-management/server-solutionshttp://servermanagement24x7.com/server-management/cpanelhttp://servermanagement24x7.com/server-management/careershttp://servermanagement24x7.com/linux-interview-questions.htmlhttp://servermanagement24x7.com/cloudstack-vs-openstack.html#commentshttp://servermanagement24x7.com/server-management/openstackhttp://servermanagement24x7.com/server-management/cloudstack-2http://servermanagement24x7.com/cloudstack-vs-openstack.htmlhttp://-/?-http://servermanagement24x7.com/server-management/windowshttp://servermanagement24x7.com/server-management/web-serviceshttp://servermanagement24x7.com/server-management/web-hostinghttp://servermanagement24x7.com/server-management/time-managementhttp://servermanagement24x7.com/server-management/team-managementhttp://servermanagement24x7.com/server-management/system-administrationhttp://servermanagement24x7.com/server-management/server-securityhttp://servermanagement24x7.com/server-management/server-managementhttp://servermanagement24x7.com/server-management/microsoft-hyper-vhttp://servermanagement24x7.com/server-management/microsoft-azurehttp://servermanagement24x7.com/server-management/cloud-serviceshttp://servermanagement24x7.com/how-to-configure-dual-php-or-two-versions-of-php-on-a-linux-cpanel-server.html
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    5/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 5/19

    Back to the virtual machine list, a empty virtual machine item is created.

    Go to its settings window.

    Give it a proper name, then click Apply window.

    cpanel server In: Linux, PHP 3

    This scenario is based on the assumption that you

    already have a linux cPanel server running with PHP

    version. It could either be PHP 5.2 or php 5.3.17 etc.,

    any version of your choice and you now plan to have

    the latest and higher version of php also installed

    and running from the same server []

    Linux and Unix Server

    Administration Sample

    Interview Questionnaire In: Interview Questions, Linux Sample Interview

    Ques tions No comments

    I have come upon many people searching the

    internet for sample interview questions and its

    answers on Linux Server Management. I have listed a

    few sample question as given below, but not the

    answers. Its upto you to find the answers. Lets see

    how many of you come up with the right answers.

    Sample Tests []

    How to install Varnish cache on

    cPanel and CentOS server to

    cache all static content and

    optimize performance In: cPanel, cPanel Server Management No

    commentsVarnish Cache is a web application accelerator also

    known as a caching HTTP reverse proxy. You install it

    in front of any server that speaks HTTP and configure

    it to cache the contents. Varnish Cache is really, really

    fast. It typically speeds up delivery with a factor of

    300 1000x, depending on your architecture. []

    Apachetuner.sh Apache

    Performance Tuning Script

    In: Apache, Performance Optimization Nocomments

    http://servermanagement24x7.com/how-to-configure-dual-php-or-two-versions-of-php-on-a-linux-cpanel-server.htmlhttp://servermanagement24x7.com/apachetuner-sh-apache-performance-tuning-script.html#commentshttp://servermanagement24x7.com/server-management/performance-optimizationhttp://servermanagement24x7.com/server-management/apachehttp://servermanagement24x7.com/apachetuner-sh-apache-performance-tuning-script.htmlhttp://servermanagement24x7.com/how-to-install-varnish-cache-on-cpanel-and-centos-server-to-cache-all-static-content-and-optimize-performance.html#commentshttp://servermanagement24x7.com/server-management/cpanel-server-management-2http://servermanagement24x7.com/server-management/cpanelhttp://servermanagement24x7.com/how-to-install-varnish-cache-on-cpanel-and-centos-server-to-cache-all-static-content-and-optimize-performance.htmlhttp://servermanagement24x7.com/linux-sample-interview-questions.html#commentshttp://servermanagement24x7.com/server-management/linux-sample-interview-questionshttp://servermanagement24x7.com/server-management/interview-questionshttp://servermanagement24x7.com/linux-sample-interview-questions.htmlhttp://servermanagement24x7.com/how-to-configure-dual-php-or-two-versions-of-php-on-a-linux-cpanel-server.html#commentshttp://servermanagement24x7.com/server-management/php-programming-php-tweaks-php-vulnerabilities-php-settingshttp://servermanagement24x7.com/server-management/linuxhttp://servermanagement24x7.com/how-to-configure-dual-php-or-two-versions-of-php-on-a-linux-cpanel-server.html
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    6/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 6/19

    It seems OK now. Then configure the other parts.

    Create a new virtual hard disk, then specify DVD drive and network drive.

    Apachetuner.sh is one of the best available apache

    performance tuning scripts available in the internet.

    This is mostly compatible with the Redhat and

    CentOS version / flavours of Linux Operating System.

    This script helps you to understand the current usage

    of your apache server, and then tune / optimize the

    server accordingly [crayon-

    5444844b3e12a965451606/] Link to []

    Windows Server 2003 Booting

    Process In: Windows Servers No comments

    Boot sequence for Windows NT, 2000, XP and 2003:

    BIOS: performs Power On Self Test (POST)

    BIOS: loads MBR from the boot device

    specified/selected by the BIOS MBR: contains a small

    amount of code that reads the partition table, the

    first partition marked as active is determined to be

    the system volume MBR: loads the boot sector fromthe []

    TERMS OF USE

    TOS - The information provided in this website is only

    for the general information purposes. The

    information is provided by the "Server Management

    24x7" Technical community members and while we

    try to ensure that the information is up to date and

    correct, we make no representations or warranties of

    any kind, express or implied, about the accuracy,

    reliability, suitability or availability with respect to the

    website or the information, products, services, or

    related graphics contained on the website for any

    purpose. Any reliance you place on such information

    is therefore strictly at your own risk.

    http://servermanagement24x7.com/terms-of-use-tos.htmlhttp://servermanagement24x7.com/windows-server-2003-booting-process.html#commentshttp://servermanagement24x7.com/server-management/windowshttp://servermanagement24x7.com/windows-server-2003-booting-process.html
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    7/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 7/19

    Below is the final settings.

    Done.

    This solution is far from perfect, but hopefully is good enough in most of cases.

    Solution 2:

    To resolve this issue, add the Virtual Machine SID to the virtual hard disk (.vhd) file or to the

    snapshot file (.avhd).To add the Virtual Machine SID to a .vhd or .avhd file, follow these steps:

    1. Note the Virtual Machine ID that is listed in the General access denied error(0x80070005) error message.

    e

  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    8/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 8/19

    2. For example, consider the following error message:

    3. VMName: IDE/ATAPI Account does not have sufficient privilege to open attachment

    E:\VMs\VMName\Disk0.vhd. Error: General access denied error (0x80070005). (Virtual

    Machine ID 5FC5C385-BD98-451F-B3F3-1E50E06EE663)In this example, the Virtual Machine ID is 5FC5C385-BD98-451F-B3F3-1E50E06EE663.

    4. Open an elevated command prompt.

    5. To give the Virtual Machine ID (SID) access to the .vhd or .avhd file, type the followingcommand, and then press ENTER:

    icacls /grant NT VIRTUAL MACHINE\:

    6. For example, to use the Virtual Machine ID that was noted in step 1, type the following

    command, and then press ENTER:

    icacls E:\VMs\VMName\Disk0.vhd /grant NT VIRTUAL MACHINE\5FC5C385-BD98-451F-

    B3F3-1E50E06EE663:F

    7. Start the virtual machine.If permissions are incorrect on the Hyper-V virtual machine configuration file (.xml file), the

    virtual machine will fail to start with the

    following error:

    Unnamed VM failed to initialize.An attempt to read or update the virtual machine

    configuration failed because access was denied.If you click See details, the following error is listed:

    Unnamed VM failed to initialize. (Virtual machine 7E77503A-A26B-4BB5-9846-

    396F49A30141)Unnamed VM failed to read or update

    the virtual machine configuration because access was denied: General access denied error

    (080070005). Check the security settings on

    the folder in which the virtual machine is stored. (Virtual machine 7E77503A-A26B-4BB5-9846-

    396F49A30141)To resolve this issue, perform the steps in the Resolution section to add the Virtual Machine

    SID to the .xml file.

    Example command to add the Virtual Machine SID to the .xml file:

    icacls E:\VMs\VMName\7E77503A-A26B-4BB5-9846-396F49A30141.xml /grant

  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    9/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 9/19

    NT VIRTUAL MACHINE\7E77503A-A26B-4BB5-9846-396F49A30141:F

    For more information about Hyper-V, visit the following Microsoft website:

    http://technet.microsoft.com/en-us/library/cc753637(WS.10).aspx

    How to recover Hyper-V Virtual Machine manually..

    One of these days I was testing one of my Hyper-Vsand because of a mistake of mine I

    removed all the VM associations to Hyper-Vmmc console and SCVMM

    Now what!!!!I knew that the supported way to add those machines back to the Hyper-V and

    SCVMM was through backup/Restore or

    I could import them using an previous export, but those machines were new VMs created

    only for the test propose, I had no backup

    or export of them.

    How to import them back? Ok, no panic, first thing to check is the files, are the VM files still inplace? Yes!!! Ok, that means not all is lost

    Note: The GUIDs mentioned here belong to my virtual machine, in your network the GUIDs will

    differ.

    How to recover Hyper-V Virtual Machine manually.

    1 Option:

    Easy enough, you create a new VM choose the option attach a virtual hard disk latter or Use

    an existing virtual hard disk and

    then map the VM to the disk used before by the other missing VM, of course, you can copy

    the disk to the new VM folder to keep

    all files together.

    Nah.. I need the VM configuration, those configurations were critical to my tests and I dont

    have the configuration paper with me.Lets try Option 2

    **************************************************************

    2 Option:

    First go to the missing VM folder\virtual Machines\ and take note

    http://technet.microsoft.com/en-us/library/cc753637%28WS.10%29.aspx
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    10/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 10/19

    of the file {GUID}.xml (In this scenario is the 71DB1869-534A-4B0B-B2B8-B89170FC0EF0.xml).

    Now open the Hyper-V mmc and create a new VM with the same name, and point the new VM

    to the same drive/folder where

    the missing VM is at.

    Choose the option attach a virtual hard disk latter and do a next, next, thing until you finish

    the VM creation process.

    http://1.bp.blogspot.com/_P760whlUXfE/SmOSEZEm9pI/AAAAAAAAAJ0/fIT6iXbWhXA/s1600-h/02.jpghttp://3.bp.blogspot.com/_P760whlUXfE/SmOSEtEHViI/AAAAAAAAAJ8/4FHnAoo8dTM/s1600-h/01.jpg
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    11/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 11/19

    Now go to the VM folder and under Virtual Machines folder you have 2 GUIds.xml, the

    original 71DB1869-534A-4B0B-B2B8-B89170FC0EF0.xml (that you take note in the first step)

    and the new (in this scenario)

    E5D8FBFC-4E01-4D48-AE95-1CF1630E2C24.xml that refers to the new VM (Note: The GUIDs

    that you have, will differ from these).

    The next step is to copy everything that is inside of the old 71DB1869-534A-4B0B-B2B8-

    B89170FC0EF0.xml to the

    new E5D8FBFC-4E01-4D48-AE95-1CF1630E2C24.xml, yes, everythingBasically youre

    replacing the contents of the

    new {GUID}.xml with data from the old one. Save the file with the same name in the same

    place replacing the existing one.

    http://2.bp.blogspot.com/_P760whlUXfE/SmOR9nhyp-I/AAAAAAAAAJk/a9vwUD4Z8pc/s1600-h/04.jpghttp://2.bp.blogspot.com/_P760whlUXfE/SmOR9_U9jpI/AAAAAAAAAJs/B7L7IqdaDwU/s1600-h/03.jpg
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    12/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 12/19

    Next step, open the E5D8FBFC-4E01-4D48-AE95-1CF1630E2C24.xml, and the replace

    everything that has

    the 71DB1869-534A-4B0B-B2B8-B89170FC0EF0with E5D8FBFC-4E01-4D48-AE95-

    1CF1630E2C24. Save the

    file replacing the existing one.

    Next step, copy the files that are inside the F:\VM01\Virtual Machines\71DB1869-534A-4B0B-

    B2B8-B89170FC0EF0to F:\VM01\Virtual Machines\E5D8FBFC-4E01-4D48-AE95-1CF1630E2C24, you must also

    http://2.bp.blogspot.com/_P760whlUXfE/SmOR9LU0GFI/AAAAAAAAAJU/8UWpS_wCZ50/s1600-h/06.jpghttp://2.bp.blogspot.com/_P760whlUXfE/SmOR9Q0HP5I/AAAAAAAAAJc/PwlT2OTcZzE/s1600-h/05.jpg
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    13/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 13/19

    rename the files (.bin and .vsv)

    that are inside that folder to match the new GUID.

    If you have snapshots, then you also need to rename some files and folders inside Snapshots

    folder. OpenVM01\Snapshots

    folder. Rename the folder VM01\Snapshots \71DB1869-534A-4B0B-B2B8-B89170FC0EF0 to

    VM01\Snapshots\E5D8FBFC-4E01-4D48-AE95-1CF1630E2C24. Then open the

    VM01\Snapshots\{GUIDofTheSnapshot}

    and rename the files inside that folder (.binand .vsv) to match the GUID of the new VM(If you

    have multiple snapshots, you haveto repeat the same process to each one).

    Now, open VM01\Snapshots\{GUIDofTheSnapshot}.xml and replace the values

    with 71DB1869-534A-4B0B-B2B8-B89170FC0EF0 with the new VM GUID E5D8FBFC-4E01-

    4D48-AE95-1CF1630E2C24.

    (If you have multiple snapshots, you have to repeat the same process to each one).

    Now is time to allow access to the Service SIDaccess to all files in VM01, from

    cmdline type:Icacls F:\VM01\ /T /grant NT VIRTUAL MACHINE\E5D8FBFC-4E01-4D48-AE95-

    1CF1630E2C24:(F)

    The last step is to manually create a symboliclinkand grant the proper permissions to eachindividual snapshot that has a {GUID}.

    http://1.bp.blogspot.com/_P760whlUXfE/SmOR83IE6eI/AAAAAAAAAJM/EJ8o3ww2JoU/s1600-h/07.jpg
  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    14/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 14/19

    xml inside the VM01\snapshots folder (in this case therere 2 snapshots)

    .Mklink C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\324E6E76-77EC-4671-

    9E25-3D4B5D3133BA.xml

    F:\VM01\Snapshots\324E6E76-77EC-4671-9E25-3D4B5D3133BA.xmlMklink C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\D6EC4773-75A6-49E7-

    84D2-3B619D1D450C.xml F:\VM01\Snapshots\D6EC4773-75A6-49E7-84D2-

    3B619D1D450C.xml

    Now give access permissions to the new VM Service SID access.

    Icacls C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\324E6E76-77EC-4671-

    9E25-3D4B5D3133BA.xml /grant NT VIRTUAL MACHINE\E5D8FBFC-4E01-4D48-AE95-

    1CF1630E2C24:(F) /L

    Icacls C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\D6EC4773-75A6-49E7-

    84D2-3B619D1D450C.xml /grant NT VIRTUAL MACHINE\E5D8FBFC-4E01-4D48-AE95-

    1CF1630E2C24:(F) /L

    Go to the settings of the VM01 and assign the proper Network switch.

    Start VM01 and youre DONE!!!!

    Are you NUTS!!!! Thats too much work for a VM recovery!!!! And if I had 20 VMs to recover, that

    process will take the entire month

    **************************************************************

    Option3:

    This method is simpler, well re-assign the missing Symbolic links and give permissions to the

    Service SID.Using Mklink,

    create the Symbolic link under C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual

    Machines

    Mklink C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\71DB1869-534A-

    4B0B-B2B8-B89170FC0EF0.xml

    F:\VM01\Virtual Machines\71DB1869-534A-4B0B-B2B8-B89170FC0EF0.xml

    Now give access permissions to the service SID to this Symbolic link.

    Icacls C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\71DB1869-534A-

    4B0B-B2B8-B89170FC0EF0.xml/grant NT VIRTUAL MACHINE\71DB1869-534A-4B0B-B2B8-

    B89170FC0EF0:(F) /L

  • 8/10/2019 HyperV General Access Denied Error _ Server Management 24x7 !

    15/15

    10/20/2014 HyperV General access denied error | Server Management 24x7 !

    http://servermanagement24x7.com/hyper-v-general-access-denied-error-0x80070005.html 15/19

    Then you need to give access permissions to the Service SID to all files in VM01Icacls F:\VM01\

    /T /grant NT VIRTUAL MACHINE\71DB1869-534A-4B0B-B2B8-B89170FC0EF0:(F)Since

    VM01 has also Snapshots,

    we need to create the correspondent symbolic link and give the necessary permissions to the

    files

    (This process must be done to each snapshot).Mklink

    C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\324E6E76-77EC-4671-9E25-

    3D4B5D3133BA.xmlF:\VM01\Snapshots\71DB1869-534A-4B0B-B2B8-B89170FC0EF0.xml

    Mklink C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\D6EC4773-75A6-49E7-

    84D2-3B619D1D450C.xml

    F:\VM01\Snapshots\71DB1869-534A-4B0B-B2B8-B89170FC0EF0.xml

    Now, assign the permissions:

    Icacls C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\324E6E76-77EC-4671-

    9E25-3D4B5D3133BA.xml /grant NT VIRTUAL MACHINE\71DB1869-534A-4B0B-B2B8-B89170FC0EF0:(F) /L

    Icacls C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots\D6EC4773-75A6-49E7-

    84D2-3B619D1D450C.xml /grant NT VIRTUAL MACHINE\71DB1869-534A-4B0B-B2B8-

    B89170FC0EF0:(F) /L

    Go to the settings of the VM01 and assign the proper Network switch.

    Start VM01 and youre DONE!!!!

    ShareThis

    Link to this post!

    HyperV General access

    Related Posts:

    1. Massive datacenter to bring Windows Azure to China

    2. HTTP ERROR CODES

    3. Restricting su Access to System and Shared Accounts

    4. Restricting Direct Login Access for System and Shared Accounts

    Be the first of your friends to like this.Like Send

    40 people are followingJuno David Antony K. Be the first of your friends.Follow

    http://servermanagement24x7.com/restricting-direct-login-access-for-system-and-shared-accounts.htmlhttp://servermanagement24x7.com/restricting-su-access-to-system-and-shared-accounts.htmlhttp://servermanagement24x7.com/http-error-codes.htmlhttp://servermanagement24x7.com/massive-data-center-will-bring-windows-azure-to-china.htmlhttp://void%280%29/http://www.dmca.com/