Batch processing controls startup and shutdown of Ubuntu Virtual Machine services

Source: Internet
Author: User
Haha, I came back with the first post. I recently used the VM (vmwareworkstation6.52) in the WinXp environment to virtualize the ISO image of Ubuntu. I started playing Linux and entertainment in windows, I am studying and working in Linux, but I don't need to use VM Virtual Linux to drive services. After all, I need to occupy some memory, which is quite uncomfortable ~ Write a BAT batch so that the VM can control it at will. First, set the three services (start -- run -- services. msc, VM3 servers)

Haha, I am the first post after I come back. I recently played Ubuntu.

In the WinXp environment, we use the VM (vmware workstation6.52) to virtualize the Ubuntu ISO image, play with Linux, and entertain and study and work in the Windows environment, however, when VM Virtual Linux is not used, the service is still on. After all, it takes up some memory, which is quite uncomfortable ~ Write a BAT batch so that the VM can control it at will.

First, start the three services (start -- run -- services. msc, and VM3 services start with V ~) Set it to "Manual" instead of automatic ~ Save the following command as a BAT file to disable the service.

Net stop VMAuthdService

Net stop VMnetDHCP

Net stop "VMware NAT Service"

Start the service and run the following command to start vmware.exe:

Net start VMAuthdService

Net start VMnetDHCP

Net start "VMware NAT Service"

Vmware-tray.exe in the process can be manually terminated, or don't let it start up.

Start -- run -- MSCONFIG to get rid of it from startup ~ Alternatively, use the Windows optimization master and remove the 360 guard.

Or write another line in BAT that closes the service:

Taskkill/f/im vmware-tray.exe

In this way, the process of the icon in the lower right of the taskbar is also ended!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.