首页 » 备忘录 » 正文

低分辨率显示器RDP远程桌面实现超分辨率的方法及RDP文件参数详解

手里有一台老款的macbookair,分辨率只有1366*768,用来远程桌面连接家里台式机的时候就导致桌面版面混乱拥挤,所以我就想是否有方法可以让远程桌面超分辨率来连接,原本想显卡是否可以直接将屏幕分辨率“超频”,但由于显卡是INTEL的核显没法用AMD或NVIDIA的DSR、VSR超分辨率功能,只能从远程桌面的RDP配置文件做文章。

但是就算修改了RDP文件中的分辨率,只要screen mode id参数是全屏模式,就依然还是会变成原电脑的分辨率。如果把screen mode id参数设置为窗口模式,又会变成虽然分辨率高了,但却不是全屏而是变成需要拉动滚动条更加不方便。查询了RDP文件相关参数后,发现只需要先将screen mode id设置为“screen mode id:i:1”,然后设置smart sizing参数,在RDP文件中添加一条“smart sizing:i:1”就可以让远程连接自动缩放,实现超分辨率连接,虽然由于是缩放的,实际显示效果会有点模糊,但这样至少是能够在不升级屏幕的情况下实现近似高分屏的效果。

后面附上RDP文件的参数详解:

SettingTypeDefault valueDescription and possible valuesSettable from RDC GUI?RDP+ equivalent5.15.26.06.17.07.18.08.1
administrative sessioni0Connect to the administrative session of the remote computer.

0 – Do not use the administrative session.
1 – Connect to the administrative session.
Command line/console, /admin   XXXXX
allow desktop compositioni0Determines whether desktop composition (needed for Aero) is permitted when you log on to the remote computer.

0 – Disable desktop composition in the remote session.
1 – Desktop composition is permitted.
Yes  XXXXXXX
allow font smoothingi0Determines whether font smoothing may be used in the remote session.

0 – Disable font smoothing in the remote session.
1 – Font smoothing is permitted.
Yes  XXXXXXX
alternate full addresss Specifies an alternate name or IP address of the remote computer that you want to connect to.

Will be overruled by RDP+.
No     XXXX
alternate shells Specifies a program to be started automatically when you connect to a remote computer. The value should be a valid path to an executable file.
This setting only works when connecting to servers.
Yes/startXXXXXXXX
audiocapturemodei0Determines how sounds captured (recorded) on the local computer are handled when you are connected to the remote computer.

0 – Do not capture audio from the local computer.
1 – Capture audio from the local computer and send to the remote computer.
Yes     XXXX
audiomodei0Determines how sounds on a remote computer are handled when you are connected to the remote computer.

0 – Play sounds on the local computer.
1 – Play sounds on the remote computer.
2 – Do not play sounds.
Yes/[no]soundXXXXXXXX
audioqualitymodei0Determines the quality of the audio played in the remote session.

0 – Dynamically adjust audio quality based on available bandwidth.
1 – Always use medium audio quality.
2 – Always use uncompressed audio quality.
No     XXXX
authentication leveli2Determines what should happen when server authentication fails.

0 – If server authentication fails, connect without giving a warning.
1 – If server authentication fails, do not connect.
2 – If server authentication fails, show a warning and allow the user to connect or not.
3 – Server authentication is not required.

This setting will be overruled by RDP+.
Yes  XXXXXXX
autoreconnect max retriesi20Determines the maximum number of times the client computer will try to reconnect to the remote computer if the connection is dropped.
Note: The maximum value Remote Desktop can handle is 200.
No XXXXXXXX
autoreconnection enabledi1Determines whether the client computer will automatically try to reconnect to the remote computer if the connection is dropped.

0 – Do not attempt to reconnect.
1 – Attempt to reconnect.
Yes XXXXXXXX
bitmapcachepersistenablei1Determines whether bitmaps are cached on the local computer (disk-based cache). Bitmap caching can improve the performance of your remote session.

0 – Do not cache bitmaps.
1 – Cache bitmaps.
Yes  XXXXXXX
bitmapcachesizei1500Specifies the size in kilobytes of the memory-based bitmap cache. The maximum value is 32000.No XXXXXXXX
compressioni1Determines whether the connection should use bulk compression. 

0 – Do not use bulk compression.
1 – Use bulk compression.
No XXXXXXXX
connect to consolei0Connect to the console session of the remote computer.

0 – Connect to a normal session.
1 – Connect to the console screen.
Command line/console, /adminXXX     
connection typei2Specifies pre-defined performance settings for the Remote Desktop session.

1 – Modem (56 Kbps).
2 – Low-speed broadband (256 Kbps – 2 Mbps).
3 – Satellite (2 Mbps – 16 Mbps with high latency).
3 – High-speed broadband (2 Mbps – 10 Mbps).
4 – WAN (10 Mbps or higher with high latency).
5 – LAN (10 Mbps or higher).

