Skip navigation
VMware
7,382 Views 3 Replies Last post: Feb 4, 2008 12:36 AM by Liz RSS
JoeNNN Lurker 1 posts since
Jan 25, 2008
Currently Being Moderated

Jan 25, 2008 9:38 AM

Howto: Run No VMWare Services or Processes When Not Running VMWare

This is how to have a clean system when not running VMWare. You can easily switch between VMWare using loads of resources and none at all. After doing this, you can simply run one shortcut to shut down all VMWare services and processes and another to start them up again. It also means you can set all the VMWare services to manual startup, as well as remove the other two startup processes, so that none of them start automatically at boot time.

 

1. Download and unpack SysInternals' PsTools (~1MB) from http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx.

 

2. Create a new shortcut called "Stop VMWare Processes and Services":

   a. Set its target to: C:\WINDOWS\system32\cmd.exe /c psservice stop VMAuthdService & psservice stop VMnetDHCP & psservice stop "VMware NAT Service" & psservice stop vmount2 & pskill hqtray.exe & pskill vmware-tray.exe & pause

   b. Set its 'start in' to: "C:\Program Files\Ps Tools\" (or wherever you unpacked PsTools).

 

3. Create a shortcut called "Start VMWare Processes and Services":

   a. Set its target to: C:\WINDOWS\system32\cmd.exe /c psservice start VMAuthdService & psservice start VMnetDHCP & psservice start "VMware NAT Service" & psservice start vmount2 & psexec -d C:\PROGRA1\VMWare\hqtray.exe & psexec -d C:\PROGRA1\VMWare\vmware-tray.exe & pause

   b. Set its 'start in' to: "C:\Program Files\Ps Tools\" (or wherever you unpacked PsTools).

Note: I installed VMWare to C:\Program Files\VMWare\. This is not the default. In 3a. replace C:\PROGRA~1\VMWare\ with wherever you installed VMWare.

 

Now just run the "Start VMWare Processes and Services" shortcut to start everything VMWare needs before launching the program itself.

 

Then, after exiting VMWare, run the "Stop VMWare Processes and Services" shortcut to get rid of all the junk it launched.

 

This works on my system:

   Windows XP

   VMWare Workstation v6.0.2 Build 59824

   PsTools v2.44

 

It should also work everywhere else. If it doesn't work for you, and you're using a version other than v6.0.2 Build 59824, check if they've changed the service and/or process names...

Troy Clavell Guru User Moderators vExpert 14,082 posts since
Oct 12, 2007
Currently Being Moderated
1. Jan 25, 2008 9:55 AM in response to: JoeNNN
Re: Howto: Run No VMWare Services or Processes When Not Running VMWare

great information, thank you!

 

 

Will this process kill the VIC too?  That may not be a good thing, since I use it all day long.

grossag Expert VMware Employees 423 posts since
Jul 3, 2006
Currently Being Moderated
2. Feb 3, 2008 1:09 PM in response to: JoeNNN
Re: Howto: Run No VMWare Services or Processes When Not Running VMWare

FWIW you can also disable vmware-tray.exe from ever running by going into Edit > Preferences and unchecking "Show tray icon".

Liz Virtuoso 3,328 posts since
Dec 2, 2004
Currently Being Moderated
3. Feb 4, 2008 12:36 AM in response to: JoeNNN
Re: Howto: Run No VMWare Services or Processes When Not Running VMWare

You dont need to use sysinternal tools to start/stop services. You can of course set them to manual, and use

 

net start VMAuthdService

or

net stop VMAuthdService

 

etc

Bookmarked By (0)

Share This Page

Communities