HOW TO INSTALL/UPGRADE VMWARE TOOLS SILENTLY ON ESX 2.5.[/b]
This is not going to be too detail. I am sure you guys can figure it out.
I used the following batch file:
SET VMTOOLPATH=
ServerName\PathToVMWareTools
regedit /s "%VMTOOLPATH%\disableDriverSigningWarning.reg"
msiexec.exe /i "%VMTOOLPATH%\VMware Tools.msi" /qn REINSTALLMODE=vamus REINSTALL=ALL REBOOT="ReallySuppress"
regedit /s "%VMTOOLPATH%\enableDriverSigningWarning.reg"
shutdown /l /r /t:10 /c[/i]
The first problem with silently installing VMTools is the Driver Signing Warning[/u].
This can be disabled via Group Policy. However, for some people (like me, no AD) this is not an option.
To disable the Driver Signing Warning I use the following registry file.
Windows Registry Editor Version 5.00
\[HKEY_CURRENT_USER\Software\Microsoft\Driver Signing]
"Policy"=dword:00000000
\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing]
"Policy"=hex:00
\[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify" = dword:00000000[/i]
Copy the above and paste it into disableDriverSigningWarning.reg file. Merge this into the registry with the command "regedit /s disableDriverSigningWarning.reg"
The command that does the silent install is the following:
msiexec.exe /i "%VMTOOLPATH%\VMware Tools.msi" /qn REINSTALLMODE=vamus REINSTALL=ALL REBOOT="ReallySuppress"[/i]
Not sure what all the switches mean since I copied it from another community member. Thanks frond!
After the installation I enable the Driver Signing Warning (change registry value from 0 to 1) and then I do a reboot with the "shutdown.exe" that is part of the resource kit.
I have tested this on a Windows 2000 server and everything works well.
Let me know if it works for you or if you have any questions.
Qui