I have been tasked with automating the internal process. This process involves first logging on to the remote server (A). From server A, the user will connect to the remote server (B).
After authentication on server B, users need to complete three basic tasks:
- Change the file name in the local directory.
- Open a command prompt and run "iisreset"
- Open Internet Explorer to reestablish communication with IIS.
I used some sample code form in the CodeProject post to make all remote desktop connections and work without problems. Codes use the ActiveX MSTSC Library .
My question is the steps described above. After connecting to server B, itβs pragmatic for me to perform these operations. Right now we have an internal script that performs these actions. To execute the script, the user must go to server B and manually run the Script.
If it is possible to make connections and execute the script pragmatically, this would be a solution. If for some reason this is not possible, I would have to follow three steps pragmatically as a solution instead.
Thank you for your help.
source share