Build environment:
A Windows 10 virtual machine (target machine)
A Windows 10 Pro host (attack machine)
1. Open the remote desktop of the target machine
Settings - System - Remote Desktop.
2. View the ip address of the target machine
win+R, enter cmd to open the command line, and enter ipconfig.
3. Open the remote desktop client of the attacking machine
Win+R input mstsc, input the ip address of the target machine.
4. Enter the user name and password of the target machine
Enter the user name and password to connect successfully remotely. If there are multiple accounts, you can also choose other accounts to log in.