Let guestOS auto repair/re-install VmWare Tools after update?

As I learned that VmWare Tools installation in guestOS (Ubuntu or Solaris, for example) can be destroyed when the guestOS is updated

(for example a new kernel resp. drivers change).

Is it possible to leave the guestOS AUTOMATICALLY installs/re-repair VmWare Tools in such a situation?

I don't want to worry about Vmware tools more after the first installation.

Matt

Hello

Take a look at this http://www.tuxyturvy.com/blog/index.php?/archives/48-Automating-VMware-modules-reinstall-after-Linux-kernel-upgrades.html

Tags: VMware

Similar Questions

  • Windows 2008 Server Core - install VMware Tools

    I am running VMware Workstation V9.0.1 build-894247 on Windows 7 Enterprise 64-bit.  I'm trying to install VMware tools on an o/s comments running Windows 2008 Enterprise (Core).  I am able to run the installation (using d:\setup.exe) but the services tools fail on the o/s comments every time.  I uninstalled / reinstalled / repaired several times without a bit of luck.

    The error that I get during installation or repair is:

    VMware tools error

    Fatal error VMware Tools: (vthread-3)

    Exception 0xc0000005 (access violation) occurred.

    You can request Support

    ...

    I'm unable to run the script in vm - support.vbs on the o/s of comment due to the following error:

    VM - support.vbs line: 249 Char 9

    Error: Invalid root in registry key

    "HKLM\SOFTWARE\Microsoft\Shared Tools\MSINfo\Path"

    Code 800700002

    Source: WshShell.RegRead

    Anyone have any suggestions for the installation of VMWare tools in Server 2008 Enterprise (Core)?

    Looks like the same question as http://communities.vmware.com/thread/429432

    It seems that Windows 2008 Core is not explorer.exe, and it is part of the tools dealing with the integration of the unit which does not handle this correctly.

    Try to delete the following file tool to disable the functionality of the unit, and restart Windows:

    C:\Program VMware Tools\plugins\vmusr\unity.dll

    The rest of the functionality of tools such as changing resolution and copy + paste should continue to work even without the Unity plugin.

  • Upgrade to 2.0.6 Fusion and when "install VMware tools" is selected - nothing happens

    First time poster.  Search discussions but have not seen a solution to my situation (I hope that I was not missing).  After you have made the choice to install VMware Tools, the option under the Virtual Machine then offers a selection of "Cancel VMware Tools Installation" but seems to be charged is stuck.  Yellow warning sign icon at the bottom right highlights "VMware tools can be improved" and when you click it, a context menu appears asking permission for Windows host process (Rundll32) to run and do so brings the VMware tools properties but clicking OK or update tools does nothing.

    Any help would be appreciated.  I am running Snow Leopard with Vista in my VM.

    When clicked on install VMware Tools in the menu of the Virtual Machine that fusion inserted the ISO image in the CD/DVD and in the case of the Windows OS if the VMware tools set up does not automatically that the user must manually run the setup.exe from the CD/DVD drive.

    If for example you should just start button and in the search box, type d:\setup, where "d:" is the drive letter assigned to the CD/DVD and then the installer should appear in the list and you can just double-click it.

  • Impossible to install VMware Tools in Fusion 2.0.2

    Just migrated from Parallels 4 to VMware Fusion 2.0.2 (Build 147997).

    Got the merger by download and imported the Parallels 4 VM.

    With the help of Windows XP Professional on MacBook Pro 2.16 GHz Intel Core Duo (OSX 10.5.6).

    Whenever I chose the Virtual Machine > install VMware Tools, nothing happens.

    Just change the "Cancel installing VMware Tools" menu option.

    Anywhere where I can download the file and install in my Windows XP or another option?

    Help, please

    When you choose Virtual Machine > install VMware Tools what happens is inserts ISO Image to VMware tools appropriate in the CD/DVD of the merger and Windows if the Auto-Insert Notification does not work then you must manually run the : \setup.exe in Windows Explorer. (Sure would be nice if VMware that would in the help file and it makes absolutely no sense that it is not there in the first place!)

    Note: These ISO Images are stored at: "/ Library/Application Support/VMware Fusion/isoimages.

    If needed you can manually mount the image appropriately, if necessary.

    VMware Fusion (menu bar) > help > VMware Fusion help > managing Virtual Machines > configure the CD/DVD drive > connection and setting upward a CD/DVD Drive

  • Cannot install VMWare Tools for Windows MCE

    Previously, I had Windows MCE installed and running on the VMware 1.x tools.

    I upgraded to VMware 2.0 and now I can't get the tools to install. When I click on "Install VMWare Tools", it brings up a window with the following in it:

    VMWare tools is not supported on this operating system.
    Check
    configuration of the virtual machine to make sure that the settings match to the
    operating system installed. See the documentation for more details
    on the guest operating systems supported.

    I checked the configuration of the virtual machine and this shows that the Windows operating system, as selected.

    I am running VMWare on Ubuntu 8.10, if that matters.

    Any suggestions?

    Thank you

    David

    Hello

    I compared it with mine and there are 2 major differences.

    First of all, I use older virtual material (version 4 instead of 7) but I do not expect that this is relevant to this problem. In addition, it makes little sense to use older virtual hardware unless your virtual machine must be compatible with VMware ESX. For example the old version of HW I use excludes the directx features, and you probably want to use.

    The other main difference is guestOS, in my version, it has the following value:

    guestOS = "winxppro"
    

    Could you try that and see if it helps?

    If this does not help then I'm afraid, we're going to need more details. In this case it might be useful to the vmware.log file loading

    One thing you might try must in any case completely re - install VMware tools in removing it first.

    In order to do not find themselves trapped by the windows activation logic or other inconveniences while experimenting, I recommend taking a backup of the virtual machine when it is completely stopped before doing anything else.

    --

    Wil

    _____________________________________________________

    Visit the new VMware developers at http://www.vi-toolkit.com wiki

  • Catch 22 tries to install VMware Tools

    I created a Windows 7 VM from a physical PC. I 'play' on a Player 10 Windows via VMware Workstation 12 host, connect to the guest and then click on the "Install tools" button in the player. I see this error message:

    "The virtual machine must have a virtual CD/DVD device to install VMware Tools."

    OK, so I turned off the guest who also ends the player, rerun the player, select the virtual machine and click on "Edit virtual machine settings". On the Hardware tab, I click on the Add button, select "reader of CD/DVD", click Next, select the "use ISO image" radio button (because I guess that's what the error message means by "virtual CD/DVD"), and then click Next, and then I get invited to an ISO image. And that's the Catch 22 - the error message indicates that the player has just need a virtual device, not an ISO, but when I try to add a virtual device, the player wants an ISO.

    How to break this vicious circle and install VMware Tools?

    I thought about it myself the answer to a question on the superuser. Here are the steps:

    1. Stop the virtual machine
    2. Run the drive and select the virtual machine
    3. Click on "Edit virtual machine settings".
    4. Click on "Add..." "in the Hardware tab
    5. Select "CD/DVD Drive", and then click Next
    6. Select the "use ISO image" radio button and click Next
    7. Navigate to C:\Program Files (x 86) \VMware\VMware drive and double-click windows.iso
    8. Uncheck the box "Connect to light" (probably any) and click on finish
    9. Click OK
    10. Click on "Play virtual machine."
    11. Log on to the virtual computer
    12. Click installation tools
    13. Follow the instructions in the installer
  • Cannot install VMware Tools on Windows 10

    Having trouble installing VMware Tools on a Win10 business VM (vSphere 5.5). Installation lance then anything beyond that never reports. Is there something special that needs to be done to make this work?

    -Thank you

    Also have installed the Update Manager plugin that reports the status of inconsistent compliance.

    When you install the tools, you choose the Interactive installation or the Automated one?

    Try the Interactive installation instead.

    I also have a second comment from Andrew on Firewall/Antivirus possibly block Setup.  Try turning it off.  In addition, you may have to disable UAC.

  • Cannot install VMware Tools.

    Hello

    my client have esx1 and esx2 - vSphere vCenter device 6.0 and 6.0 knots. When I try to install VMware tools on Windows Server vm = error:

    VIX 21001 = error code

    Cannot install VMware Tools. An error occurred trying to access the image file ' / usr/lib/vmware/isoimages/windows.iso ' to install VMware Tools: 2 (no such file or directory). If your product comes with the module of VMware tools, VMware ESX to reinstall, then try again to install the VMware Tools package in the virtual machine

    When I connect to esx1 via Putty and check ' usr/lib/vmware /-the 'isoimages' folder missing.»

    Please, what is faster solution?

    CZ THX

    Hello

    problem solved...

    I don't know why, but on esx1 - Local Direct USB access - declined, I restarted esx1 and now works perfectly

    so, I lost my network settings

    THX

    Tom

  • How to install vmware tools in a virtual machine running in the drive on an Ubuntu host?

    I have a host of Ubuntu (Ubuntu LTS 14.04.2)

    I have a virtual of Fedora (4.0.4 - 301.fc22.x86_64) and I would like to install vmware tools in the virtual machine.

    When I select the player VirtualMachine-> reinstall VMware Tools...

    I get a prompt in a box on the screen.  It is said:

    The following software are available for download:

    VMware Tools for Linux version 9.9.3

    What do you do?

    X Cancel |  Download and install

    Of course I choose to download and install (kind of silly question - why I want to cancel?)

    So instead of download the tools I want to install, it says:

    Your permission is required to install an update to VMware.

    Please enter the root password to move forward.

    Password: __________

    not serious.  Now, he's looking for what root password?  The virtual machine or the host?

    I have try the virtual machine and it works-not "incorrect password... try again."

    ... well Ubuntu is not a root user.  So, I try the password for the user with root privileges

    "incorrect password... try again."

    Then, he does not.

    Not very satisfying.

    The instructions that I found in my research right you will say to take the step to obtain the Tools package then (well, nothing of the rest of it is important if the tools are not available to me).

    Suggestions?  Advice?

    The required password is for the host.

    A workaround of functions is "sudo su -" of ubuntu host, then start vmplayer from the root prompt.  You must browse the virtual machine since the user doesn't have a history of openness yet... but then there is no prompt asking for a password when you try to download the tools.

  • PowerShell remoting to install VMWare tools

    Greetings

    It is true that it is probably focused more on PowerShell and less on VMware VMware tools is the target

    I'm trying to write a script to install VMware tools remotely on the virtual machines that do not have VMware tools installed.

    So far I have the below...

    Import-Module VMware.VimAutomation.Cis.Core

    Import-Module VMware.VimAutomation.Core

    Import-Module VMware.VimAutomation.HA

    Import-Module VMware.VimAutomation.Sdk

    Import-Module VMware.VimAutomation.Storage

    Import-Module VMware.VimAutomation.Vds

    Se connect-VIServer vCenterserver.domain


    $username = "domain\username"

    $SecurePassword = Read-Host -Quick ' Enter * FIELD * password " -AsSecureString

    $Credentials = New-Object System.Management.Automation.PSCredential '

    -ArgumentList $UserName $SecurePassword


       $VM = "Test01"

       Get-vm $VM | Dismount-Tools

       Get-vm $VM | Mount-Tools

    $RMsession = New-PSSession -ComputerName $VM -Credential $Credentials

    Invoke-Command -Session $RMSession -ScriptBlock { }$CDRom = Get-WmiObject -class Win32_CDROMDrive | select Drive | ForEach {$_. {{ Drive}}

    { Invoke-Command -Session $RMSession -ScriptBlock { }$Subpath = '\setup.exe s-v - SB ADDLOCAL = all THE REBOOT = R'}

    { Invoke-Command -Session $RMSession -ScriptBlock { }$ExecuteEXE = Join-Path -Path $CDRom -ChildPath $Subpath}

    { Invoke-Command -Session $RMSession -ScriptBlock { }start-process $executeEXE}

    output

    Remove-PSSession *

    Disconnect VIServer * -confirm:$False


    I confirmed that $executeEXE = indeed Z:\setup.exe s - v - SB ADDLOCAL = ALL REBOOT = R

    When I run the script in the ISE, I get:

    Start-Process: this command cannot be executed due to the error: the system cannot find the specified file.

    Online: 1 character: 14

    + start-process < < < < $executeEXE

    + CategoryInfo: InvalidOperation: (:)) [Start-Process], InvalidOperationException)

    + FullyQualifiedErrorId: InvalidOperationException, Microsoft.PowerShell.Commands.StartProcessCommand

    It is true that I am very inexperienced with PowerShell remoting.

    It seems that when I run the script it seems in fact be invoking the command on the remote computer, but rather on the local computer. VMware tools are piling up and the path in $executeEXE is 100% correct and the PSSession is also open, no doubt, but not magic?

    Any guidance would be greatly appreciated.

    Greetings LucD

    Looks like I may have found the problem.

    Looking for a way run the background process, so that I can do a get-process, while he was running to show he was running, I discovered that start-process allows you to specify the - ArgumentList parameter. (windows - start a detached in PowerShell background process - Stack Overflow) (2 responses)

    So, it looks like this:

    Invoke-Command - Session $RMSession - ScriptBlock {"$CDRom = Get - WmiObject - class Win32_CDROMDrive | select drive"}

    | ForEach {$_.} Disk}; $Subpath = '\setup.exe '; $ExecuteEXE is $CDRom join-Path-Path - ChildPath $Subpath;. start-process $executeEXE - ArgumentList's - v - SB ADDLOCAL = ALL REBOOT = R'}

    To my surprise translates:

    [Test01]: C:\ PS > Get-Process of installation *.

    Manages the NPM PM (K) k VM (M) CPU Id ProcessName

    -------  ------    -----      ----- -----   ------     -- -----------

    68 10 1540 5088 56 3220 0.17 setup

    108 10 2324 7340 76 0.14 3504 setup64

    And VMware tools installed.

    Thank you very much for your time and trouble. Always very appreciated!

  • VMware Workstation 11 crashes after installing VMware tools

    As the title suggests, VMware Workstation 11 crashes after installing VMware Tools with a guest Windows 7 x 64. I am running VMware on a host Windows 7 x 64. It happens every time I try to install the guest operating system. Attached to this post are all the newspapers that I could find that I thought would help solve the problem.


    Thank you

    Wila

    Hello again,

    Maybe the following post helps (where you installed Visual Studio)

    How to troubleshoot Workstation (vmui) - Access Violation Crash? How to troubleshoot Workstation Crash (vmui) - Access Violation? How to troubleshoot Workstation Crash (vmui) - Access Violation?

    --

    Wil

    As you may already know, VMware has just released a major update for 11 workstation (including VMware tools updated). Workstation now works almost perfectly. I don't have accidents since then. This means that I have was right in my post above. This is indeed nothing more than a BETA version of VMware buggy, lazy, masked as a "final". Wow, it looks like that a respectable company like this would not resort to such unethical practices. I mean that you would expect this kind of crap of a company like Electronic Arts, but VMware? Come on guys, you're better than this!

  • Cannot install VMWare tools on first installation of VMW Player for Windows

    Y at - it a tip to install VMWare Tools on VMW Player for Windows.  Tried as a Player 7.1.1 and 6.0.5.

    I downloaded the "darwin" and "windows versions" of tools with version management for versions of reader (for Player 6.05 6.05 tools).  But I don't know how to get VMWare to see downloaded files.  I connected the darwin.iso in the folder of the payload for the CD/DVD drive under settings of the virtual computer.

    I always get a dialog box with this message when I select install VMWare Tools in the menu:

    "Cannot find component on the update server. Contact VMware Support or your system administrator. »

    If you have the appropriate iso image attached to the guest, you have no need to use the "Install VMware Tools" menu - it's all that.  Go to comments and run the installation from the CD-ROM drive.

  • The Installation of VMWare tools failed. In any case to force the update/install VMWare tools?

    I used to use VMware Workstation 10 and recently upgraded to VMware workstation 11.  However, whenever I try to install a newer version of VMware tools, it will fail with message saying something like "VMware Tools can be installed in the Virtual Machine.

    Yes, I am trying to install VMware Tools within the guest operating system, but I get this notification for all my virtual machines, I'm running.

    I'm under 6 Virtual Machines simultaneously and they run on Windows 7 32 bit OS and configured with 4 GB of RAM, 1CPU, 100GB HD + 5 GB second HD for the swap file, NO printer, no sound card.

    For each virtual machine, I changed about 50 + key of Windows registry and detect the values to hide from all the programs that they are running on the virtual machine.

    I assume due to records, I changed, it confuses VM installer who it is not running on a Virtual Machine.  Then I tried to change all these registers changed to send it back to the original value, yet I is always the same message.

    I must be missing either some registry values or values that I restored is false. But I don't know which is the case.

    I can simply delete all my Virtual Machines and start again with the new virtual machine, but I don't want to repeat this process whenever a newer version of the VM tools out. and installation of windows and search and replace registry values for each virtual computer is full of works.

    So, here is my question.  Anyone know how to force the update / install VM tools in my virtual machine?

    P.S. I added under scripts in the file .vmx for each of the virtual machines.  I don't think it would cause the problem but just in case I include it.

    SVGA.vramsize = 268435456

    monitor_control.restrict_backdoor = "" true ".

    insulation. Tools.getptrlocation.Disable = 'true '.

    insulation. Tools.setptrlocation.Disable = 'true '.

    insulation. Tools.setVersion.Disable = 'true '.

    insulation. Tools.GetVersion.Disable = 'true '.

    monitor_control.disable_directexec = 'true '.

    SMBIOS.reflecthost = 'true '.

    memtrimrate = '0 '.

    mainmem.usenamedfile = "false".

    sched.mem.pshare.Enable = "false".

    prefvmx.userecommendedlockedmemsize = 'true '.

    Tent Installer to get the version information of the hypervisor of underling to see if it is a VM or not.  This is done by contacting by back door.

    Setting monitor_control.restrict_backdoor = "true"prevents communication."

  • Impossible to install VMware tools in Win 2012 R2 guest

    Hi all

    just upgraded merger 7.0.1 for 7.1.0 because I thought that he could solve this problem:

    After you have configured the client Win 2012 R2, I try to install vmware tools, choosing the option in the VM menu. But I always get the message "not available for this customer to vmware tools" (hope translation is exactly the same of my installation of German fusion...).

    Only the seams Win 2012 R2 to be affected. Linux, OS X, Win XP/7 works fine.

    Any idea?

    Thank you, david

    I met the same problem.   You need to do a manual installation of the vmware tools (http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1003417).

  • What happens in terms of performance, if I didn't install VMware tools on linux with NIC defined as VXNET3

    Hi Experts,

    I would like to understand the following:

    Currently, I have a server with 10 G interfaces (u1, ESXi 5.5) and I installed SUSE linux as a virtual machine with adapter NIC VXNET3, but I don't want to install VMware tools. According to the article, VMtools are needed for VXNET3

    VMware KB: Choose one network adapter for your virtual machine

    So my question is: what happens to the performance of the network on this machine? (Saw that it basically works but not sure of the performance).

    Another question: in which case we have a virtual machine, but we do not want to install VMtools on it, which is recommended for this virtual machine NIC adapter?

    Thank you

    ekhmahg

    so my question is, what is the performance impact of not installing the VMtools when using VXNIC?

    None. Even if you have installed VMware tools, your BONES would still use the supplied kernel vmxnet3 module unless force you the installation of the VMware Tools (-clobber-kernel-modules = vmxnet3).

    Overwrite the supplied OS module is not recommended and besides if you're updating your kernel on a regular basis, you'll probably a newer version or at least the version module even as provided by the VMware tools (unless you keep bleeding edge with your updates of ESXi).

    the second question: If we do not want to install VMtools at all, what is the best recommended NIC adapter?

    vmxnet3. As you do not need to install the VMware Tools since the kernel module is provided by every modern Linux already.

Maybe you are looking for

  • How can I disable search removal suggestions?

    I just upgraded to 34.0 Firefox (on Windows 7) so I got the search box new user interface with one-click buttons. When I start typing a search and then press the down arrow key or hover over the suggestions, it highlights the relevant suggestion. So

  • Satellite P300 begins after the judgment

    Computer starts 30 seconds after stopping in itself.OS: Vista Home Prem, 32-bit.Help, please!

  • Notice of software problem for printer; Is this spam?

    I have an all in one printer Product ID e is CQ140A and model C510a. I got a notification saying that I can have the defective software. He asked that I have download the so-called 'Troubleshoot HP Printeroftware Install '.  Yes, I did.  When I stare

  • HP Officejet 6500 710N: 6500 spool question?

    I had problems with my laptop and the printer communicating.  It will print fine for a while then all of a sudden, she leaves print, says I'm not connected etc.  I unplug everything including the wireless router, turn it back on it, nothing.  Then a

  • Using printers Panel - Photosmart B109n

    I'm changing a print cartridge using the control panel printers (the printer is not connected to a PC). But I can't find the selection on the control panel (in addition to printing, scanning, copying!) I've already found a menu engineering by acciden