By itself, this setting does nothing. When selected in the RDC GUI, this option changes several performance related settings (themes, animation, font smoothing, etcetera). These separate settings always overrule the connection type setting.
Yes     XXXX
desktopheighti600The height (in pixels) of the remote session desktop.Limited/hXXXXXXXX
desktop size idi0Specifies pre-defined dimensions of the remote session desktop.

0 – 640×480.
1 – 800×600.
2 – 1024×768.
3 – 1280×1024.
4 – 1600×1200.

This setting is ignored when either /w and /h, or desktopwidth and desktopheight are already specified.
Yes XXXXXXXX
desktopwidthi800The width (in pixels) of the remote session desktop.Limited/wXXXXXXXX
devicestoredirects Determines which supported Plug and Play devices on the client computer will be redirected and available in the remote session.

No value specified – Do not redirect any supported Plug and Play devices.
* – Redirect all supported Plug and Play devices, including ones that are connected later.
DynamicDevices – Redirect any supported Plug and Play devices that are connected later.
The hardware ID for one or more Plug and Play devices – Redirect the specified supported Plug and Play device(s).
Yes/[no]drives  XXXXXX
disable ctrl+alt+deli1Determines whether you have to press CTRL+ALT+DELETE before entering credentials after you are connected to the remote computer.

0 – CTRL+ALT+DELETE is required before logging in.
1 – CTRL+ALT+DELETE is not required. You can logon immediately.

Note: When disabled, this setting will also delay the autologin until the user has pressed CTRL+ALT+DELETE.
No XXXXXXXX
disable full window dragi1Determines whether window content is displayed when you drag the window to a new location.

0 – Show the contents of the window while dragging.
1 – Show an outline of the window while dragging.
Yes XXXXXXXX
disable menu animsi1Determines whether menus and windows can be displayed with animation effects in the remote session.

0 – Menu and window animation is permitted.
1 – No menu and window animation.
Yes XXXXXXXX
disable themesi0Determines whether themes are permitted when you log on to the remote computer.

0 – Themes are permitted. 
1 – Disable theme in the remote session.
Yes XXXXXXXX
disable wallpaperi1Determines whether the desktop background is displayed in the remote session.

0 – Display the wallpaper.
1 – Do not show any wallpaper.
Yes/[no]wallpaperXXXXXXXX
disableconnectionsharingi0Determines whether a new Terminal Server session is started with every launch of a RemoteApp to the same computer and with the same credentials.

0 – No new session is started. The currently active session of the user is shared.
1 – A new login session is started for the RemoteApp.
No   XXXXXX
disableremoteappcapschecki0Specifies whether the Remote Desktop client should check the remote computer for RemoteApp capabilities.
0 – Check the remote computer for RemoteApp capabilities before logging in.
1 – Do not check the remote computer for RemoteApp capabilities.

Note: This setting must be set to 1 when connecting to Windows XP SP3, Vista or 7 computers with RemoteApps configured on them. This is the default behavior of RDP+.
No     XXXX
displayconnectionbari1Determines whether the connection bar appears when you are in full screen mode.

0 – Do not show the connection bar.
1 – Show the connection bar.

Will be overruled by RDP+ when using the parameter /noclose.
Yes XXXXXXXX
domains Specifies the name of the domain of the user.

Will be ignored/overruled by RDP+.
Yes/u, /domainXXXXXXXX
drivestoredirects Determines which local disk drives on the client computer will be redirected and available in the remote session.

No value specified – Do not redirect any drives.
* – Redirect all disk drives, including drives that are connected later.
DynamicDrives – Redirect any drives that are connected later.
The drive and labels for one or more drives – Redirect the specified drive(s).
Yes/[no]drives  XXXXXX
enablecredsspsupporti1Determines whether Remote Desktop will use CredSSP for authentication if it’s available.

0 – Do not use CredSSP, even if the operating system supports it.
1 – Use CredSSP, if the operating system supports it.
No   XXXXXX
enablesuperpani0Determines whether SuperPan is enabled or disabled. SuperPan allows the user to navigate a remote desktop in full-screen mode without scroll bars, when the dimensions of the remote desktop are larger than the dimensions of the current client window. The user can point to the window border, and the desktop view will scroll automatically in that direction.

0 – Do not use SuperPan. The remote session window is sized to the client window size.
1 – Enable SuperPan. The remote session window is sized to the dimensions specified through /w and /h, or through desktopwidth and desktopheight.
No     XXXX
full addresss Specifies the name or IP address (and optional port) of the remote computer that you want to connect to.

Will be ignored by RDP+.
Yes/vXXXXXXXX
gatewaycredentialssourcei4Specifies the credentials that should be used to validate the connection with the RD Gateway.

