new1234.jpg

Archive

Posts Tagged ‘VMware Tools’

VMware: Error in the RPC receive loop: RpcIn: Unable to send.

November 20th, 2014 1 comment

After upgrading a Terminal Server or Terminal Server-based Citrix XenApp virtual machine to VMware Tools 5.x, you experience these symptoms:

In the Windows Application Event log, you see this error reported multiple times in quick succession (log spew):

image

 

[ warning] [vmusr:vmusr] Error in the RPC receive loop: RpcIn: Unable to send.

 

Cause

This issue occurs when the VMware Tools daemon (vmtoolsd) handles more than two Terminal Sessions. When a user connects to a Windows virtual machine, each terminal session should have one vmtoolsd running; however, vmtoolsd is limited to only two sessions running simultaneously. Thus the Windows Application Event log fills up with warning messages similar to this until the total connection count is >2  per session:
[vmusr:vmusr] Error in the RPC receive loop: RpcIn: Unable to send

 

This is correct:

image


Workaround

To work around this issue, disable VMware Tools logging to the Event Log and general virtual machine logging to the vmware.log file for the virtual machine.

To disable VMware Tools application event logging:

  1. Open the tools.conf file using a text editor. The tools.conf file is located at:
    • Windows XP and Windows Server 2000/2003:
      C:\Documents and Settings\All Users\Application Data\VMware\VMware Tools\
    • Windows Vista, Windows 7, and Windows Server 2008:
      C:\ProgramData\VMware\VMware Tools\
    • Linux:
      /etc/vmware-tools/tools.conf
  2. Add this section to the tools.conf file:[logging]
    vmusr.level = error
    vmsvc.level = error
  3. Save and close the file.
  4. Restart the VMTools service (Administrative Tools > Services).
    Note: If there are users logged in to more than one session, restarting the VMTools service may not be sufficient. You may have to kill the vmtoolsd.exe process for all instances.

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

Categories: VMware Tags: , , , , ,

VMware: Add VMware Tools vShield Drivers for Endpoint Protection

March 7th, 2014 No comments

To install VMware Tools with vShield drivers / integration you need to start the VMware Tools installation at the command line:

 

Setup64.exe /S /v "/qn REBOOT=R ADDLOCAL=ALL REMOVE=Hgfs,WYSE"

 

Check if VMware vShield driver is installed and running:

– Run msinfo32.exe
– Navigate to “Software Components“, “System Drivers“
– Check if the “vsepflt” / “VFileFilter” system driver is in the list and the state is Running with status OK

 

image

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Installation/Upgrade VMware Tools – Red Had Linux Ent. x64

April 2nd, 2012 5 comments

Last week I created a little “how-to” for some system engineers to install/upgrade VMware Tools in their test environment. Here’s the translated (public) version:

image

– VM Summary: VMware Tools – Running (unsupported)

image

– Select VM > Guest > VMware Tools Install. The Infrastructure Client will mount VMware Tools ISO inside the VM

image

– Create a directory, type in: mkdir /mnt/cdrom next you need to mount the CD-Rom drive, type in:

mount /dec/cdrom /mnt/cdrom

Read more…

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Update VMware Tools without a reboot by PowerCLI

July 29th, 2011 13 comments

Upgrade VMware Tools, all virtual machines in cluster:

Get-Cluster "Productie" | Get-VM | Update-Tools –NoReboot

Upgrade VMware Tools, located in folder:

Get-Cluster "Productie" | Get-Folder "Beheer servers" | Get-VM | Update-Tools –NoReboot

Upgrade VMware Tools, selected virtual machine:

Get-Cluster "Productie" | Get-VM "BHR-SVR11" | Update-Tools –NoReboot

Get VMware-Tools versions:

Get-View -ViewType VirtualMachine | select Name, @{ Name=”ToolsVersion”;
Expression={$_.config.tools.toolsVersion}}

image

More information: VMware , VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Installing VMware Tools through Active Directory

May 2nd, 2010 1 comment

Today I was playing with automatic installation of VMware Tools by using Active Directory Group Policy and Security Groups on my Windows 2008 test environment.

What did I do to realize the automated installation:

– Create a Security Group in AD called: “SW_VMware Tools 64-Bit”

– Create in Group Policy Management a new GPO called “SW_VMware Tools 64-Bit”

– Computer Configuration > Software Settings > Software Installation> New > package

– Select from shared location (in my case: \\VMPROS-DC01\Software Deployment\ ) “VMware Tools64.msi”

– In the security tab: VMware Tools 64-Bit need read rights

image

Read more…

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: The SVGA II driver can Freeze Windows Server 2008 R2 or Windows 7

January 26th, 2010 No comments

Carlo Costanzo from VMwareInfo.com has posted the following helpful article:

The SVGA II driver installed by VMware Tools doesn’t work with 2008 R2 or Windows 7.  Console sessions will randomly lockup.

http://communities.vmware.com/thread/218244?start=105&tstart=0

According to the thread there is a WDDM driver in U1 that you can install manually to fix the problem by browsing to –

C:\Program Files\Common Files\VMware\Drivers\wddm_video

A good one 🙂

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Disable SVGA drivers installed with VMware Tools on Windows 7 and Windows 2008 R2

November 13th, 2009 No comments
Details:
If you plan to use Windows 7 or Windows 2008 R2 as a guest operating system, do not use the SVGA drivers included with VMware Tools. Use the standard SVGA driver instead.

Symptoms:

Freeze

Hanging Console

High CPU

Reboots

Solution:

To deselect the SVGA drivers installed with VMware Tools:

  1. When you install VMware Tools, select VMware Tools Custom Install and deselect the SVGA driver.

Alternatively, remove the SVGA driver from the Device Manager after installing VMware Tools

 

Product Versions:

VMware ESX 4.0.x

VMware ESXi 4.0.x Installable

Source: KB 1011709

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: VMware Tools – The Windows Installer Service could not be accessed (1007480)

August 21st, 2009 No comments
  • VMware Tools installation fails
  • You see the error:

    The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode or if the Windows Installer is not correctly installed.

    This issue may occur if the Windows Installer is corrupt or if it is not configured properly.To resolve this issue, see the following Microsoft article: http://support.microsoft.com/kb/324516.

Source: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

Categories: VMware Tags: , , ,

VMware: Automating VMware Tools upgrade in vCenter Server 4.0 (1010796)

May 26th, 2009 No comments

his article provides information about and steps for automating the VMware Tools upgrade in vCenter Server 4.0.

The following are required for automatic upgrades:

  • Virtual machines must have a version of VMware Tools shipped with ESX Server 3.0.1 or greater installed.
  • Virtual machines must be hosted on an ESX Server 3.0.1 or greater, and the vCenter Server must be version 2.0.1 or greater.
  • Virtual machines must be running a Linux or Windows guest operating system that is supported by ESX Server 3.0.1 or greater and vCenter 2.0.1 or greater.
  • Virtual machines must be powered on.

To configure virtual machines to automatically upgrade VMware Tools:

  1. Power off the virtual machine.
  2. Right-click the virtual machine and click Edit Settings.
  3. On the Options tab, click VMware Tools.
  4. In the Advanced pane, select Check and upgrade Tools before each power-on and click OK.

Note: The next time the virtual machine is powered on, it checks the ESX/ESXi host for a newer version of VMware Tools. If one is available, it is installed and the guest operating system is restarted (if required).

For more information, see Upgrading an ESX 3.x virtual machine to ESX 4.0 (1010675).

Source: 1010796