<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic new-clone cmdlet in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39947#M1841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; So the error that was occurring before was that the destination file already existed. Seems like when it failed, it didn't clean up the file. I manually deleted the destination vhd file and now am getting an error that says Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 OperationProgressEvent called&lt;BR /&gt;06/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 OperationProgressEvent done&lt;BR /&gt;06/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 the VIMPublishService client state = Opened&lt;BR /&gt;06/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 An error occured while executing the VMCloneEngine::Clone.&lt;BR /&gt;Object reference not set to an instance of an object.Source: OC.VSMServices&lt;BR /&gt;Stack Trace:&amp;nbsp;&amp;nbsp;&amp;nbsp; at NetApp.SCI.Common.VSMServices.VirtualSystemManagementService.CloneVirtualSystemConfigOnlyEx(String vmName, String exportDirectory, Boolean isDirectory, String newVMName, Int32 count, String DestinationHost, String SourceHost)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at NetApp.SCI.Common.VSMServices.VirtualSystemManagementService.CloneVirtualSystemConfigOnly(String vmName, String exportDirectory, Boolean isDirectory, String newVMName, Int32 count, String DestinationHost, String SourceHost)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at NetApp.SystemCenter.VMCloneEngine.Clone(ScCreateCloneRequest request)&lt;/P&gt;&lt;P&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 An error occured while executing the VMCloneEngine::Clone.&lt;BR /&gt;Object reference not set to an instance of an object.&lt;BR /&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 VMCloneEngine::Clone-Exit&lt;BR /&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 VMCloneCommand::Execute-Exit&lt;BR /&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 An error occured while executing the VMCloneEngine::Clone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll attach the entire log file as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2011 21:51:42 GMT</pubDate>
    <dc:creator>aschneider146</dc:creator>
    <dc:date>2011-06-08T21:51:42Z</dc:date>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39912#M1834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to clone a VM in a CSV. I do not have SCVMM installed in this enviornoment. I installed OnCommand on a cluster node and the CSV that the VM is on is owned by the same node.&lt;/P&gt;&lt;P&gt;When i run new-clone, I get an error that says &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New-Clone : Operation failed. Exiting progress message processing. Status VMCloneEngine::Clone: ValidateVHDDiskPaths failed reason Validate VHD path found that following VHD paths are not on NetApp LUN&lt;/P&gt;&lt;P&gt;C:\ClusterStorage\Volume3\base\SubLunBase\Virtual Hard Disks\BigBase.vhd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This VHD is definitely on a NetApp LUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:53:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39912#M1834</guid>
      <dc:creator>aschneider146</dc:creator>
      <dc:date>2025-06-05T06:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39917#M1835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct.&amp;nbsp; New-Clone -template requires SCVMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to just clone a file, use CLONE-FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clone-file C:\ClusterStorage\Volume1\VMs\W2kr2SysPrep.vhd C:\ClusterStorage\Volume1\VMs\PSCLone.vhd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you must specify the full path to the source and the target in this build of the cmdlet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 19:23:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39917#M1835</guid>
      <dc:creator>jausch</dc:creator>
      <dc:date>2011-06-08T19:23:56Z</dc:date>
    </item>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39926#M1836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That makes sense. However, when I run clone-file, I am getting an error that says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clone-File : Operation failed. Exiting progress message processing. Status Coul&lt;/P&gt;&lt;P&gt;d not connect to net.tcp://localhost/VIM/VIMSubscriptionService/v_10. The conne&lt;/P&gt;&lt;P&gt;ction attempt lasted for a time span of 00:00:00. TCP error code 10061: No conn&lt;/P&gt;&lt;P&gt;ection could be made because the target machine actively refused it 127.0.0.1:8&lt;/P&gt;&lt;P&gt;08.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 20:25:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39926#M1836</guid>
      <dc:creator>aschneider146</dc:creator>
      <dc:date>2011-06-08T20:25:59Z</dc:date>
    </item>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39931#M1837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;new-clone -template requires SCVMM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new-clone -vmname does not require SCVMM.&amp;nbsp; OCPM has its onw cloning engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy, can you post the cmdlet you ran?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 20:28:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39931#M1837</guid>
      <dc:creator>davidv</dc:creator>
      <dc:date>2011-06-08T20:28:32Z</dc:date>
    </item>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39934#M1838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; never mind.. just realized the service was stopped... i think my GPO is shutting it down. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 20:31:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39934#M1838</guid>
      <dc:creator>aschneider146</dc:creator>
      <dc:date>2011-06-08T20:31:11Z</dc:date>
    </item>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39939#M1839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; A couple things. i was able to get clone-file to work. I just had to add a storage credential.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I cannot repeat the initial error I was seeing with new-clone, but I am consistently getting another problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;PS C:\&amp;gt; new-clone&amp;nbsp; -VMName SubLunBase -BaseVMName newVM -AllInSourceLUN -nc 1&lt;BR /&gt;New-Clone : Operation failed. Exiting progress message processing. Status Clone&lt;BR /&gt; of vhd file failed&lt;BR /&gt;At line:1 char:10&lt;BR /&gt;+ new-clone &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp;&amp;nbsp; -VMName SubLunBase -BaseVMName newVM -AllInSourceLUN -nc 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (NetApp.SystemCenter.ScCloneCmd&lt;BR /&gt;&amp;nbsp;&amp;nbsp; let:ScCloneCmdlet) [New-Clone], Exception&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : NetApp.SystemCenter.ScCloneCmdlet&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;SubLunBase is the name of the VM that I am trying to clone into the same LUN. &lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 20:59:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39939#M1839</guid>
      <dc:creator>aschneider146</dc:creator>
      <dc:date>2011-06-08T20:59:13Z</dc:date>
    </item>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39944#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Can you post your clone log please?&amp;nbsp; Should be here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files\NetApp\OnCommand\MS_Plugin\OC.VIM.WebService&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 21:32:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39944#M1840</guid>
      <dc:creator>jausch</dc:creator>
      <dc:date>2011-06-08T21:32:18Z</dc:date>
    </item>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39947#M1841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; So the error that was occurring before was that the destination file already existed. Seems like when it failed, it didn't clean up the file. I manually deleted the destination vhd file and now am getting an error that says Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 OperationProgressEvent called&lt;BR /&gt;06/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 OperationProgressEvent done&lt;BR /&gt;06/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 the VIMPublishService client state = Opened&lt;BR /&gt;06/08/2011 02:45:26:837 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 An error occured while executing the VMCloneEngine::Clone.&lt;BR /&gt;Object reference not set to an instance of an object.Source: OC.VSMServices&lt;BR /&gt;Stack Trace:&amp;nbsp;&amp;nbsp;&amp;nbsp; at NetApp.SCI.Common.VSMServices.VirtualSystemManagementService.CloneVirtualSystemConfigOnlyEx(String vmName, String exportDirectory, Boolean isDirectory, String newVMName, Int32 count, String DestinationHost, String SourceHost)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at NetApp.SCI.Common.VSMServices.VirtualSystemManagementService.CloneVirtualSystemConfigOnly(String vmName, String exportDirectory, Boolean isDirectory, String newVMName, Int32 count, String DestinationHost, String SourceHost)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at NetApp.SystemCenter.VMCloneEngine.Clone(ScCreateCloneRequest request)&lt;/P&gt;&lt;P&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 An error occured while executing the VMCloneEngine::Clone.&lt;BR /&gt;Object reference not set to an instance of an object.&lt;BR /&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 VMCloneEngine::Clone-Exit&lt;BR /&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 VMCloneCommand::Execute-Exit&lt;BR /&gt;06/08/2011 02:45:26:852 :&amp;nbsp; ProcessID= 2808 ThreadID= 3 An error occured while executing the VMCloneEngine::Clone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll attach the entire log file as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 21:51:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39947#M1841</guid>
      <dc:creator>aschneider146</dc:creator>
      <dc:date>2011-06-08T21:51:42Z</dc:date>
    </item>
    <item>
      <title>new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39951#M1842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We would appreciate if cmdlets can be executed with -verbose switch, that will help the team to troubleshoot&lt;/P&gt;&lt;P&gt;For example new-clone&amp;nbsp; -VMName SubLunBase -BaseVMName newVM -AllInSourceLUN -nc 1&amp;nbsp; -verbose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 07:38:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39951#M1842</guid>
      <dc:creator>ankushb</dc:creator>
      <dc:date>2011-06-09T07:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39956#M1843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can see this "Object reference not set to an instance of an object" error when we try to clone a VM which is owned by any another &lt;/P&gt;&lt;P&gt;node in the cluster and not the node from where the cmdlet is running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that you have already mentioned that the CSV storage is owned by the same node from where the cmdlet is running which &lt;/P&gt;&lt;P&gt;is fine, along with this we should also make sure that the VM which resides in that CSV storage is also owned by the same node &lt;/P&gt;&lt;P&gt;from where you are running the cmdlet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 14:04:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39956#M1843</guid>
      <dc:creator>shankarn</dc:creator>
      <dc:date>2011-06-10T14:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: new-clone cmdlet</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39961#M1844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The VM and CSV are both owned by the node that I am running new-clone on. It is successfully cloning the right VHD but fails on the WMI call into Hyper-V. Also, the VM that I am trying to clone is in c:\clusterstorage\volume3\base and has a "virtual hard disks" and "virtual machines" sub directory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the new VM is subluntest1. It cloned the VHD into c:\clusterstorage\volume3\bigbase.vhd. I would expect it to clone the VM into a new directory c:\clusterstorage\volume3\subluntest1\virtual hard disks\bigbase.vhd. Does this get cleaned up later on if the cmdlet succeeds? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, if the cmdlet does clone the vhd but fails as is the case here, it should delete the VHD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 14:40:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/new-clone-cmdlet/m-p/39961#M1844</guid>
      <dc:creator>aschneider146</dc:creator>
      <dc:date>2011-06-10T14:40:37Z</dc:date>
    </item>
  </channel>
</rss>

