I wrote a java program which runs on my computer that uses RMI to connect to a remote computer and run a short vbs script. Both computers have Windows XP, and I am an administrator on my computer but I am only a user on the remote computer. So I have a triggering program on my desktop and a listener program running in the remote computer which works as I expected.
But I am now facing a problem that the remote computer frequently reboots and the computer stays idle on Logon page. At this stage, my listener program is not executed (I have a batch file that runs the listener program when the window<big></big> starts). So I either manually have to go to this computer and logon OR I remote logon using Window's "Remote Desktop Connection" to logon and disconnect after I execute my listener program.
Unfortunately I am not in a position to change much administrative settings or change reboot frequency of the remote computer. So I want to write a script / program that will remotely logon (not unlock) which will work under the environment described above.
Can anyone describe to me how I can write a remote logon program?
I would appreciate any technical direction
Thank you for your time and idea