How to convert windows computer to VM (virtual machine)
In our example we turned off the windows firewall on the target computer, I am not sure if you need to do that.
If you get message Can’t connect to C$, ADMIN$
Add this register value to target computers register
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Create a DWORD value called LocalAccountTokenFilterPolicy and assign it a value of 1.
Permission to perform this operation was denied
If you get message Permission to perform this operation was denied

Start Local Security Policy
Security Settings Local Policy
Security Options
User Account Control: Run All…
Change it