Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run VBScript over RDP connection

Status
Not open for further replies.

Shaynec

Technical User
Feb 28, 2012
2
GB
Is it possible to run a VBScript to create a RDP connection and then commands over the RDP connection?

I want to create a RDP sesion then using a script which will then execute some commands, which when they have completed end the session.

Thanks
 
All depends on the connection between the systems. You can't pass the vbscript directly through the RDP connection, however if there is UNC access between the systems then you could use that to remotely access the script and execute it.

I hope that helps.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top