We have a software that runs on GUI of Windows machines (Windows 10 in case of physical and Windows Server in case of Virtual systems) and performs certain tasks. This Software is easy to operate when a human unlocks the system and runs our program. However now we want to move from humans unlocking the Windows machine to our software being able to do so on its own. We need a solution that can help solve the below 2 problems.
PROBLEM 1: We need to build a program to unlock a Windows 10 physical Machine.
PROBLEM 2: the same program needs to be able to unlock Virtual Machines on Windows Server without taking remote of the machine from any other system. The program should be in on the virtual machine itself. In addition to unlocking the virtual machine it should also be able to maintain the session in virtual machine so that our current software is able to complete GUI based tasks.