Re: Launching RDP session from script



Sorry.
All I want to do is launch the rdp session when the PC is switched on - and
then reload the rdp session if the user logs out of the TS, effectively
negating the host machine and its functionality a la Citrix.
I have a batch file that runs my RDP session and want to lock down the PC so
that it always launches the RDP session and the machine is not useable as a
PC. Thin client like. I am using a program that essentially locks everything
down on the PC but it's expensive and I don't like the author.

"Vera Noest [MVP]" wrote:

> So you have saved your connection settings, including your username
> and password, in an rdp file, correct?
> Does it work when you double-click the rdp file manually?
> If not, then you need to do what TP advised.
>
> In your batchfile, you should use the command
> "mstsc <my_settings.rdp>" (without the quotes).
>
> Note that you can *not* save an rdpfile with username and password
> and copy it to a different client. For security reasons, the
> password is encrypted in such a way that only the same user, on the
> same machine, can decrypt it.
> And the client OS needs to be XP (or W2K?) for you to be able to
> save the password at all.
>
> If all users are using the same account and password (*not*
> recommended!), you can set the username and password in Terminal
> Services Configuration.
> _________________________________________________________
> Vera Noest
> MCSE, CCEA, Microsoft MVP - Terminal Server
> TS troubleshooting: http://ts.veranoest.net
> ___ please respond in newsgroup, NOT by private email ___
>
> =?Utf-8?B?TWlrZSBL?= <MikeK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote on 30
> dec 2005 in microsoft.public.windows.terminal_services:
>
> > Hi,
> > All I want to do is launch a batch file as soon as the PC has
> > booted. Is it possible to script this so that no one can break
> > in to the batch file? Thanks,
> > M
> >
> > "TP" wrote:
> >
> >> Exactly how are you attempting to do this? Please
> >> post the code and/or steps.
> >>
> >> On the server, you need to set "use client provided
> >> logon information" in the rdp-tcp properties and
> >> clear the checkbox "always prompt for password".
> >> This information is in TS configuration (tscc.msc).
> >> The above setting can be set via Group Policy as
> >> well.
> >>
> >> Thanks.
> >>
> >> -TP
> >>
> >> Mike K wrote:
> >> > All,
> >> > I'm trying to do what I'm sure is something pretty straight
> >> > forward.
> >> >
> >> > That is, I wish to launch an RDP session from a batch file /
> >> > script or GP. Everytime I attempt to do this it launches the
> >> > RDP but doesn't take my hard coded username and password? It
> >> > just sits on thew TS login screen?
> >> >
> >> > Any advice?
> >> > Thanks,
>
.



Relevant Pages

  • Connection Tab
    ... Is there a way to remove the yellow connection tab during the rdp session ... We would like to launch a program automatically and disable ... Prev by Date: ...
    (microsoft.public.win2000.termserv.clients)
  • App Launch
    ... Is there a way to launch an application on the client's workstation from ... within an RDP session and it run on the client's machine instead of the TS ... John ...
    (microsoft.public.windows.terminal_services)