0 – Ask for password (NTLM).
1 – Use smart card.
4 – Allow user to select later.
Yes   XXXXXX
gatewayhostnames Specifies the hostname of the RD Gateway.Yes   XXXXXX
gatewayprofileusagemethodi0Determines the RD Gateway authentication method to be used.

0 – Use the default profile mode, as specified by the administrator.
1 – Use explicit settings.
Yes   XXXXXX
gatewayusagemethodi4Specifies if and how to use a Remote Desktop Gateway (RD Gateway) server.

0 – Do not use an RD Gateway server.
1 – Always use an RD Gateway, even for local connections.
2 – Use the RD Gateway if a direct connection cannot be made to the remote computer (i.e. bypass for local addresses).
3 – Use the default RD Gateway settings.
4 – Do not use an RD Gateway server.

0 and 4 have the same effect, but setting the method to 4 also sets the option for bypassing local addresses in the Remote Desktop user interface.
Yes   XXXXXX
keyboardhooki2Determines how Windows key combinations are applied when you are connected to a remote computer.

0 – Windows key combinations are applied on the local computer.
1 – Windows key combinations are applied on the remote computer.
2 – Windows key combinations are applied in full-screen mode only.
Yes XXXXXXXX
negotiate security layeri1Determines whether the level of security is negotiated or not.

0 – Security layer negotiation is not enabled and the session is started by using Secure Sockets Layer (SSL).
1 – Security layer negotiation is enabled and the session is started by using x.224 encryption.
No   XXXXXX
password 51b The user password in a binary hash value. Will be overruled by RDP+.Yes/p, /pe, /iXXXXXXXX
pinconnectionbari1Determines whether or not the connection bar should be pinned to the top of the remote session upon connection when in full screen mode. 
0 – The connection bar should not be pinned to the top of the remote session.
1 – The connection bar should be pinned to the top of the remote session.
No XXXXXXXX
prompt for credentialsi0Determines whether Remote Desktop Connection will prompt for credentials when connecting to a remote computer for which the credentials have been previously saved.

0 – Remote Desktop will use the saved credentials and will not prompt for credentials.
1 – Remote Desktop will prompt for credentials.

This setting is ignored by RDP+.
Yes   XXXXXX
prompt for credentials on clienti0Determines whether Remote Desktop Connection will prompt for credentials when connecting to a server that does not support server authentication.

0 – Remote Desktop will not prompt for credentials.
1 – Remote Desktop will prompt for credentials.

This setting is ignored by RDP+.
No    XXXXX
promptcredentialoncei1When connecting through an RD Gateway, determines whether RDC should use the same credentials for both the RD Gateway and the remote computer.

0 – Remote Desktop will not use the same credentials .
1 – Remote Desktop will use the same credentials for both the RD gateway and the remote computer.
Yes    XXXXX
public modei0Determines whether Remote Desktop Connection will be started in public mode.

0 – Remote Desktop will not start in public mode .
1 – Remote Desktop will start in public mode and will not save any user data (credentials, bitmap cache, MRU) on the local machine.

This setting is incompatible with autologin and some other features and therefore ignored by RDP+.
Command line     XXXX
redirectclipboardi1Determines whether the clipboard on the client computer will be redirected and available in the remote session and vice versa.

0 – Do not redirect the clipboard.
1 – Redirect the clipboard.
Yes   XXXXXX
redirectcomportsi0Determines whether the COM (serial) ports on the client computer will be redirected and available in the remote session.

0 – The COM ports on the local computer are not available in the remote session.
1 – The COM ports on the local computer are available in the remote session.
Yes XXXXXXXX
redirectdirectxi1Determines whether DirectX will be enabled for the remote session.

0 – Do not enable DirectX rendering.
1 – Enable DirectX rendering in the remote session.
No     XXXX
redirectdrivesi0Determines whether local disk drives on the client computer will be redirected and available in the remote session.

0 – The drives on the local computer are not available in the remote session.
1 – The drives on the local computer are available in the remote session.

Note: This setting is replaced by drivestoredirect from RDC 6.0 onward.
Yes/[no]drivesXX      
redirectposdevicesi0Determines whether Microsoft Point of Service (POS) for .NET devices connected to the client computer will be redirected and available in the remote session.

0 – The POS devices from the local computer are not available in the remote session.
1 – The POS devices from the local computer are available in the remote session.
No   XXXXXX
redirectprintersi1Determines whether printers configured on the client computer will be redirected and available in the remote session.

0 – The printers on the local computer are not available in the remote session.
1 – The printers on the local computer are available in the remote session.
Yes/[no]printersXXXXXXXX
redirectsmartcardsi1Determines whether smart card devices on the client computer will be redirected and available in the remote session.

