Win7 only press the host key to start the program.
Most of the time I am not on the computer, I need to ask others to help me press the open key, but most of my shared information is stored in the Virtual Machine. If I do not enter the start password, the startup Item will not start. What needs to be done now is that others just help me press the boot button, and my computer can enter the boot password, start the virtual machine, open a specified virtual system, and then lock the screen. Win + R key, enter control userpasswords2, enter user account management, cancel the password, OK (enter the administrator password) Win + R key, enter regedit, enter the registry, HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon, new string value AutoAdminLogon = 1 (skip entering the password. 0 is not skipped ). DefaultDomainName = the domain name of your computer. No domain is added as the computer name. DefaultUserName = the user name of your computer. DefaultPassword = the password used to log on to this user (the password is a plaintext password) and above can be set to enable the computer user to directly go to the desktop when the user sets the password, next, I will set the virtual machine to boot, right-click the attribute, and add the "space-x space" virtual system installation path after the target. vmx "", other VM parameters:-x to start the VM,-X to start the VM and full screen,-n to open a new window to finish the startup items I need to lock the computer screen, write a script, also placed in the boot item, ping 127.0.0.1> nul rundll32.exe user32.dll, LockWorkStation, because here I need to give the system some time to start other processes, So I delayed the lock screen command by four ping times