Avoid checking "the guest operating system has locked the door of CD-ROM. disconnect anyway and replace the lock?

Using PowerCLI, I'm trying to create a script that logs off the CD player and affects the client machine and Passthrough IDE using the command:

Get-cddrive - VM SRVVM616 - netscan02.kb.se | game-cddrive - nomedia - confirm: $false

* (where SRVVM616 - netscan02.kb.se is the VM name in this case)

But I can't get rid of an audit question that arises in vSphere Client:

'The guest operating system has locked the door of CD-ROM...

Unplug anyway and replace the lock? »

The script hangs until I answered the question, and who does the idea of a useless script?

How can I avoid this issue?

Maybe the method I described in answer to the question! could help.

Tags: VMware

Similar Questions

  • Performance problem with the guest operating system

    Hello gurus - I have one of the most unusual questions, I ran into a few time.   Here it is:

    I have a guest w2008R2 OS - installed in a 5.1 version of VM 7 vSpherer - which has an Emulex LPe 12002-E 8 GB dual HBA port is assigned to the as 2 PCI (1 device per port) via DirectPath devices

    The guest operating system has an application that performs backup tests.   WWPN of the HBA is zoned in the fabric and declared in the interface of Compellent Storage Center and everything is good here. the application creates a replay of a volume, mount it as a drive, read all the blocks, then dismantles and moves then repeat the process with what ever additional volumes should be safeguarded.   It is so cool I have do this with a VM right and not a physical host?  (would be cool if I had work NPIV but that's another story, not with technology HBA vendor support...)

    So, what's the problem?   Well, the bed the mounted disk backup will work extremely slow as slow as 5MB\sec flow, then during any other activity takes place on the system the flow jumps up to 150MB\sec all of a sudden and will continue to run fast for a long time and finish jobs on time with each work taking a little more than an hour.  But when the slow going the same work (all jobs are the same, they are simply by reading all the blocks of a bunch of 200 GB volumes and wrote a set of NULL value, do not forget this is just test) takes up to 10 hours to complete.

    I think that what is the culprit?   POWER MANAGEMENT.

    I have just about each performance counter and the journal of events known to man and I don't see anything abnormal on the table, ESXi virtual machine, nothing.  But what I see in the newspapers is any kind of activity that could happen in a transparent manner to save energy.

    FACTS on this case:

    -Reservation of memory is defined (it must be for directpath otherwise, you can't power on the virtual machine)

    -Booking CPU - has not been defined before an hour ago, I gave her just a small reserve for this rule, so I do not know if this will help alleviate the slow flow, or have an effect on what I think is a question of power (unit linked) management

    -windows power management is set to high performance never-ever - but not until an hour there doesn't I changed advanced settings for USB Disabled------turned off.  PCI peripheral energy saving setting was already off.  Which is in contradiction with my theory.  But maybe, just maybe, something is broken somewhere, or could be a bug... blah blah blah

    -the HBA, Emulex, as it appears in Device Manager in the guest OS doesn't have a power management tab to disable the feature, I don't see that the adapter VMXNET3 had this tab, and I turn off the power save setting to be conservative, do not think that it was the culprit, but as there is no real data running through the NIC.  The data is simply to be read from the disk mounted, not copied on any wire Ethernet.  never the less, in the Emulex properties is a Details tab and a selection of power data, and performance data indicate you what power mode, the device is, as well as feeding supported systems.  D0: full power, but D3, which shows as supported by the device, is an energy saving mode.   I could not yet attend the setting at the time of slow activity, my good intention as soon as possible. He is currently shooting in D0, full power.

    This is so what I have to offer on this, I hope that its just...   If I'm missing something, or if others have experienced this massive loss of unknown flow without reason and have resolutions, please share.

    If there is a way for me to disable power on the Emulex HBA management inform you please, I don't mind if I stop to enter the firmware, if that was even possible.  But if possible I would disable it immediately before any new tests are executed.

    The root cause of this issue has never been identified by VMware support which for me is a question of ugly.  Reservation of CPU for the VM using directpath IO with HBA installed in it corrected the problem.  I'd be leary with direct path IO.

  • Adding SCSI - HOST OS card works fine, GUEST operating system does not see the new hardware

    I have a HOST Windows XP Pro SP3 with VMWare v6.5.2 running Windows Server 2003 R2 STD, SP2 as OS GUEST running on any new Dell Precision T3500 Workstation.

    I've closed the COMMENTS and then HOST. Installed an Adeptec SCSI 39160 card in the PC. The card is a 64-bit and is installed in a PCI 32-bit slot. (It is backwards compatible with 32 - bit)

    Powered on PC. Install the drivers of Adeptec on the HOST. Works fine and I can see the card under Windows XP. Rebooted and everything is always OKm POST shows the installed card and search devices. I have no device attached at this point.

    GUEST operating system has started and it does not automatically detect the card. Tried to run the Add Hardware Wizard and same result. Tried to use VMWare to install the new Hard ware with no result.

    Can tell you how I can get the OS TO see / use the new SCSI card?

    golden rule:

    old guest will love the buslogic controller

    new comments will love the lsi-logic controller

    It depends on your guest

    ___________________________________

    VMX-settings- VMware-liveCD - VM-infirmary

  • Guest operating system is hard duplicate files

    The guest operating system has 4 virtual drives mapped on it (36 GB, 36 GB, 146 GB and 17 GB), they're all on the same data store.

    I recently ran into a problem of the short of space data store and noticed that this server has files vmdk file duplicate for each of these disks (as shown in the attached picture).  I'm guessing that VDR create snapshots, and it has messed up at one point (VDR does not currently work for this server).

    The original vmdk files were:

    cnmonitoring1_1.VMDK

    cnmonitoring1_2.VMDK

    The news are:

    cnmonitoring1 - 000001.vmdk

    cnmonitoring1_1 - 000002.vmdk

    etc...

    It seems that all virtual disks are mapped to the new vmdk files.

    I need to get this server cleaned, so I can reclaim space.  The data store is a total size of 500 GB and all the servers on this data bank should be around 350 GB, but I currently only 42 GB free because of this server.

    Thanks in advance,

    Matt

    Welcome to the community.

    These files are snapshot files.

    Have you consolidates your wink, but you need to free up space.

    Or you can clone your virtual machine in another data store (this will consolidate the last State).

    André

  • Help. The CPU has been disabled by the guest operating system. Power off or reset the virtual machine. WHY?

    Greetings.

    I have a 5.5 with an operating system Red Hat 5.10 ESXi environment. The OS worked fine until a few days ago. ESXi displays the error "the CPU has been disabled by the guest operating system. Power off or reset the virtual machine. I Don t know why my server displays the error if my environment was OK. Could be a kernel problem? operating system problem?

    Ideas?

    Thanks for the help.

    Have a look here. http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=2000542

    Did you recently patch your VM? Looks like when the guest operating system runs the incorrect commands that it can have a deactivated processor.

  • CPU has been disabled by the guest operating system error

    Running VMPlayer 3.1.3 version 324285 build on Windows 7 Enterprise 64 bit with 8G of memory.

    When I try to install some VMs based on Linux of ISOs, in a few seconds, I get the error:

    "The CPU has been disabled by the guest operating system. You must turn off or reset the virtual machine at this point. »

    (See also the screenshot attached)

    This happens on other ISOs based on Linux/Windows. I googled the web & VMTN, but have not found relevant

    answer my question.

    Thanks in advance

    Alex

    Hello

    What operating system is tryining install you?

    Take a minute to watch in VMware Compatibility Guide: search guest conductor /and try to upgrade to a version 3.1.4 If your system does not support the direct execution of 64-bit.

    Concerning

  • CPU pegged at 100% in the guest operating system

    Hi all

    New to this forum, so I hope I'm posting in the right place. Note that I'm not our VMware admin, but rather, I have a server I have to admin that has been converted to VM via the P V. apparently process, our group has converted nearly 50 PMs successfully and of course one of mine is the only one who has a problem now. We have a custom application that has been developed to synchronize data between ESRI GIS and databases SAP. The code is about 7 years old and runs on a version of Oracle (9.2) and is Java based, both on the same vintage. It is not possible to upgrade by the creator going out of business and not having is not the source code. I ask this to understand that the problem is probably with the programming, but thought it was worth it.

    Anyway, one of our guard batch process fail with a Java out of memory error on the virtual machine. It works well on the PM. A consultant ran the diagnosis with a Profiler memory on the virtual machine and concluded that the program never went beyond 256 MB and we have 1 GB allocated to the guest. We now consider the CPU issues. The only other thing we know is different is a matter of hyperthreading (HT). The PM is certainly HT'd (1 physical CPU showing that 2) and it does not appear that this setting met on the virtual machine. When you run the package on the PM, we see 2 CPUs in the Task Manager, and neither hits 100% for more than a few seconds for the whole process. On the virtual machine, we see a flatlined CPU and it is 100% most of the time until it fails about 15 min in.

    The sysinfo on the virtual machine shows a 2400 MHz CPU, while the PM shows (2) 3400 MHz CPU (due to HT). I checked all my other virtual machines, and they are all 'show' 2400 MHz, so this must be a virtual standard machine type? I think that the virtual computer guest has access to the CPU ramp according to the needs, but then I'm not clear why the task manager would show that he attached the entire lot? It is likely that task manager prompt indicates whether flatlined to 100% of a 2400 Mhz CPU, even if she isn't really the most? If this is really the most, our admin should not be able to increase the dedicated CPU (I looked at the console with him and did not see an obvious option for this)? Is it possible to enable hyperthreading on the * comments * OS to mimic what has had on the PM? We cannot add another CPU to the guest due to licensing issues. Oh yes, the guest operating system is windows server 2003 and VMware ESXI 4.1 server. Thank you very much!

    G

    The speed of the CPU that you see is the speed of the physical processor in ESXi hosts. You cannot increase this speed, however - licensing - usually, you can assign two vCPUs, virtual machine as a dual CPU core instead of 2 processors. This option has been added to ESXi 4.1. See http://kb.vmware.com/kb/1010184 for more details.

    What you need to do is to set the number of processors to 2 and add the advanced parameter cpuid.coresPerSocket = 2.

    André

  • 10 mb on the guest operating system network connection

    I just installed ESXi 4.0 on a server that has 6 physical Gigabit NIC I only got one of them enabled for now. I created a new virtual machine with a clean install of Windows XP Pro and I was quite surprised to find that when finally completed XP installation, she did know that the speed of 10mbit NETWORK card. Although the physical NETWORK adapter on the server is a Gigabit NIC, its connected to a 10/100 switch and the lisghts on the connection stating that the ESXi NIC host operating at 100 Mbps. Is there a reason why the guest operating system should see a 10mbit connection?

    Concerning

    Eugene Gill

    I agree with the previous post, but it should also check your network connection on your host computer speed (host, configuration tab, click on networking) to see how fast has been negotiated.

  • T of what guest operating systems will start the VMware Support for EFI?

    Is there a list of support guest OS for the EFI firmware?  Mianly supported by VMware - do not try, fail, call support technique etc etc.   My experiences on the TP forums, I guess that there is not.  Some OS (such as Windows Server) come with a screen to choose BIOS/EFI firmware.  If not, you need to go to setting > Hard Drive OPtions-> advanced _ > boot using EFI.  In particular there at - it versions of Linux that you give you option of BIOS/EFI firmware before the confutation of VM is complete, so the hard drive then be custom.

    We will officially support the EFI firmware for any guest operating system to which all the following conditions are met:

    • We list this guest operating system, supported in the VMware Compatibility Guide for operating systems and your virtualization product.
    • The guest operating system supports EFI in the operating system installation media.
    • Support the guest OS EFI has no catastrophic flaws (for example Fedora 12 x 64, FreeBSD 11, Centos 6.0 through all the 6.2 have catastrophic flaws).

    New computer virtual assistant of 11 workstation has only the option of EFI firmware for Windows clients.  Special mention, do not yet support us Easy Install for non EFI customers in 11 workstations.  For all other customer support EFI OSes, you can do a manual installation after choosing the EFI firmware in the virtual machine settings > Options > Advanced > Boot with EFI instead of the BIOS.

    I don't understand your concern about the personalization of the hard drive... Could you elaborate?

    See you soon,.

    --

    Darius

  • The VM startup slow down, delay long before the guest operating system begins startup

    Evaluation of VMWare to set up the VM for the maintenance of the software. Set up a virtual machine, install Windows 7 SP1 32-bit, everything works well. Once started, the performance is excellent.

    The symptom is that when you start the virtual machine, either starting from cold boot or suspend, there is a significant delay before the power of VMware on / start screen is displayed. Once it appears, the operating system starts starting (or the recovery of wakefulness) quickly and performance is normal after that. During the start-up period, the whole system is insensitive, host and guest operating system.

    See the extract of newspaper below to 09:54:28.619 moment where the delay occurs followed by the entry concerning 09:55:11.625 time when start continues, a delay of 43 seconds during which nothing seems to happen and the system does not respond. After that, everything is fast.

    Any ideas or suggestions?

    More info...

    VMware Player version 6.0.1 build-1379776

    Host PC: Dell Optiplex, Intel Core2 Quad Q9650 3.00 GHz ABLE to

    Installed memory: 4.00 GB (3.25 GB usable)

    Boot disk C: Intel SSD, 180GB (where the VMware is installed)

    Data disk F: Seagate 1 TB (where the virtual machine)

    SE host: Windows 7 Professional 32-bit SP1

    Guest OS: Windows 7 Professional 32-bit SP1

    excerpt from VMware.log:

    2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: VMMEM: initial booking: 1442MB (1024MB = MainMem)

    2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: MemSched_PowerOn: minGuestSize ball 104857 (80% size required min 131072)

    2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: MemSched: mem reserved (in MB) min max recommended 128 2493 2493

    2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: PShare: activated 1 1 Adaptive scanRate [16, 400]

    2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: MemSched: mem 5159 262144 np 35890 pg 590258 anon

    2014 02-19 T 09: 55:11.625 - 05:00 | VMX | I120: MemSched: numvm 1 locked pages: num 0 max 605661

    2014 02-19 T 09: 55:11.626 - 05:00 | VMX | I120: MemSched: locked Page limit: host 638514 config 638208 dynam 613853

    2014 02-19 T 09: 55:11.626 - 05:00 | VMX | I120: MemSched: minmempct 50 minalloc 0 admitted 1

    2014 02-19 T 09: 55:11.626 - 05:00 | VMX | W110: NUMA: application of automatic dimensioning VM ignored

    configuration (.vmx) VM file:

    . Encoding = "windows-1252".

    config.version = '8 '.

    virtualHW.version = "10".

    scsi0. Present = 'TRUE '.

    scsi0.virtualDev = "lsisas1068".

    SATA0. Present = 'TRUE '.

    memsize = "1024".

    MEM.hotadd = 'TRUE '.

    scsi0:0. Present = 'TRUE '.

    scsi0:0. FileName = "BCDEVVM.vmdk".

    SATA0:1.present = 'TRUE '.

    SATA0:1.filename = "E:".

    SATA0:1.DeviceType = "cdrom-raw"

    ethernet0. Present = 'TRUE '.

    ethernet0. ConnectionType = "bridged".

    ethernet0.virtualDev = "e1000".

    ethernet0.wakeOnPcktRcv = "FALSE".

    ethernet0. AddressType = 'generated '.

    USB. Present = 'TRUE '.

    EHCI. Present = 'TRUE '.

    ehci.pciSlotNumber = "35".

    Sound.Present = 'TRUE '.

    sound.virtualDev = 'hdaudio '.

    sound.fileName = 'speakers (SoundMAX Integrated D.

    Sound.AutoDetect = "FALSE".

    MKS. Enable3D = 'TRUE '.

    Serial0.present = 'TRUE '.

    Serial0.FileType = "thinprint".

    pciBridge0.present = 'TRUE '.

    pciBridge4.present = 'TRUE '.

    pciBridge4.virtualDev = "pcieRootPort"

    pciBridge4.functions = '8 '.

    pciBridge5.present = 'TRUE '.

    pciBridge5.virtualDev = "pcieRootPort"

    pciBridge5.functions = '8 '.

    pciBridge6.present = 'TRUE '.

    pciBridge6.virtualDev = "pcieRootPort"

    pciBridge6.functions = '8 '.

    pciBridge7.present = 'TRUE '.

    pciBridge7.virtualDev = "pcieRootPort"

    pciBridge7.functions = '8 '.

    vmci0. Present = 'TRUE '.

    hpet0. Present = 'TRUE '.

    usb.vbluetooth.startConnected = "FALSE".

    displayName = "BCDEVVM."

    guestOS = "windows7"

    NVRAM = "BCDEVVM.nvram."

    virtualHW.productCompatibility = "hosted".

    gui.exitOnCLIHLT = "FALSE".

    powerType.powerOff = 'soft '.

    powerType.powerOn = 'soft '.

    powerType.suspend = 'soft '.

    powerType.reset = 'soft '.

    extendedConfigFile = "BCDEVVM.vmxf".

    gui.lastPoweredViewMode = "full screen".

    UUID. BIOS = "56 4 d d2 32 bb c9 b7 bd 3 c d2 46 59 38 e3 e6 f2"

    UUID. Location = "56 4 d d2 32 bb c9 b7 bd 3 c d2 46 59 38 e3 e6 f2"

    Replay.Supported = "FALSE".

    Replay.FileName = «»

    scsi0:0. Redo = «»

    pciBridge0.pciSlotNumber = "17".

    pciBridge4.pciSlotNumber = "21".

    pciBridge5.pciSlotNumber = "22".

    pciBridge6.pciSlotNumber = "23".

    pciBridge7.pciSlotNumber = "24".

    scsi0.pciSlotNumber = "160".

    usb.pciSlotNumber = "32".

    ethernet0.pciSlotNumber = "33".

    sound.pciSlotNumber = "34".

    vmci0.pciSlotNumber = '36 '.

    SATA0.pciSlotNumber = "37".

    scsi0.sasWWID = "50 05 05 62 bb c9 b7 b0.

    ethernet0.generatedAddress = "00: 0C: 29:E6:38:E3.

    ethernet0.generatedAddressOffset = '0 '.

    vmci0.ID = "1508260067".

    vmotion.checkpointFBSize = "134217728.

    cleanShutdown = 'TRUE '.

    softPowerOff = 'TRUE '.

    USB:1.speed = '2 '.

    USB:1.present = 'TRUE '.

    USB:1.DeviceType = "hub".

    USB:1.port = "1".

    USB:1.parent = "-1".

    SATA0:1.AutoDetect = "FALSE".

    tools.syncTime = "FALSE".

    unity.wasCapable = "FALSE".

    tools.remindInstall = "FALSE".

    toolsInstallManager.updateCounter = '1 '.

    checkpoint.vmState = «»

    Monitor.virtual_mmu = "automatic".

    Monitor.virtual_exec = "automatic".

    USB:0. Present = 'TRUE '.

    USB:0. DeviceType = 'hidden '.

    USB:0.port = "0".

    USB:0.parent = "-1".

    USB. Generic.AutoConnect = "FALSE".

    serial1. Present = 'TRUE '.

    serial1. FileName = "COM1".

    floppy0. Present = "FALSE".

    Hello

    I know what you want to say as I've seen sometimes as well. But especially on older hardware or if there are problems with regard to particular resources. For example I saw this on an ESX host (yes I know product different) where there was a problem with the storage not enough providing IOPS / s.

    I saw also this on older versions of Linux (IIRC 7) workstation where the host had an Atom based CPU, there I updated to more RAM and a more recent version of the workstation and the problem disappeared.

    Then I also saw it on the 4/5 merger when my host operating system was out of memory and I tried to start another operating system to prompt anyway.

    I do not consider a normal behavior for the slow start and does not respond, it is an indication that the hypervisor is seeking some resources, but does not receive them fast enough.

    The reasons can be many. Indeed things like antivirus could be biting you if she tries to analyze all files (including virtual disks) at their opening.

    FWIW, I also understand the support response as would be expected if your host is a bit thin on the resources (for example, trying to start a VM 1 GB on a host Win7 with only 3.5 GB of RAM) and if the virtual machine runs OK after the initial startup delay, it's mostly just an annoyance.

    --

    Wil

  • Sharing of content between the guest operating system

    Hello

    Y at - it a simple way to share content between operating systems.

    We have invited several BONES that make similar task. Run us simultaneously with the slightly different variant, but basically, most of the files that are needed in each guest operating system are the same.

    What I want to achieve is to build a repository of centralized files accessible across operating systems. I'm running Win7 and WinXP Win2008 OSes on ESXi 5 comments.

    I found this thread, but it is too old.

    http://communities.VMware.com/message/630923#630923

    I'm hoping there have been changes since that thread has been discussed.

    Thank you

    Well, I can't tell you much about the user experience expected without knowing the network load. However, if install you the file server as an another VM on the same host, you will have at least a 1GBit/s connection between the virtual machines.

    André

  • Antivirus on the guest operating system

    Hello:

    When the host operating system has an antivirus and is updated in the calendar, the guest operating system needs a separately installed antivirus? Because the internet connection through the host operating system, won't Take Care of any potential threat antivirus agenda

    ... no antivirus (host) take care of any potential threat?

    Not necessarily.  For example, if the virtual machine is set to bridged networking, then the virtual machine appears like any other physical machine on the network and is NOT protected by AV. host if you set NAT network, the host behaves as a personal router (e.g.: Linksys box.)  Always install you an AV on your computer, even if you have a hardware router.  So even for your virtual machine.

    Others will probably give many examples more and better than I, but as a general rule, treat your virtual machine just like any other machine.  If you have installed an AV on a physical machine with this OS, you must install an AV when the OS is virtual.

  • Trouble installing the guest operating system

    All,

    Having trouble installing the guest operating system - Windows XP SP3. I followed the directions of the booklet that I try to boot from a local image and a CD. I can't able to get into the setup of the BIOS to start the virtual machine when you press F8. I am currently on a decentralized network that starts his BONES from a PXE server. When I turn on my VM, its shows the boot process than my actual desktop. I tried many configurations, but still problems. All instight would be useful. Thank you.

    Welcome to the forums!

    To enter the VMWare guest BIOS press F2, no F8.

    You can also add 'bios. BootDelay = 10000 "in the prompt .vmx file. This gives you more time to press F2.

    The virtual guest has a CD-ROM attached to it?

    Is it "connect to turn on?

    Is it connected to the physical machine (where the OS CD is inserted)?

    AWo

    VCP 3 & 4

    Author @ vmwire.net

    \[:o]===\[o:]

    = You want to have this ad as a ringtone on your mobile phone? =

    = Send 'Assignment' to 911 for only $999999,99! =

  • How do I redo effect after restarting the guest operating system?

    Hi all

    I use VMWare Server 2 and VMWare Player 2.x. We had to redo it to hard drive. But it is only valid after the power off and power on the guest operating system.

    We want to be effective after the guest OS restarts from himself.

    Our guest operating system is Windows XP Pro 32 bit, server host is OpenSUSE 11.1, player host is Windows 7.

    Thanks in advance.

    Kind regards

    Cavendish

    Hello

    According to Manual of VMware server, you can only discard all changes the disk not persistent after power out voltage or reset.

    You can use the reset vmrun command if you want to turn off your virtual machine. You must use the reset option (it has the same function as Reset button on the real machine).

    J.

    If you have found this device or any other answer useful please consider the use of buttons useful or Correct to award points.

  • Binds a guest operating system to one of the two network adapters on the host computer?

    Sorry if the topic is confusing.  I have a host operating system to Server 2008 running on a server that has two network jacks.  Allows to call an (192.168.10.24) and B (192.168.10.25).

    My guest operating system is set to bridged with the IP 192.168.10.26 mode

    I want to say VMWare to always use A NIC when it comes with this guest operating system.  Is this possible?

    In my (Control Panel Windows) network connections, I see my two NICs A and B as well as VMWare Network Adapter WMnet1 and VMnet8.

    Thank you!

    Run the utility for configuring the network (vmnetcfg.exe) as an administrator on the host computer, disable the automatic bypass, set vmnet0 to one of your physical network cards and a virtual NETWORK adapter not used, such as VMnet2, and then assign the other physical NIC. Then to your comments, change its settings and select vmnet0 or vmnet2.

    Guy Leech

    VMware vExpert 2009

    ---

    If you have found this device or any other answer useful please consider the use of buttons useful or Correct to award points.

Maybe you are looking for