|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
msrdp in vbs
is it possible to use the windows remote desktop connection in a vb script?
if so can anyone help me with that.. i found that i can be embeded in awebpage http://msdn2.microsoft.com/en-us/library/aa380809.aspx likewise in a vbscript? Hi,
I run my rdp's from a script to force a console session. Very simple though. I think you want something more exciting? Option Explicit Dim Res, WshShell, ExitCode, Cmd Cmd = "mstsc ""C:\Util\server45dc.rdp"" /console" Set WshShell = WScript.CreateObject("WScript.Shell") ExitCode = WshShell.Run(cmd, 10, FALSE ) Set WshShell = Nothing CreateWindow http://justpageprobe.com The FREE Web page utility you always wanted. Keep your router connected. Email your IP to where you need it. Monitor your enterprise Web Servers. Show quote "Miztiik" <Mizt***@discussions.microsoft.com> wrote in message news:30E89B49-7C4C-4D9E-A205-8506F4259667@microsoft.com... > is it possible to use the windows remote desktop connection in a vb > script? > > if so can anyone help me with that.. > > i found that i can be embeded in awebpage > http://msdn2.microsoft.com/en-us/library/aa380809.aspx > > > likewise in a vbscript? your script kinda creates console session [and needs a human to enter
the UID and pass] i want it to be done automatically? any suggstions on that? Hi,
It goes straight in and connects 'cos the credentials are remembered. Do you have the latest RDP client? CreateWindow Show quote "h3ll b0I" <mizt***@gmail.com> wrote in message news:1178114401.889374.278230@n76g2000hsh.googlegroups.com... > your script kinda creates console session [and needs a human to enter > the UID and pass] > > i want it to be done automatically? > > any suggstions on that? > yes it has the credentials remembered in the file, but sometimes
before the login uid and pass is prompted, there is a pop up box prompting up to click on OK...after that only the authentication box opens Dear h3ll b0I,
Yes sometimes it does in certain situations. I just d'click my VBS shortcut and up comes the remote desktop. Depends on your security settings for the latest mstsc. Have a great day HB CreateWindow Show quote "h3ll b0I" <mizt***@gmail.com> wrote in message news:1178188602.573836.147640@p77g2000hsh.googlegroups.com... > yes it has the credentials remembered in the file, but sometimes > before the login uid and pass is prompted, there is a pop up box > prompting up to click on OK...after that only the authentication box > opens > |
|||||||||||||||||||||||