Saturday, July 26, 2014

Working with RDP files

Here is a full list of parameters that can be added to a Remote Desktop File:


PARAMETER
VALUE
NOTES
alternate shell
s
c:\winnt\system32\notepad.exe
Sets the shell to be used within the Terminal Services session. This can be used to set an alternate shell such as progman.exe; you can also use it to set the application which the user runs on logon to the Terminal Server.
audiomode
i
2
Known values:
0 - Bring to this computer
1 - Leave at remote computer
2 - Do not play
auto connect
i
0
0 or 1
autoreconnection enabled
i
1
Set to 1 to connect automatically when file is opened.
bitmapcachepersistenable
i
1
? 1 maintains bitmap cache between sessions
compression
i
1
1 means use extra compressions
connect to console
i
1
0 - connect to a virtual session
1 - connect to the console session
desktopheight
i
768
height of session desktop in pixels
desktopwidth
i
width of session desktop in pixels
disable cursor setting
i
0
?
disable full window drag
i
1
set to 1, disables display of window contents while dragging in session
disable menu anims
i
1
set to 1, disables menu animations in session
disable themes
i
1
set to 1, disables use of themes in session
disable wallpaper
i
1
set to 1, disables display of wallpaper in session
displayconnectionbar
i
1
Set to 1, displays the connection bar in a fullscreen session
domain
s
HQ
domain name to use for logon
full address
s
192.168.1.1:33389
IP address/name of server (and optional alternate port)
keyboardhook
i
2
For applying standard Windows key combinations
0 - On the local computer
1 - On the remote computer
2 - In fullscreen mode only
maximizeshell
i
0
set to 1, maximizes any alternate shell used in the session
password 51
b
(big long binary hash)
Ifyou choose to save the connection password, this will be a large binary hash value
port
i
3389
redirectcomports
i
1
set to 1, redirects client COM ports in session (XP/.NET only)
redirectdrives
i
1
set to 1, redirects client drives in session (XP/.NET only)
redirectprinters
i
1
set to 1, redirects client printers in session
redirectsmartcards
i
1
set to 1, redirects client smart cards in session (XP/.NET only)
screen mode id
i
1
FullScreen vs. normal
0 - ?
1 - windowed
2 - fullscreen
server port
i
3389
You can specify the port separately from the "full address" parameter.  
session bpp
i
16
bit depth for session - 8, 16, or 24. Only 8 is valid for Windows 2000 Terminal Servers
shell working directory
s
c:\program files\microsoft office
Working directory if an alternate shell was specified.
smart sizing
i
Scale the client window display of desktop when resizing
0 or not present - Do not scale
1 - Scale (Takes extra resources to scale)
username
s
administrator
name of user logging on
winposstr
s
0,1,0,249,808,876
Not sure about the details on this one.  There are always 6 comma-separated values.  I would guess that these are presets for position and "window mode" sizes - maximized versus sized.

Full documentation can be found here:

No comments:

Post a Comment