0 – The smart card device on the local computer is not available in the remote session.
1 – The smart card device on the local computer is available in the remote session.
Yes XXXXXXXX
remoteapplicationcmdlines Optional command line parameters for the RemoteApp.No   XXXXXX
remoteapplicationfiles Specifies a file to be opened on the remote computer by the RemoteApp.

Note: For local files to be opened, you must also enable drive redirection for (at least) the source drive.
No/remotefile  XXXXXX
remoteapplicationexpandcmdlinei1Determines whether environment variables contained in the RemoteApp command line parameter should be expanded locally or remotely.

0 – Environment variables should be expanded to the values of the local computer.
1 – Environment variables should be expanded on the remote computer to the values of the remote computer.
No   XXXXXX
remoteapplicationexpandworkingdiri0Determines whether environment variables contained in the RemoteApp working directory parameter should be expanded locally or remotely.

0 – Environment variables should be expanded to the values of the local computer.
1 – Environment variables should be expanded on the remote computer to the values of the remote computer.

Note: The RemoteApp working directory is specified through the shell working directory parameter.
No   XXXXXX
remoteapplicationicons Specifies the file name of an icon file to be displayed in the Remote Desktop interface while starting the RemoteApp. By default RDC will show the standard Remote Desktop icon.

Note: Only .ico files are supported.
No   XXXXXX
remoteapplicationmodei0Determines whether a RemoteApp shoud be launched when connecting to the remote computer.

0 – Use a normal session and do not start a RemoteApp.
1 – Connect and launch a RemoteApp.
No/remoteapp  XXXXXX
remoteapplicationnames Specifies the name of the RemoteApp in the Remote Desktop interface while starting the RemoteApp.No   XXXXXX
remoteapplicationprograms Specifies the alias or executable name of the RemoteApp.No/remoteapp   XXXXX
screen mode idi2Determines whether the remote session window appears full screen when you connect to the remote computer.

1 – The remote session will appear in a window.
2 – The remote session will appear full screen.
Yes/f[ullscreen], /fit, 
/max, /w, /h
XXXXXXXX
server porti3389Defines an alternate default port for the Remote Desktop connection.

Will be overruled by any port number appended to the server name.
Command line/vXXXXXXXX
session bppi32Determines the color depth (in bits) on the remote computer when you connect.

8 – 256 colors (8 bit).
15 – High color (15 bit).
16 – High color (16 bit).
24 – True color (24 bit).
32 – Highest quality (32 bit).
Yes XXXXXXXX
shell working directorys The working directory on the remote computer to be used if an alternate shell is specified.Yes XXXXXXXX
smart sizingi0Determines whether the client computer should scale the content on the remote computer to fit the window size of the client computer when the window is resized. 

0 – The client window display will not be scaled when resized.
1 – The client window display will be scaled when resized.
No XXXXXXXX
span monitorsi0Determines whether the remote session window will be spanned across multiple monitors when you connect to the remote computer.

0 – Monitor spanning is not enabled.
1 – Monitor spanning is enabled.

Note: When using Remote Desktop Connection 7 (Windows 7/2008), the use multimon setting is recommended.
Yes/span  XXXXXX
superpanaccelerationfactori1Specifies the number of pixels that the screen view scrolls in a given direction for every pixel of mouse movement by the client when in SuperPan modeNo     XXXX
usbdevicestoredirects Determines which supported RemoteFX USB devices on the client computer will be redirected and available in the remote session when you connect to a remote session that supports RemoteFX USB redirection.

No value specified – Do not redirect any supported RemoteFX USB devices.
* – Redirect all supported RemoteFX USB devices for redirection that are not redirected by high-level redirection mechanisms.
{Device Setup Class GUID} – Redirect all supported RemoteFX USB devices that are members of the specified device setup class.
USB\InstanceID – Redirect the supported RemoteFX USB device specified by the given instance ID. -USB\InstanceID – Do not redirect the supported RemoteFX USB device specified by the given instance ID, even if the device is in a device setup class that is redirected..
Yes      XXX
use multimoni0Determines whether the session should use true multiple monitor support when connecting to the remote computer.

0 – Do not enable multiple monitor support.
1 – Enable multiple monitor support.
Yes/multimon    XXXX
usernames Specifies the name of the user account that will be used to log on to the remote computer.

Will be ignored by RDP+.
Yes/uXXXXXXXX
videoplaybackmodei1Determines whether RDC will use RDP efficient multimedia streaming for video playback.

0 – Do not use RDP efficient multimedia streaming for video playback.
1 – Use RDP efficient multimedia streaming for video playback when possible.
No     XXXX
winposstrs0,3,0,0,800,600Specifies the position and dimensions of the session window on the client computer.

Will be overruled by RDP+.
No/f[ullscreen], /fit, 
/max, /w, /h, /pos
XXXXXXXX

本文共 1 个回复