Ask the Community
Groups
Hyper-V Backups fail getting version of the VM or because powershell tools are missing - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Hyper-V Backup Fails immediately with the following error in Event Viewer : "An error was encountered while getting version of the VM"</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p>HyperV Backup Fails with the following error indicated in the WBPS logs and Event Viewer<br>"An error was encountered while getting version of the VM"<br><br>It may also indicate "Hyper-V Powershell Tools are not installed"<br><br> </p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p></p> <h2 data-id="install-the-hyperv-powershell-command-applet">Install the HyperV Powershell Command Applet</h2> For Hyper-V 2008, see our companion KB <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Funitrends-support.zendesk.com%2Fhc%2Fen-us%2Farticles%2F360013277658%3Fq%3DSELECT%2BArticleNumber%252CId%252CSummary%252CResolution__c%252CAttachment__Body__s%252CCause__c%252CNotes__c%252CAttachment__ContentType__s%252CAttachment__Length__s%252CAttachment__Name__s%252CTitle%252CKnowledgeArticleId%252CDescription__c%2Bfrom%2BArticle__kav%2Bwhere%2BPublishStatus%253D%2527Online%2527">Hyper-V backup fails with error 'Hyper-V PowerShell Module is not installed'</a><br><br><br><b>Windows Server 2012 and 2012 R2:</b><br>Open Powershell as administrator and run the following command: <pre class="code codeBlock" spellcheck="false" tabindex="0"> Enable-WindowsOptionalFeature -Feature 'Microsoft-Hyper-V-All' -Online</pre> <br><br><b>Windows Server 2016:</b><br>Open Powershell as administrator and run the following command: <pre class="code codeBlock" spellcheck="false" tabindex="0"> Install-WindowsFeature -Name RSAT-Hyper-V-Tools</pre> This will install the tools that are not already installed only. If they are all installed nothing will happen. <br><br><br><b>Alternatively in 2012/2016, this can be installed via the UI via Add Features and Roles Wizard. </b> <br><img alt="User-added image" height="355" src="https://us.v-cdn.net/6032361/uploads/migrated/SEZZ3ASTS0P4/eid-ka03r0000015ai0-feoid-00n40000003czqx-refid-0em1w000000wagx." width="500" class="embedImage-img importedEmbed-img"></img><br><br><br> <h2 data-id="cause"><strong>CAUSE</strong></h2> <p>These errors are because they Hyper-V host does not currently contain Microsoft Hyper-V Powershell or management toolsets required to use by 3rd party backup operators. These are components of Hyper-V that come pre-installed on Hyper-V Core Editions of windows but may not be installed with hyper-V by default in other windows versions. </p> <h2 data-id="notes"><strong>NOTES</strong></h2> <p>References:<br><br><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Fwindows%2Fit-pro%2Fwindows-server-2012-R2-and-2012%2Fdn632582%28v%3Dws.11%29">https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn632582(v=ws.11)</a><br><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2693643%2Fremote-server-administration-tools-rsat-for-windows-operating-systems">https://support.microsoft.com/en-us/help/2693643/remote-server-administration-tools-rsat-for-windows-operating-systems</a></p> </article> </main>