Remote Desktop shortcut in Run
OverviewThis article explains some of the parameters available when using MSTSC.exe to open a remote desktop connection. These commands can also be applied to create a remote desktop connection shortcut with custom set parameters. This article is a continuation of the Enabling Remote Desktop Protocol (RDP) and MSTSCarticle. Show MSTSC ParametersSeveral parameters are available.
MSTSC Commonly Used CommandsFor the average user, the commands that are probably the most relevant to you are /v and /f. Note: If you are using the computer name to remote on to a machine, you must be on the same network like a VPN or be on the same internal network or you must have previously set up in a host file or have DNS configured correctly. Lets say the computer Im trying to get on has a name of computer1 and an IP of 192.168.255.255. Our syntax is mstsc {ConnectionFile|/v:server} [/console] [/f] [/w:width /h:height] Full ScreenIn the run command or shortcut I would type in mstsc /v:computer1 /f or In the run command I would type in mstsc /v:192.168.255.255 /f Assign a Height and WidthIf I want to individually force my width and height (or assign both), I could use something like mstsc /v:192.168.255.255 /w:1024 /h:768 mstsc /v:192.168.255.255 /w:1600 Span across multiple (2+) monitorsIf youre like me, you like dual monitors. Only problem is when you RDP to another computer, you only use one of your monitors. Sometimes I like to have the extra space so I use the /span command. For a shortcut or the run command:mstsc /v:192.168.255.255 /span or mstsc /span When using /span, your remote desktop window will get treated like its 1 giant monitor. mstsc /adminIf you are a server administrator and you get something like:
mstsc /admin command will allow you remote on to the server. If you would like to know how to enable an RDP session, you can visit our Configure Remote Desktop Protocol (RDP) and MSTSC post. If you are a network administrator wanting to enable RDP on a remote machine, visit our Enable RDP on a Remote Machine post. Sources: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ts_cmd_mstsc.mspx?mfr=true Accessed: December 23, 2011. The Latest
Related |