当前位置:首页 > 虚拟机 > 正文

虚拟机突然不能运行(虚拟机启动不起来了怎么办)

How to solve the problem that the virtual machine cannot start normally?

The specific steps are as follows:

1. Turn on the computer, click the menu bar in the lower left corner, you will see the following screen, open "File Explorer", As shown below.

2. After clicking, you will see the following screen. Find the location as shown in the picture below, find the folder in the red box and delete it.

3. Then reopen the software, open the virtual machine, and it can run. This will solve the problem.

Why the virtual machine cannot start correctly

This means that you do not have permission to run it and need to run it with administrator permissions.

1. Open the control panel of the host.

2. Click on Management Tools.

3. Find the service option, set the authorization verification service VMwareauthorizationservice, set the startup type to automatic, and start the service.

How to solve the problem that the virtual machine cannot start

Solution:

Go to the corresponding virtual machine directory and delete the %virtual machine name%. folder Or just the files in it

When we open the task manager, we will find two important processes: and . Among them, is the main program, and the virtual machine runs under this process; is the shell program, which is responsible for displaying the virtual system running in and explaining and transmitting various commands and operations. It is our most commonly used VMware user interface, the program can be reentrant i.e. multiple can be opened at the same time.

Because VMwareWorkstation is reentrant, in order to avoid errors caused by the same virtual system being opened by multiple at the same time, each VMware will first check this when opening the corresponding virtual machine tab. Check whether there is a *. folder in the root directory of the virtual machine and verify the file in it. If the file contains a legally generated uuid (universal unique identification code), the tab of the virtual machine will not be opened and an error message will appear. The following error message:

The following message will appear after TakeOwnership:

If there is no corresponding legal file, it will Generate the *. folder in the root directory of the virtual machine, generate a *.lck file containing uuid in the folder, open the virtual machine tab, and receive display information from the main program.

This *.lck file can be edited with Notepad. Inside is uuid={a string of letters and numbers}, uuid is a universal unique identifier (UniversallyUniqueIdentifier), and its characteristic is uniqueness. The purpose is that only one can accept the display of the main program and operate the virtual machine at the same time. lck is the abbreviation of lock, which is the lock on the requested resource.

When the VMware virtual machine is running, it will generate three files *., *., and *. folders in the corresponding virtual machine directory, which contain *. File named lck. Among them, *. is generated when the tab in is opened; the other two are about the use of virtual disks and memory, and they are generated when the virtual system is running. If you close and let the virtual machine run in the background, the *. folder will disappear and the other two will not.

When you open a virtual machine tab in , the *. folder will be generated briefly. It is estimated that this is generated when the data (senddata) is initially transferred to prevent multiple The shell also requests to open the virtual machine.