Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: msrdp in vbs

HTVi
TV Discussion Newsgroups

msrdp in vbs
Miztiik 5/2/2007 11:28:01 AM
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?
Re: msrdp in vbs
"CreateWindow" <createwindow[ at ]gmail.com> 5/2/2007 12:32:27 PM
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.





"Miztiik" <Miztiik[ at ]discussions.microsoft.com> wrote in message
news:30E89B49-7C4C-4D9E-A205-8506F4259667[ at ]microsoft.com...
[Quoted Text]
> 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?


Re: msrdp in vbs
h3ll b0I <miztiik[ at ]gmail.com> 5/2/2007 2:00:01 PM
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?

Re: msrdp in vbs
"CreateWindow" <createwindow[ at ]gmail.com> 5/2/2007 11:22:35 PM
Hi,

It goes straight in and connects 'cos the credentials are remembered. Do you
have the latest RDP client?

CreateWindow

"h3ll b0I" <miztiik[ at ]gmail.com> wrote in message
news:1178114401.889374.278230[ at ]n76g2000hsh.googlegroups.com...
[Quoted Text]
> 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?
>


Re: msrdp in vbs
h3ll b0I <miztiik[ at ]gmail.com> 5/3/2007 10:36:42 AM
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

Re: msrdp in vbs
"CreateWindow" <createwindow[ at ]gmail.com> 5/3/2007 12:28:20 PM
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

"h3ll b0I" <miztiik[ at ]gmail.com> wrote in message
news:1178188602.573836.147640[ at ]p77g2000hsh.googlegroups.com...
[Quoted Text]
> 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
>


Re: msrdp in vbs
h3ll b0I <miztiik[ at ]gmail.com> 5/3/2007 3:33:13 PM
is it possible to trigger a click event thru a script?so i can get
thru it

Re: msrdp in vbs
Miztiik 5/16/2007 11:39:00 AM
any help on this issue would be appreciated

"CreateWindow" wrote:

[Quoted Text]
> 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
>
> "h3ll b0I" <miztiik[ at ]gmail.com> wrote in message
> news:1178188602.573836.147640[ at ]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
> >
>
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen