1 2 Previous Next 17 Replies Latest reply on Nov 14, 2016 4:37 AM by thewul

    disable auto-start VM workstation services/processes

    realdreams Novice

      I don't use VM workstation often, is there an easy way to stop VM workstation services/processes from automatically starting? I used to set VM-related services to manual and disable auto start processes. But sometimes I don't remember which ones I have changed....

        • 1. Re: disable auto-start VM workstation services/processes
          onoski Enthusiast

          You can set it to run manual via the services console on the host if you so wish. I don't think in terms of resources being used up this would make much difference though in terms of performance etc.

          • 2. Re: disable auto-start VM workstation services/processes
            mfelker Expert

            I have attached 2 batch files which I'v used successfully in this regard.  They have    been very slightly modified from somebodyi  here who  I can't find at tthe moment since it was sevreal months ago.  They  may help in your situtation.

             

            I should lhave included the instructions for using these batches files since an external (but readly available) program is required. It is  attached in odt format.

            1 person found this helpful
            • 3. Re: disable auto-start VM workstation services/processes
              continuum Guru
              Community WarriorsvExpert

              that batch no longer fits WS 9
              rather use this stop commands

               

              net stop "vmware wsx"
              net stop VMwareHostd
              net stop VMUSBArbService
              net stop "VMware NAT Service"
              net stop VMnetDHCP

              net stop vmnetbridge
              net stop VMnetAdapter
              net stop vmnetuserif
              net stop vmx86
              net stop hcmon
              net stop vmci
              net stop VMparport
              net stop VMAuthdService

              1 person found this helpful
              • 4. Re: disable auto-start VM workstation services/processes
                mfelker Expert

                Thank you  Ulli for updating these batrch files for WS 9. !

                • 5. Re: disable auto-start VM workstation services/processes
                  WoodyZ Guru

                  @mfelker Why do you keep post blank replies!? This has been doing on for a couple of week now.

                  • 6. Re: disable auto-start VM workstation services/processes
                    mfelker Expert

                    I did  update the blank post.  As to    why this  has been happening  I'm really not  sure.  It   probably has something to do with   using the experimental version of Thunderbird  -  Earrlybird (Daily).  Although the    reply shows up in the sent  box  I will start   using the Web interface in the  future - just  being alerted that  a     thread has been  replied to (I follow this   group). While this was inadvertaant  it  is    annoying and I apologize.

                    • 7. Re: disable auto-start VM workstation services/processes
                      mfelker Expert

                      Hi agaiin Ulli;

                       

                      After the commands    you posted below to replace the net stop command in the  orignial batch file stop_vmware

                       

                      ====================================================

                      net stop "vmware wsx"
                      net stop VMwareHostd
                      net stop VMUSBArbService
                      net stop "VMware NAT Service"
                      net stop VMnetDHCP

                      net stop vmnetbridge
                      net stop VMnetAdapter
                      net stop vmnetuserif
                      net stop vmx86
                      net stop hcmon
                      net stop vmci
                      net stop VMparport
                      net stop VMAuthdService

                       

                      ===========================================================

                      Should the remainig  commands below be kept? Seems likely but ...  replace ws60 with ws90??

                       

                      ......................................

                       

                      sc config ufad-ws60 start= disabled
                      sc config VMAuthdService start= disabled
                      sc config VMnetDHCP start= disabled
                      sc config "VMware NAT Service" start= disabled
                      sc config VMUSBArbService start= disabled
                      devcon.exe disable *VMnetAdapter1
                      devcon.exe disable *VMnetAdapter8
                      taskkill /F /IM "vmware-tray.exe"
                      taskkill /F /IM "vmware.exe"
                      pause

                      • 8. Re: disable auto-start VM workstation services/processes
                        continuum Guru
                        vExpertCommunity Warriors

                        ufad-ws60 no longer exists

                         

                        and I noticed that you can not stop vmci with net start/stop commands

                        • 9. Re: disable auto-start VM workstation services/processes
                          mfelker Expert

                          I can remove  that line in the posted stop_vmware batch (as I said I modified it from another poster - see the attached odt doc).  The question is need I stop/pause  vmci (or can I??) in order to   pause/stop vmware services.

                           

                          Also can you please look at the start_vmware batch to see if it can restart the services once they are paused.

                           

                          I have WS 9 and WSX installed and running bopth  (on the same machine -different user anemes) and am creating a shared VM (openSUSE 12.2)  to test.  What would happen if I stopped or paused vmware if I had a shared vm open?  Makes no difference to me if the VM is destroyed    or any other  most other missadventure  happens (except  of cource   blowing away the host OS or evne  hardware!). This is experimental - I set up WSX  on my HP server  on the same network later

                           

                          Host machine = Windows 8 Pro.

                           

                          Thank you.

                          • 10. Re: disable auto-start VM workstation services/processes
                            r3t3ch Lurker

                            Not trying to revive a dead thread, but since it is the #1 result when searching "disable vmware auto start" on google, I thought I'd reply with an update to mfelker's original solution.

                             

                            Same format, must run as admin, but with an ahk script to combine their execution and hide the console window. Tested working with WS 12.1 on win 10.

                            • 11. Re: disable auto-start VM workstation services/processes
                              thewul Enthusiast

                              Many thanks for this solution!

                              I suppose the below would be the right way to proceed.

                              (just in my case I would only have to change the vmware.exe path in the start_vmware.bat)

                               

                              SnagIt-21052016 064718.png

                               

                              SnagIt-21052016 065021.png

                              • 12. Re: disable auto-start VM workstation services/processes
                                r3t3ch Lurker

                                The batch files enable/disable and start/stop all of the vmware services so there's no need to do so manually beforehand. If vmware isn't installed to the default dir, then yes you'll need to change the path in the start batch file.

                                 

                                I'd recommend using the autohotkey script by putting it together with both batch files in your vmware install dir and compiling the script to a binary (I attached the one I use, compiled with a nice icon). You can then point your vmware shortcut to the launcher exe, running it as admin, and it'll run the start or stop batch file based on whether or not the vmware-authd process exists.

                                • 13. Re: disable auto-start VM workstation services/processes
                                  GebakkenEi Lurker

                                  Thanks for your efforts keeping this thread up-to-date.

                                   

                                  Why can't VM do this by itself! Wasting resources all over the world. Just start your services when needed. Ask on installation if people want to run it always or on startup of VM....

                                  • 14. Re: disable auto-start VM workstation services/processes
                                    thewul Enthusiast

                                    Sorry for getting back on this again.

                                    1)

                                    I have stopped all services (msconfig)

                                     

                                    VMwareHostd

                                    VMUSBArbService

                                    VMware NAT Service

                                    VMnetDHCP

                                    VMAuthdService

                                     

                                    To start VMware Workstation I use the following batch:

                                     

                                    start_vmware.bat

                                    sc config VMUSBArbService start= demand

                                    net start VMUSBArbService

                                    sc config VMAuthdService start= demand

                                    net start VMAuthdService

                                    sc config VMwareHostd start= demand

                                    net start VMwareHostd

                                    sc config VMnetDHCP start= demand

                                    net start VMnetDHCP

                                    sc config "VMware NAT Service" start= demand

                                    net start "VMware NAT Service"

                                    netsh interface set interface "VMware Network Adapter VMnet1" ENABLED

                                    netsh interface set interface "VMware Network Adapter VMnet8" ENABLED

                                    d:

                                    cd VMware

                                    start vmware.exe

                                     

                                    (Note: in my case VMware Workstation has been installed into D:\VMware)

                                     

                                    =

                                    SnagIt-05102016 063910.png

                                    =

                                     

                                    Now, there is just 1 item loading at startup:

                                    SnagIt-05102016 064544.png

                                     

                                     

                                    I could also disable that.

                                     

                                    Two questions:

                                    1) Have not tried it, but once disabled, should there not be a line in the startup batch to enable it?

                                    2) Could it be that the vmware-tray.exe is causing a Windows Event 5858 error? (see at the bottom)

                                     

                                    Note: I use File->Exit to close VMware Workstation.

                                    using v12.5 on Windows 10 x64

                                     

                                    Thanks

                                    ==

                                     

                                    Record No:    20581

                                    Type :        Error

                                    Date :        05-10-2016

                                    Time :        04:35:30

                                    Event :        5858

                                    Source :        Microsoft-Windows-WMI-Activity

                                    Description:

                                    Id = {00000000-0000-0000-0000-000000000000}; ClientMachine = DESKTOP-JFFLEA5; User = NT AUTHORITY\SYSTEM; ClientProcessId = 2472; Component = Unknown; Operation = Start IWbemServices::ExecQuery - root\cimv2 : SELECT * FROM BRCM_VirtualNetworkAdapters WHERE TeamType="2"; ResultCode = 80041010; PossibleCause = Unknown

                                    1 2 Previous Next