As happens often where I work (At a help desk for a school campus), a new policy with very tedious and/or wasteful requirements comes into effect and I am usually the only one to try to create a better or more efficient solution for the problem.
In this case periodic manual testing of rooms with 20-30 network computers is required. This involves manually logging into every computer in a room and launching various programs and checking things. I have been building a python script with psexec which seems to work pretty well for launching what is needed for testing after all of the computers are logged in, so the main tedious part is the logging in itself.
I am looking for any command prompt .exe, .bat, .vbs, whatever thing I can run to simulate logging into windows with a hardcoded username and password. If you don't know what PsExec is, it just lets me run anything I want as administrator on the remote computer, I just need to know what I need to run!If nothing like this exists I could look into running a compiled autohotkey or something similar, but I have not had luck with that yet and am looking for a better solution.
Thank you for reading and any assistance you can provide.
Because the first answer did not seem to address what I had in mind, I will add this information to my question
I know how to use PsExec pretty well already, what I am looking for is a way to run a process/command which would "log in" (literally) with credentials (interactively / graphically) to the computers. For example, I walk up to the computer, type in a username and password, and press enter. Then the screen says 'welcome/preparing your desktop'. Then the network account desktop appears. I want to initiate/simulate THIS action with psexec.
Edited again because I am bad at wording things
This is a general question attempting to accomplish one specific task that may help other people who need to do this. I have already developed and have a good working script, which, through python, launches a bunch of PxExec processes on one computer and distributes them to all of the computers I need to test. No python is executed on all of the other computers. I do not need help with this part. The only step I have not been able to do, remotely, from one computer, is log into the computers, so that you can see processes that are launched. This part needs to be done by hand, and I wish to remove that problem.
The ideal situation is that:
Psexec is launched on computer A and computer B literally logs into the desktop, as if a user had walked up, typed up their username and password, and pressed enter.