Unable to stop (deallocate) virtual machines

I have two Azure Virtual Machines that seem to be stuck in a "Stopped" state.  Since they're not "Stopped (deallocated) this means I'm still being charged as if they're running (as I understand it).  When I attempt to shut them down
with the Azure Management portal, I get the following message:
The server encountered an internal error. Please retry the request.
If I try to stop them with the Azure PowerShell cmdlets, even using the -Force, I get the same error.  I've tried stopping the cloud service it is in, I've tried deleting the virtual machine, and no matter what I do I get the same message about an internal
server error.
How do I fix this so that I don't continue to get charged for these virtual machines?

Hi;
Thank you for your post. Apologies for the performance issue.  As you have already tried the preliminary steps, from a support perspective the way forward would be to open up a support ticket as we  need subscription details to look into the operation
history and perform a root cause analysis. As far as charges are concerned if this is appears to be a platform specific issue, you could check with the billing team regarding the same.
Warm Regards;
Prasant

Similar Messages

  • �Unable to create the virtual machine. The error was -4�

    I have a VS2003 C# application, which call JACE (a JNI wrapper) through C++ mixed mode to use JAVA object�s functions.
    Because the natural of our JAVA program it must be able to reach maximum heap size of 512MB, we set it during the startup of JVM by using �-Xmx512M� parameter.
    It worked well with a small PC (Dell Optiplex GX750 and Shuttle Xpc ) with only 512MB physical memory. We have about 50 machines running the application in the production.
    Recently, one of our customers installs the application to a larger PC ( Shuttle Xpc with different model), which has 1 GB of physical memory. The application started throw exception from JVM. The error message is �Unable to create the virtual machine. The error was -4�. I checked with JNI return code and found that -4 mean �not enough memory�.
    I did some experiment by running the application with 2GB PC, 1 GB PC, 1GB laptop, 512MB PC. I don�t found relationship between how much �maximum heap size� can be assigned and how much �physical memory� is available (reading from task manager). The 2GB machine can take only 128MB of �maximum heap size� However, 1GB machine can take up to 300MB of �maximum heap size�.
    I also use program like ImageJ (http://rsb.info.nih.gov/ij/) to test maximum heap size for it. I found that ImageJ can take 512MB maximum heap size without problem. It can even take 1024MB of maximum heap size.
    I have created a small program to duplicate this problem. Although it use exact the same code to start JVM up, it can go up to 650MB heap size for both 2GB and 1GB PC.
    This is puzzling. Does anyone know what are factors determine how much �maximum heap size� can be set for JVM from JNI?
    Software used
    Windows XP SP2
    Visual studio.net 2003 SP1 (the problem also occurred without SP1)
    .NET Framework 1.1 SP1
    JACE 1.1rc1_05
    JRE 1.5.07 (also tested with JRE 1.5.09 and 1.6.0 beta)

    Do you resolve the problem? If so what was the fix?
    I have been getting the Java Virtual Machine Launcher error message “Could not create the virtual machine” when attempting to run an Oracle application that uses JNLP via a browser. Even clicking on componets such as javaw.exe produces the error message. In conjunction with receiving the error message, the application that I am working with will not launch.
    I had JRE 5u10 and J2RE 1.4.2u13 installed and thought that installing JDK 5u17 may resolve the issue. I removed JRE 5u10 and J2RE 1.4.2u13 and installed JDK 5u17 (and the included JRE 5u17.) The error message was still there.
    I have unistalled (via Add/Remove programs) and reinstalled (via both Win off-line and on-line) JDK 5u17 and JRE 5u17 many times.
    During the uninstalls I have received a Java Web Start 1.5.0_17 bad installation – error invoking JVM error message.
    I have restarted the machine also.
    There are some remains of J2RE 1.4.2u13 still on the machine –even after the 1.4.2u13 uninstall. The Java\j2re1.4.2_13\lib folder remains.
    I am running Win XP SP2 and IE6 SP2.
    Note: I cannot use Java 6 since the application that I am working with is Java 5 based.

  • Unable to power on Virtual machine.

    Hi, 
    Any one can help me on this.
    I have implemented Hyper-v 2012 R2 With SCVMM 2012 R2 and SMB file share storage for test the Microsoft Virtualization environment.
    I have created virtual machine machine also but unable to power on.
    Getting the below error for the job console in SCVMM.
    Error (12700)
    VMM cannot complete the host operation on the hyper-v-02.testlab.org server because of the error: 'Test-001' failed to start. (Virtual machine ID 96BF6EC1-B978-4C65-AF28-7088F1530673)
    The Virtual Machine Management Service failed to start the virtual machine 'Test-001' because one of the Hyper-V components is not running (Virtual machine ID 96BF6EC1-B978-4C65-AF28-7088F1530673).
    Unknown error (0x8000)
    Recommended Action
    Resolve the host issue and then try the operation again.
    Thanks in advance....

    There are too many reasons for this error. What is the size of the SMB share and what is the size of the VM Disks?
    If the size of the VM disk is 100 GB and the allocated size for the SMB share is more then it will fail to start.
    Try to create VM with very low resources and check if it can start.
    Al Nahash

  • Unable to log into virtual machine

    The VM has a 'Running' status but I get the following message when I try to log in remotely:
    Unable to connect to remote PC. Please verify Remote Desktop is enabled, the remote PC is turned on and available on the network, and then try again.
    I've tried downloading a new .rdp but it didn't help.
    Thanks.

    Hi. I have the following ports
    PowerShell
    TCP
    5986
    5986
    Remote Desktop
    TCP
    53202
    3389
    I've had trouble logging into this machine after I tried to capture an image of it using sysprep and then 'Capture' in the Azure portal. I can neither log into this original machine nor a new one that I create using custom image. 
    Thanks,
    June

  • Issues with Lenovo U530, unable to create a virtual machine

    Hi, I have a Lenovo u530 ideapad, bought around October, running windows 8.1
    I have the Oracle virtual box, installed, however when I tried to power it on, it claimed kernel issues.
    I did enable virtualization in the BIOS.
    Please help, extremely frustrated here.

    Hi,
    This issue may be caused by the network configuration of the client is incorrect. This includes the absence of addresses or incorrect addresses for DNS servers to locate and resolve domain controllers.
    When you add the server 2 to domain, the DNS shoud be pointed to the domain controller.
    Please check the DNS configuration is correct.
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Cannot start virtual machine

    Hi,
    I was recently restarting a virtual machine due to applying updates and the virtual machine froze. This vm is located on one of our clusters which are running the Hyper-V role. The vm worked just fine until the restart. I was unable to stop the vm at first
    so I ended the process via Task Manager. Now I am unable to start the virtual machine.
    The following error comes up when I try to start it:
    The operation has failed. Failed to start virtual machine 'vmname'.
    The details for this error are as follows:
    Failed to bring the resource 'vmname" online. Error Code: 0x8007139f. The group or resource is not in the correct state to perform the requested operation.
    Can you please tell me what I should do. I am thinking of deleting the virtual machine and re-creating it but would that erase the data from the virtual drive as well? Also, if this is a good idea, how would I go about giving the vm the smae IP address?
    Our environment only uses DHCP and does not allow static IP assignments.
    Is there a way to go about this without having to delete the virtual machine? And without having to restart the entire Hyper-V node on which the vm is located on?
    Thanks in advance,

    Hi Gil Gross,
    I cannot delete the vm because, although the vm is highlighted in blue, there is no delete option (when I get the drop down menu nor on the side menu).
    If I use the Failover Cluster Manager to delete the vm will this delete all files associated with it as well (v-disk)?
    I am thinking of maybe performing a live migration of all the vm's that are currently on the current cluster node to another cluster node (we have 4 total). Once this is done, I will restart the cluster node with the problematic vm and see if this will help.
    What do you think?
    Thanks in advance,

  • Unrecognized option -a could not create Java Virtual Machine..?

    while using "java -classpath <axis jar files> -a <mywsdlfile>
    i got the error message as 'Unrecognized option -a could not create Java Virtual Machine"
    plz help me how to get rid of this?? i've successfully installed axis1.4 & tomcat6.

    Sorry, I thought that you meant to pass "-a" to the java tool and not the WSDL2JAVA tool. "-a" is definitely a valid option for WSDL2Java.
    But your error indicates that it is indeed trying to pass "-a" as an option to java, which is why the error is "unable to create Java Virtual Machine".
    Try using the long format for the "-a" option which is "--async". (http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html).
    "java –classpath pathToJAR/Filename org.apache.axis.wsdl.WSDL2Java --async pathToWsdl/WsdlFilename"
    Edited by: javaguy on Sep 2, 2009 11:46 PM

  • Client Hyper-V "Cannot Connect to Virtual Machine"

    I'm trying to run Client Hyper-V on my Windows 8 Pro machine. I was able to successfully install the service, and can create virtual machines and hard disks on my local system. I can even start them, and see boot activity via the preview window in the MMC.
    I cannot, however, connect to any machines from the local system: when I do, it hangs on "Connecting to <machinename>" for 30 seconds before it pops up with the dialog:
    "Cannot connect to virtual machine. Try to connect again. If the problem persists, contact your system administrator."
    Obviously, because this is Client Hyper-V, I am the system administrator, so I scour the Internet to solve my problem. I see solutions related to firewalls, administrative permissions, a few other things, and nothing has worked. I also tried creating
    a virtual machine on a Windows 8 Enterprise system (which can connect to it just fine) and export it for the Pro machine to import, and I still cannot connect to it, whether the VM is registered in place or copied to the host.
    Some other notes:
    - None of these systems has an OS installed - two locally created ones either had no boot or booted off a Linux LiveCD, and the exported one attempted to do a PXE boot. Thus, I cannot attempt to link via Remote Desktop since the computers have no names
    - Hyper-V has some other quirks on my system as well: in order to stop a virtual machine, I have to end the vmwp process - which restarts the machine - and then stop it from the console within a few seconds. Otherwise, it hangs in the "Stopping"
    state. In addition, none of the buttons on the side of the MMC work, but that occurs over all of MMC.
    - No events show up in the Event log when a connection fails
    - I am an admin on the Pro machine and have permissions to connect to machines and operate the management view

    When you checked the event log’s what sources did you check? 
    Can you verify there are not any relevant error/warning events under the following sources:
    Applications and Services Logs
    Microsoft
    Windows
    Hyper-V-VMMS
    Admin
    Operational
    Hyper-V-Worker
    Admin
    Operational
    If not we should enable some additional logging if possible to see what is going on.
    Shutdown any running VM’s
    Close all of the Hyper-V UI
    Stop the VMMS service (net stop vmms)
    Enable Analytic logging for the VMMS and Worker Process (see below)
    Enable UI Tracing for Hyper-V Manager and VMConnect (see below)
    Start the VMMS service (net start vmms)
    Open Hyper-V Manger
    Restart the VM
    Attempt to connect (try two or three times)
    Gather Logs (see below)
    Disable Tracing (see below)
    Enabling Analytic Logging For the VMMS and Worker Process
    Open the Event Viewer
    From the menu bar select View -> Show Analytic and Debug Logs
    Navigate to the Hyper-V logs and Enable the Analytic Channels
    Applications and Services Logs
    Microsoft
    Windows
    Hyper-V-VMMS
    Analytic
    Right Click -> Enable (yes if a pop up asks about enabling the logs)
    Hyper-V-Worker
    Analytic
    Right Click -> Enable (yes if a pop up asks about enabling the logs)
    Enabling UI Tracing
    Create a new text file named “VMClientTrace.config” in the "%appdata%\Microsoft\Windows\Hyper-V\Client\1.0\” folder
    Copy the following XML text into that file:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <Microsoft.Virtualization.Client.TraceConfigurationOptions>
            <setting name="TraceTagFormat" type="System.Int32">
                <value>3</value>
            </setting>
            <setting name="BrowserTraceLevel" type="System.Int32">
                <value>71</value>
            </setting>
            <setting name="VMConnectTraceLevel" type="System.Int32">
                <value>71</value>
            </setting>
        </Microsoft.Virtualization.Client.TraceConfigurationOptions>
    </configuration>
    Save the file.
    Gathering The Logs
    The Analytic logs will be in the analytic folder (you often have to refresh or select another source then analytic again to see them)
    The UI trace Logs will be in %temp% (sometime back one directory i.e. %temp% = “C:\Users\taylorb\AppData\Local\Temp\2” for me but the logs are at “C:\Users\taylorb\AppData\Local\Temp”
    Disabling Tracing
    To disable Analytic Tracing just right click on the analytic sources and select disable (same as enabling)
    To disable UI tracing just delete the “%appdata%\Microsoft\Windows\Hyper-V\Client\1.0\VMClientTrace.config” file.
    -Taylor Brown
    -Program Manager, Hyper-V
    -http://blogs.msdn.com/taylorb

  • Create Hyper-V Virtual Machines with Windows PowerShell searching on hostname

    Dear,
    I’m a starter with PowerShell scripting an I’m looking for a script to create Hyper-V Virtual Machines with Windows PowerShell. The idea behind the script is that when I run the script its first searching for the hostname. I’m migrating 24 locations and each
    location have a different hostname like xxx-SRV001. The script needs to use the first 3 signs from the hostname in this case “xxx” and create 2 VM's with below info:
    Virtual Machine 1 2048MB
    Virtual Machine 2 4096MB
    Location D:\VM\
    I can create VM's with Powershell into Hyper-V so only a script to first searching for the first 3 characters of the hostname is enough.
    Example:
    It's the intention that when the script runs it's looking for the hostname. As example we have hostname 000-SRV001
    If the script see the first 3 characters of the hostname, in this case 000 he need to create 2 VMs with name xxx-SRV002 and xxx-SRV004
    I think it must be something with 
    $hostname = "Get-WmiObject -computername $Machine Win32_Computersystem"
    But then when i'm asking for $hostname he must give me back the hostname and if the hostname is 1 of the 24 locations then he need to create 2 vm's in Hyper-V with above info.
    Can you help me or do you have a script for this? 

    Juste use :
    $vram = 1GB*$vRam
    You not need the "
    Do you have any error with the creation of the VM?
    # Variables
    $VMName = Import-Csv "C:\HyperV\input.csv"
    $VHD = 40GB
    $VMLOC = "C:\HyperV"
    $vSwitch = "External"
    $ISO = "C:\ISO\WinServer2012R2.iso"
    $LocationCode = $env:COMPUTERNAME.Split("-")[0]
    # Create VM Folder
    MD $VMLOC -ErrorAction SilentlyContinue
    Foreach ($VM in $VMNames)
    $Name = $VM.name
    [int64]$vRam = $vm.vram
    $vram = 1GB*$vRam
    $VMName = $LocationCode+$Name
    # Create Virtual Machine
    New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VMLOC\$VMName\Virtual Harddisks\$VMName.vhdx" -NewVHDSizeBytes $VHD -SwitchName $vSwitch
    # Configure Virtual Machines
    Set-VMDvdDrive -VMName $VMName -Path $ISO
    Start-VM $VMName
    # Configure Virtual Machines
    Set-VMDvdDrive -VMName $VMName -Path $ISO
    Start-VM $VMName
    Error message 
    New-VM : '003' failed to modify device 'Memory'. (Virtual machine ID 8F5F32D7-F1A0-4A68-8B01-CA6661869A1E)
    Invalid startup memory amount assigned for '003'. The minimum amount of memory you can assign to this virtual machine is '32' MB. (Virtual machine ID 8F5F32D7-F1A0-4A68-8B01-CA6661869A1E)
    A parameter that is not valid was passed to the operation.
    At line:20 char:5
    + New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VM ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VM], VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:23 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:24 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:27 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:28 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
    New-VM : '003' failed to modify device 'Memory'. (Virtual machine ID C0FC835E-36D4-462E-BD21-69A75A808E2F)
    Invalid startup memory amount assigned for '003'. The minimum amount of memory you can assign to this virtual machine is '32' MB. (Virtual machine ID C0FC835E-36D4-462E-BD21-69A75A808E2F)
    A parameter that is not valid was passed to the operation.
    At line:20 char:5
    + New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VM ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VM], VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:23 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:24 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:27 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:28 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand

  • I am unable to install Virtual Machines on my Mid-2013 MacBook Air

    Dear Apple Support Community,
    I have recently moved away from a Mid-2010 MacBook Pro to a new Mid-2013 MacBook Air. As much as it pains me, I have a need to install a virtual machine running Windows 7 in order to utilize an application called vSphere. The vSphere web interface is too unreliable to use via any web browser, so running a Windows VM is the only way forward.
    However, when using VMWare Fusion 5 (I know 6 is available, but I do not have a license for it) or VirtualBox (very latest version) I receive an error which states that my CPU is not 64-bit compatible. I was under the impression that since Snow Leopard (10.6) was release that Mac OS was fully 64-bit. My MacBook Air is currently running Mavericks (10.9.1). It has a 1.3GHz Intel Core i5 CPU.
    I read that Apple restricts access to the EFI firmware settings, as I originally thought it was a case of enabling Virtualization capabilities on the processor. To further add to the dilemma my Mid-2010 MacBook Pro has no issues running VMWare Fusion or VirtualBox, so I am at a loss as to why I am unable use these virtualization platforms on my new Mac.
    Any help would be greatly appreciated.

    I remember reading somewhere that the new macbook air's from 2013 have a 64 bit core i5 4250u processors.
    Also intel mentions it here:
    http://ark.intel.com/products/75028/

  • FYI Update Rollup 3 for Microsoft System Center 2012 R2 - Virtual Machine Manager (KB2965413) Stops SCVMM service starting

    I just applied update:
    Update Rollup 3 for Microsoft System Center 2012 R2 - Virtual Machine Manager (KB2965413)
    and (KB2965414) but it failed to install.
    After a reboot I could not login to the VMM and the service would not start
    An event id 0 was reported with:
    Service cannot be started. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.BuildKnownAssemblyTypes(Assembly assembly)
       at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.InitializeKnownTypesCache(List`1 assembliesToExamine)
       at Microsoft.VirtualManager.Engine.Remoting.IndigoServiceHost.InitializeKnownTypesCache()
       at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
       at Microsoft.VirtualManager.Engine.VirtualManagerService.OnStart(String[] args)
       at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
    After I removed the update the VMM was able to start, no reboot required.
    When I have time I will try to apply both updates again successfully and see if the issue still occurs.
    Vista Ultimate Dell XPS M1330

    FYI.  I've had the same issue after I installed Update Rollup 3 (KB2965413), seeing the exact same error on event log.  Tried to start the service manually, getting service unable to start error.  This is a machine running
    with Windows Server 2012 Standard.  Solution for me is simple. I just install
    KB2965414 (Update Rollup 3 for SCVMM 2012 R2), reboot the server, and the SCVMM service auto start up by itself. 

  • System Center Virtual Machine Manager SC VMM 2012 SP1 Installation fails: Unable to assign the name NO_PARAM to this host because this name is already in use.

    I'm trying to install VMM 2012 SP1 on a Windows Server 2012 machine and it fails with this error,
    the scenario is as follows,
    Old database (from 2012 RTM) exists on remote SQL 2012 SP1 server
    Server was 2008 R2 SP1 so I decided to make a fresh installation of 2012 with the same name
    installed ADK
    specific error: 01:42:13:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.VirtualManager.Setup.Exceptions.BackEndErrorException, Exception.Message: Unable to assign the name NO_PARAM to this host because this name is already in
    use.
    please help

    I had a similar problem today when upgrading from SCVMM 2012 RTM to SCVMM 2012 SP1 RTM. To re-create the issue you describe originally you can actually just uninstall SCVMM 2012 SP1 RTM with "retain data" option and re-install the software on the same
    computer (with the same name of course), attaching it to the retained DB. If you change the SCVMM server name I believe it will make some things go wrong after your install, like missing VM template passwords for example as the data gets encrypted in
    the DB. Maybe it didn't but I didn't risk it. I definitely know if you change service accounts on a scenario like this you will be without the encrypted DB data which isn't much fun. To avoid changing the computer name, if you look in the setup log
    files in %systemdrive%\ProgramData\VMMLogs\, specifically the SetupWizard.log file. You will see details on it failing because the same computer name is in the DB table "dbo.tbl_ADHC_AgentServer" and until it is removed from that table I wasn't able to get
    the install to complete at all. The error in my logs looked something like this "InnerException.Type: System.Data.SqlClient.SqlException, InnerException.Message: Violation of UNIQUE KEY constraint 'unique_ADHC_AgentServer_ComputerName'. Cannot insert duplicate
    key in object 'dbo.tbl_ADHC_AgentServer'. The duplicate key value is (computername.is.writtenhere). The statement has been terminated." In the row data in the DB it also seems to suggest that the computer name had "Virtual Machine Manager Library Files" on
    it which is strange since I always remove the local SCVMM server as a library server after I install it and use an off box library server.

  • Unable to Install Windows 8 on Virtual Machine

    I have Windows 7 Ultimate 64 Bit installed and trying to install Windows 8 64 Bit using the ISO file on Microsoft Virtual Machine, receiving an error as below, tried to attach the screenshot but it is saying "Body text cannot contain images or links
    until we are able to verify your account." please help.
    -----------Error message starts here------------
    Recovery
    Your PC needs to be repaired
    The 64-bit application couldn't load because your PC doesn't have a 64-bit processor. If you are using Windows To Go, make sure your USB device has a version of Windows that's compatible with the PC you're trying to use.
    File:\windows\system32\boot\winload.exe
    Error Code: 0xc000035a
    You'll need to use recovery tools on your installation media. If you don't have any installation media (like a disc or USB device), contact your system administrator or PC manufacturer.
    Press Enter to Try Again
    Press F8 for startup settings
    -------Error Message ends here---------
    I see this screen again when I press enter to try again or press F8
    There is nothing wrong with my Windows 8 ISO file, its working absolutely fine,
    Please suggest the solution

    Hi,
    Please know that Windows Virtual PC is unable to host a virtualized install of Windows 8. Windows Virtual PC is being depreciated in favor of Hyper-V.
    Kate Li
    TechNet Community Support

  • Windows Server 2012 - Hyper-V - Cluster Sharded Storage - VHDX unexpectedly gets copied to System Volume Information by "System", Virtual Machines stops respondig

    We have a problem with one of our deployments of Windows Server 2012 Hyper-V with a 2 node cluster connected to a iSCSI SAN.
    Our setup:
    Hosts - Both run Windows Server 2012 Standard and are clustered.
    HP ProLiant G7, 24 GB RAM. This is the primary host and normaly all VMs run on this host.
    HP ProLiant G5, 20 GB RAM. This is the secondary host that and is intended to be used in case of failure of the primary host.
    We have no antivirus on the hosts and the scheduled ShadowCopy (previous version of files) is switched off.
    iSCSI SAN:
    QNAP NAS TS-869 Pro, 8 INTEL SSDSA2CW160G3 160 GB i a RAID 5 with a Host Spare. 2 Teamed NIC.
    Switch:
    DLINK DGS-1210-16 - Both the network cards of the Hosts that are dedicated to the Storage and the Storage itself are connected to the same switch and nothing else is connected to this switch.
    Virtual Machines:
    3 Windows Server 2012 Standard - 1 DC, 1 FileServer, 1 Application Server.
    1 Windows Server 2008 Standard Exchange Server.
    All VMs are using dynamic disks (as recommended by Microsoft).
    Updates
    We have applied the most resent updates to the Hosts, VMs and iSCSI SAN about 3 weeks ago with no change in our problem and we continually update the setup.
    Normal operation:
    Normally this setup works just fine and we see no real difference in speed in startup, file copy and processing speed in LoB applications of this setup compared to a single host with two 10000 RPM Disks. Normal network speed is 10-200 Mbit, but occasionally
    we see speeds up to 400 Mbit/s of combined read/write for instance during file repair.
    Our Problem:
    Our problem is that for some reason a random VHDX gets copied to System Volume Information by "System" of the Clusterd Shared Storage (i.e. C:\ClusterStorage\Volume1\System Volume Information).
    All VMs stops responding or responds very slowly during this copy process and you can for instance not send CTRL-ALT-DEL to a VM in the Hyper-V console, or for instance start task manager when already logged in.
    This happens at random and not every day and different VHDX files from different VMs gets copied each time. Some time it happens during daytime wich causes a lot of problems, especially when a 200 GB file gets copied (which take a lot of time).
    What it is not:
    We thought that this was connected to the backup, but the backup had finished 3 hours before the last time this happended and the backup never uses any of the files in System Volume Information so it is not the backup.
    An observation:
    When this happend today I switched on ShadowCopy (previous files) and set it to only to use 320 MB of storage and then the Copy Process stopped and the virtual Machines started responding again. This could be unrelated since there is no way to see
    how much of the VHDX that is left to be copied, so it might have been finished at the same time as I enabled  ShadowCopy (previos files).
    Our question:
    Why is a VHDX copied to System Volume Information when scheduled ShadowCopy (previous version of files) is switched off? As far as I know, nothing should be copied to this folder when this functionis switched off?
    List of VSS Writers:
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2012 Microsoft Corp.
    Writer name: 'Task Scheduler Writer'
       Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
       Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
       State: [1] Stable
       Last error: No error
    Writer name: 'VSS Metadata Store Writer'
       Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
       Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
       State: [1] Stable
       Last error: No error
    Writer name: 'Performance Counters Writer'
       Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
       Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
       State: [1] Stable
       Last error: No error
    Writer name: 'System Writer'
       Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
       Writer Instance Id: {7848396d-00b1-47cd-8ba9-769b7ce402d2}
       State: [1] Stable
       Last error: No error
    Writer name: 'Microsoft Hyper-V VSS Writer'
       Writer Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
       Writer Instance Id: {8b6c534a-18dd-4fff-b14e-1d4aebd1db74}
       State: [5] Waiting for completion
       Last error: No error
    Writer name: 'Cluster Shared Volume VSS Writer'
       Writer Id: {1072ae1c-e5a7-4ea1-9e4a-6f7964656570}
       Writer Instance Id: {d46c6a69-8b4a-4307-afcf-ca3611c7f680}
       State: [1] Stable
       Last error: No error
    Writer name: 'ASR Writer'
       Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Instance Id: {fc530484-71db-48c3-af5f-ef398070373e}
       State: [1] Stable
       Last error: No error
    Writer name: 'WMI Writer'
       Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
       Writer Instance Id: {3792e26e-c0d0-4901-b799-2e8d9ffe2085}
       State: [1] Stable
       Last error: No error
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {6ea65f92-e3fd-4a23-9e5f-b23de43bc756}
       State: [1] Stable
       Last error: No error
    Writer name: 'BITS Writer'
       Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
       Writer Instance Id: {71dc7876-2089-472c-8fed-4b8862037528}
       State: [1] Stable
       Last error: No error
    Writer name: 'Shadow Copy Optimization Writer'
       Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
       Writer Instance Id: {cb0c7fd8-1f5c-41bb-b2cc-82fabbdc466e}
       State: [1] Stable
       Last error: No error
    Writer name: 'Cluster Database'
       Writer Id: {41e12264-35d8-479b-8e5c-9b23d1dad37e}
       Writer Instance Id: {23320f7e-f165-409d-8456-5d7d8fbaefed}
       State: [1] Stable
       Last error: No error
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {f23d0208-e569-48b0-ad30-1addb1a044af}
       State: [1] Stable
       Last error: No error
    Please note:
    Please only answer our question and do not offer any general optimization tips that do not directly adress the issue! We want the problem to go away, not to finish a bit faster!

    Hallo Lawrence!
    Thankyou for youre reply, some comments to help you and others who read this thread:
    First of all, we use Windows Server 2012 and the VHDX as I wrote in the headline and in the text in my post. We have not had this problem in similar setups with Windows Server 2008 R2, so the problem seem to be introduced in Windows Server 2012.
    These posts that you refer to seem to be outdated and/or do not apply to our configuration:
    The post about Dynamic Disks:
    http://technet.microsoft.com/en-us/library/ee941151(v=WS.10).aspx is only a recommendation for Windows Server 2008 R2 and the VHD format. Dynamic VHDX is indeed recommended by Microsoft when using Windows Server 2012 (please look in the optimization guide
    for Windows Server 2012).
    Infact, if we use fixed VHDX then we would have a bigger problem since fixed VHDX are generaly larger then Dynamic Disks, i.e. more data would be copied and that would take longer time = the VMs would be unresponsive for a longer time.
    The post "What's the deal with the System Volume Information folder"
    http://blogs.msdn.com/b/oldnewthing/archive/2003/11/20/55764.aspx is for Windows XP / Windows Server 2003 and some things has changed since then. for instance In Windows Server 2012, Shadow Copies cannot be controlled by going to Control panel -> System.
    Instead you right-click on a Drive (i.e. a Volume, for instance the C drive/Volume) in Computer and then click "Configure Shadow Copies".
    Windows Server 2008 R2 Backup problem
    http://social.technet.microsoft.com/Forums/en/windowsbackup/thread/0fc53adb-477d-425b-8c99-ad006e132336 - This post is about the Antivirus software trying to scan files used during backup that exists in the System Volume Information folder and we do not
    have any antivirus software installed on our hosts as I stated in my post.
    Comment that might help us:
    So according to “System Volume Information” definition, the operation you mentioned is Volume Shadow Copy. Check event viewer to find Volume Shadow Copy related event logs and post them.
    Why?
    Furhter investigation suggests that a volume shadow copy is somehow created even though the Schedule for Shadows Copies is turned off for all drives. This happens at random and we have not found any pattern. Yesterday this operation took almost all available
    disk space (over 200 GB), but all the disk space was released when I turned on scheduled Shadow Copies for the CSV.
    I therefore draw these conclusions:
    The CSV Volume has about 600 GB of disk space and since Volume Shadows Copy used 200 GB, or about 33% of the disk space, and the default limit is 10% then I conclude that for some reason the unscheduled Volume Shadow Copy did not have any limit (or ignored
    the limit).
    When I turned on the Schedule I also change the limit to the minimum amount which is 320 MB and this is probably what released the disk space. That is, the unscheduled Volume Shadow Copy operation was aborted and it adhered to the limit and deleted the
    Volume Shadow Copy it had taken.
    I have also set the limit for Volume Shadow Copies for all other volumes to 320 MB by using the "Configure Shadow Copies" Window that you open by right clicking on a drive (volume) in Computer and then selecting "Configure Shadow Copies...".
    It is important to note that setting a limit for Shadow Copy Storage, and disabaling the Schedule are two different things! It is possible to have unlimited storage for Shadow Copies when the Schedule is disabled, however I do not know if this was the case
    Before I enabled Shadow Copies on the CSV since I did not look for this.
    I now have defined a limit for Shadow Copy Storage to 320 MB on all drives and then no VHDX should be copied to System Volume Information since they are all larger than 320 MB.
    Does this sound about right or am I drawing the wrong conclusions?
    Limits for Shadow Copies:
    Below we list the limits for our two hosts:
    "Primary Host":
    C:\>vssadmin list shadowstorage
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2012 Microsoft Corp.
    Shadow Copy Storage association
       For volume: (\\?\Volume{e3ad7feb-178b-11e2-93e8-806e6f6e6963}\)\\?\Volume{e3ad7feb-178b-11e2-93e8-806e6f6e6963}\
       Shadow Copy Storage volume: (\\?\Volume{e3ad7feb-178b-11e2-93e8-806e6f6e6963}\)\\?\Volume{e3ad7feb-178b-11e2-93e8-806e6f6e6963}\
       Used Shadow Copy Storage space: 0 bytes (0%)
       Allocated Shadow Copy Storage space: 0 bytes (0%)
       Maximum Shadow Copy Storage space: 320 MB (91%)
    Shadow Copy Storage association
       For volume: (E:)\\?\Volume{dc0a177b-ab03-44c2-8ff6-499b29c3d5cc}\
       Shadow Copy Storage volume: (E:)\\?\Volume{dc0a177b-ab03-44c2-8ff6-499b29c3d5cc}\
       Used Shadow Copy Storage space: 0 bytes (0%)
       Allocated Shadow Copy Storage space: 0 bytes (0%)
       Maximum Shadow Copy Storage space: 320 MB (0%)
    Shadow Copy Storage association
       For volume: (G:)\\?\Volume{f58dc334-17be-11e2-93ee-9c8e991b7c20}\
       Shadow Copy Storage volume: (G:)\\?\Volume{f58dc334-17be-11e2-93ee-9c8e991b7c20}\
       Used Shadow Copy Storage space: 0 bytes (0%)
       Allocated Shadow Copy Storage space: 0 bytes (0%)
       Maximum Shadow Copy Storage space: 320 MB (3%)
    Shadow Copy Storage association
       For volume: (C:)\\?\Volume{e3ad7fec-178b-11e2-93e8-806e6f6e6963}\
       Shadow Copy Storage volume: (C:)\\?\Volume{e3ad7fec-178b-11e2-93e8-806e6f6e6963}\
       Used Shadow Copy Storage space: 0 bytes (0%)
       Allocated Shadow Copy Storage space: 0 bytes (0%)
       Maximum Shadow Copy Storage space: 320 MB (0%)
    C:\>cd \ClusterStorage\Volume1
    Secondary host:
    C:\>vssadmin list shadowstorage
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2012 Microsoft Corp.
    Shadow Copy Storage association
       For volume: (\\?\Volume{b2951138-f01e-11e1-93e8-806e6f6e6963}\)\\?\Volume{b2951138-f01e-11e1-93e8-806e6f6e6963}\
       Shadow Copy Storage volume: (\\?\Volume{b2951138-f01e-11e1-93e8-806e6f6e6963}\)\\?\Volume{b2951138-f01e-11e1-93e8-806e6f6e6963}\
       Used Shadow Copy Storage space: 0 bytes (0%)
       Allocated Shadow Copy Storage space: 0 bytes (0%)
       Maximum Shadow Copy Storage space: 35,0 MB (10%)
    Shadow Copy Storage association
       For volume: (D:)\\?\Volume{5228437e-9a01-4690-bc40-1df85a0e6736}\
       Shadow Copy Storage volume: (D:)\\?\Volume{5228437e-9a01-4690-bc40-1df85a0e6736}\
       Used Shadow Copy Storage space: 0 bytes (0%)
       Allocated Shadow Copy Storage space: 0 bytes (0%)
       Maximum Shadow Copy Storage space: 27,3 GB (10%)
    Shadow Copy Storage association
       For volume: (C:)\\?\Volume{b2951139-f01e-11e1-93e8-806e6f6e6963}\
       Shadow Copy Storage volume: (C:)\\?\Volume{b2951139-f01e-11e1-93e8-806e6f6e6963}\
       Used Shadow Copy Storage space: 0 bytes (0%)
       Allocated Shadow Copy Storage space: 0 bytes (0%)
       Maximum Shadow Copy Storage space: 6,80 GB (10%)
    C:\>
    There is something strange about the limits on the Secondary host!
    I have not in any way changed the settings on the Secondary host and as you can see, the Secondary host has a maximum limit of only 35 MB storage on the CSV, but it also shows that this is 10% of the Volume. This is clearly not the case since 10% if 600
    GB = 60 GB!
    The question is, why does it by default set a too small limit (i.e. < 320 MB) on the CSV and is this the cause of the problem? I.e. is the limit ignored since it is smaller than the smallest amount you can provide using the GUI?
    Is the default 35 MB maximum Shadow Copy limit a bug, or is there any logical reason for setting a limit that according to the GUI is too small?

  • Our HDB tool  just stopped connecting to the Azure virtual machine

    Our HDB tool just stopped connecting to the Azure virtual machine while it is working fine on AWS. The error we are getting is:
    "HDB -system state cannot be determined. Database connection is not available."
    Any suggestions/comments from the community?
    Thank you
    Koushik

    Update as promised.
    I just went ahead and created a new VM.  All is good!!!!
    Server 2012 (Datacenter)
    Downloaded and installed SQL Server 2012 Standard (Basic install only need the DB engine)
    Configured for mixed mode, etc.  (I did not need to change anything after the install was done)
    Opened endpoints and VM firewall ports
    Tested and worked as expected
    Then went ahead and installed IIS, Web Deploy and updates.
    All is working as expected.  Not sure what I messed up the first go around.
    If anyone comes across this and the docs don't help, just try to set up a new VM (either SQL or Server and install SQL).

Maybe you are looking for

  • How to print from laptop to HP J6480 All-in-One using bluetooth?

    I have a laptop with Vista that is not wired to a printer, but I do have a J6480 in a near room that is hardwired to my desktop.  Both the laptop and printer have bluetooth.  Can I print from my laptop to the printer using bluetooth as the link? If s

  • Several problems, possibly due to updates.[SOLVED]

    My touchpad just stopped working. My flash drive needs to be plugged in at boot to mount. My desktop has failed to load the background a couple times. I updated the system mid afternoon. I have fiddled with rc.conf to try to fix wireless, but I didn'

  • Giving input to jtable from a database in runtime

    friends previously i have posted an query asking how to intilize the row size of jtable in run time for which i got good rewsponce to direct me to an page in sun/components,i read the jtable page in specifie link provided in sun,but i could not figur

  • How print all comments on as few pages as possible?

    In Adobe Acrobat 9 Pro, if you select the options to print all comments, there appears to be no option to colsolidate all comments so that they fill up a page, to reduce the number of pages that you actually have to print. For example, if yo have a 1

  • Removing spikes in image

    I want to remove the spikes in the red,green & blue channels.  When I create a curve adjustment layer above the image, then tweak the highlights my results are more spikes in the histogram, I want as best as possible a nice wave in the histogram. Ima