Terminal Services Client Question

Caporegime
Joined
18 Oct 2002
Posts
33,467
Location
West Yorks
On my work laptop we have a little app that somebody in the company coded for us that helps us speed up our work.


It pulls a list of servers from a text file and automates the prodedure of starting up the RDP client and connecting to that server.

Now, if i do start and run and type MSTSC, it uses the default.rdp found in the my documents folder in my profile. This uses my maximum screen resolution

If i use this tool, it launches MSTSC using the following command

C:\windows\system32\mstsc.exe "AUTOTSC"

it then creates a registry key in current users called AUTOTSC to which it adds a string valued called Full Address with the IP address of the server in.

However, when it does this it loads up 640 x 480.

This works fine on other peoples PC, so its an issue specific to my PC. It loads up in the TSC default screen size of 1024 x 768 on everybody elses computer. But on mine its 640 x 480.

My own personal default.rdp is 1366 x 768 to max my laptops res so its not using that. It must be using another value but i'm just not sure what.

Anybody got any ideas ?

I thought it might create an actual AUTOTSC .rdp file i could edit but no. It does it solely by adding a registry entry. Arguments like desktopwidth and desktopheigh don't seem to work when added into the registry either, so its got to be getting its setting from somewhere !
 
You tried running mstsc with the /v /w switches to set the screen res? can't remember if it retains that after thou but worth a bash.
 
Sheesh, sounds like a lot of faffing for RD. Why not just use connection manager?

when it works we just select the server, then select the option for RDP, and it connects directly onto that server and types the password in for us. So its not faffy when it works.

Our passwords to the servers are a randomly generated password changes every day thanks to some software we have installed on our servers so it speeds it up no ends.

Doing it manually would involve me using this tool to give me the password then copying and pasting it in manually.
 
Back
Top Bottom