Skip to content

Instantly share code, notes, and snippets.

@hardening
Created October 24, 2023 08:10
Show Gist options
  • Save hardening/6cdef02cf6e95fd3e8fce43641fd294e to your computer and use it in GitHub Desktop.
Save hardening/6cdef02cf6e95fd3e8fce43641fd294e to your computer and use it in GitHub Desktop.

Bool settings

Generic ones

ServerMode = 16,
WaitForOutputBufferFlush = 25,
NetworkAutoDetect = 137,
SupportAsymetricKeys = 138,
SupportErrorInfoPdu = 139,
SupportStatusInfoPdu = 140,
SupportMonitorLayoutPdu = 141,
SupportDynamicTimeZone = 143,
SupportHeartbeatPdu = 144,
SupportEdgeActionV1 = 150,
SupportEdgeActionV2 = 151,
SupportSkipChannelJoin = 152,
UseRdpSecurityLayer = 192,
ServerLicenseRequired = 202,
ConsoleSession = 322,
SpanMonitors = 387,
UseMultimon = 388,
ForceMultimon = 389,
HasMonitorAttributes = 397,
SupportMultitransport = 513,
AutoLogonEnabled = 704,
CompressionEnabled = 705,
DisableCtrlAltDel = 706,
EnableWindowsKey = 707,
MaximizeShell = 708,
LogonNotify = 709,
LogonErrors = 710,
MouseAttached = 711,
MouseHasWheel = 712,
RemoteConsoleAudio = 713,
AudioPlayback = 714,
AudioCapture = 715,
VideoDisable = 716,
PasswordIsSmartcardPin = 717,
UsingSavedCredentials = 718,
ForceEncryptedCsPdu = 719,
HiDefRemoteApp = 720,
IPv6Enabled = 768,
AutoReconnectionEnabled = 832,
PrintReconnectCookie = 836,
DynamicDaylightTimeDisabled = 898,
AllowFontSmoothing = 961,
DisableWallpaper = 962,
DisableFullWindowDrag = 963,
DisableMenuAnims = 964,
DisableThemes = 965,
DisableCursorShadow = 966,
DisableCursorBlinking = 967,
AllowDesktopComposition = 968,
RemoteAssistanceMode = 1024,
LyncRdpMode = 1031,
RemoteAssistanceRequestControl = 1032,
TlsSecurity = 1088,
NlaSecurity = 1089,
RdpSecurity = 1090,
ExtSecurity = 1091,
Authentication = 1092,
NegotiateSecurityLayer = 1096,
RestrictedAdminModeRequired = 1097,
DisableCredentialsDelegation = 1099,
VmConnectMode = 1102,
FIPSMode = 1104,
RdstlsSecurity = 1111,
AadSecurity = 1112,
MstscCookieMode = 1152,
SendPreconnectionPdu = 1156,
SmartcardLogon = 1282,
PromptForCredentials = 1283,
SmartcardEmulation = 1288,
KerberosRdgIsProxy = 1352,
IgnoreCertificate = 1408,
ExternalCertificateManagement = 1415,
AutoAcceptCertificate = 1419,
AutoDenyCertificate = 1420,
CertificateCallbackPreferPEM = 1423,
Workarea = 1536,
Fullscreen = 1537,
GrabKeyboard = 1539,
Decorations = 1540,
MouseMotion = 1541,
AsyncUpdate = 1545,
AsyncChannels = 1546,
ToggleFullscreen = 1548,
EmbeddedWindow = 1550,
SmartSizing = 1551,
PercentScreenUseWidth = 1556,
PercentScreenUseHeight = 1557,
GrabMouse = 1559,
SoftwareGdi = 1601,
LocalConnection = 1602,
AuthenticationOnly = 1603,
CredentialsFromStdin = 1604,
UnmapButtons = 1605,
OldLicenseBehaviour = 1606,
MouseUseRelativeMove = 1607,
UseCommonStdioCallbacks = 1608,
ConnectChildSession = 1609,
DumpRemoteFx = 1856,
PlayRemoteFx = 1857,
TransportDump = 1860,
TransportDumpReplay = 1862,
DeactivateClientDecoding = 1863,
GatewayUseSameCredentials = 1991,
GatewayEnabled = 1992,
GatewayBypassLocal = 1993,
GatewayRpcTransport = 1994,
GatewayHttpTransport = 1995,
GatewayUdpTransport = 1996,
GatewayHttpUseWebsockets = 2000,
GatewayHttpExtAuthSspiNtlm = 2001,
GatewayArmTransport = 2004,
DisableRemoteAppCapsCheck = 2121,
RemoteAppLanguageBarSupported = 2124,
RefreshRect = 2306,
SuppressOutput = 2307,
FastPathOutput = 2308,
SaltedChecksum = 2309,
LongCredentialsSupported = 2310,
NoBitmapCompressionHeader = 2311,
BitmapCompressionDisabled = 2312,
DesktopResize = 2368,
DrawAllowDynamicColorFidelity = 2369,
DrawAllowColorSubsampling = 2370,
DrawAllowSkipAlpha = 2371,
BitmapCacheV3Enabled = 2433,
AltSecFrameMarkerSupport = 2434,
AllowUnanouncedOrdersFromServer = 2435,
BitmapCacheEnabled = 2497,
AllowCacheWaitingList = 2499,
BitmapCachePersistEnabled = 2500,
UnicodeInput = 2629,
FastPathInput = 2630,
MultiTouchGestures = 2632,
HasHorizontalWheel = 2634,
HasExtendedMouseEvent = 2635,
SuspendInput = 2636,
HasRelativeMouseEvent = 2638,
HasQoeEvent = 2639,
SoundBeepsEnabled = 2944,
SurfaceCommandsEnabled = 3520,
FrameMarkerCommandEnabled = 3521,
SurfaceFrameMarkerEnabled = 3522,
RemoteFxOnly = 3648,
RemoteFxCodec = 3649,
RemoteFxImageCodec = 3652,
NSCodec = 3712,
NSCodecAllowSubsampling = 3716,
NSCodecAllowDynamicColorFidelity = 3717,
JpegCodec = 3776,
GfxThinClient = 3840,
GfxSmallCache = 3841,
GfxProgressive = 3842,
GfxProgressiveV2 = 3843,
GfxH264 = 3844,
GfxAVC444 = 3845,
GfxSendQoeAck = 3846,
GfxAVC444v2 = 3847,
GfxPlanar = 3849,
DrawNineGridEnabled = 3968,
DrawGdiPlusEnabled = 4032,
DrawGdiPlusCacheEnabled = 4033,
IgnoreInvalidDevices = 4164,
PreferIPv6OverIPv4 = 4674,
TcpKeepAlive = 5190,

Total : 164

Items that would have nothing to do in settings

ListMonitors = 392,

Items that may interact with channels deps

SupportGraphicsPipeline = 142,
RedirectDrives = 4288,
RedirectHomeDrive = 4289,
RedirectSmartCards = 4416,
RedirectWebAuthN = 4417,
RedirectPrinters = 4544,
RedirectSerialPorts = 4672,
RedirectParallelPorts = 4673,
RedirectClipboard = 4800,
SupportDynamicChannels = 5059,
SupportEchoChannel = 5184,
SupportDisplayControl = 5185,
SupportGeometryTracking = 5186,
SupportSSHAgentChannel = 5187,
SupportVideoOptimized = 5188,
MultiTouchInput = 2631,
EncomspVirtualChannel = 1029,
RemdeskVirtualChannel = 1030,
DynamicResolutionUpdate = 1558,
RemoteApplicationMode = 2112,
DeviceRedirection = 4160,

Total : 21

UInt16 / int32 / uint32 / uint64 settings

Generic ones

ProxyPort = 2017,
CapsProtocolVersion = 2313,
CapsGeneralCompressionTypes = 2314,
CapsUpdateCapabilityFlag = 2315,
CapsRemoteUnshareFlag = 2316,
CapsGeneralCompressionLevel = 2317,
OrderSupportFlags = 2436,
OrderSupportFlagsEx = 2437,
TextANSICodePage = 2439,
XPan = 1552,
YPan = 1553,
ShareId = 17,
PduSource = 18,
ServerPort = 19,
AcceptedCertLength = 28,
ThreadingFlags = 64,
RdpVersion = 128,
DesktopWidth = 129,
DesktopHeight = 130,
ClientBuild = 133,
EarlyCapabilityFlags = 136,
DesktopPhysicalWidth = 145,
DesktopPhysicalHeight = 146,
EncryptionMethods = 193,
ExtEncryptionMethods = 194,
EncryptionLevel = 195,
ServerRandomLength = 197,
ServerCertificateLength = 199,
ClientRandomLength = 201,
ServerLicenseProductVersion = 204,
ServerLicenseProductIssuersCount = 207,
ChannelCount = 256,
ChannelDefArraySize = 257,
ClusterInfoFlags = 320,
RedirectedSessionId = 321,
MonitorCount = 384,
MonitorDefArraySize = 385,
DesktopPosX = 390,
DesktopPosY = 391,
NumMonitorIds = 394,
MonitorLocalShiftX = 395,
MonitorLocalShiftY = 396,
MonitorFlags = 398,
MonitorAttributeFlags = 399,
MultitransportFlags = 512,
CompressionLevel = 721,
ClientSessionId = 771,
AutoReconnectMaxRetries = 833,
PerformanceFlags = 960,
RequestedProtocols = 1093,
SelectedProtocol = 1094,
NegotiationFlags = 1095,
AuthenticationLevel = 1100,
TlsSecLevel = 1105,
CookieMaxLength = 1153,
PreconnectionId = 1154,
RedirectionFlags = 1216,
LoadBalanceInfoLength = 1219,
RedirectionPasswordLength = 1223,
RedirectionTsvUrlLength = 1227,
TargetNetAddressCount = 1228,
RedirectionAcceptedCertLength = 1232,
RedirectionPreferType = 1233,
RedirectionGuidLength = 1235,
Password51Length = 1281,
KeySpec = 1291,
PercentScreen = 1538,
SmartSizingWidth = 1554,
SmartSizingHeight = 1555,
GatewayUsageMethod = 1984,
GatewayPort = 1985,
GatewayCredentialsSource = 1990,
GatewayAcceptedCertLength = 1999,
ProxyType = 2015,
RemoteApplicationExpandCmdLine = 2119,
RemoteApplicationExpandWorkingDir = 2120,
RemoteAppNumIconCaches = 2122,
RemoteAppNumIconCacheEntries = 2123,
RemoteWndSupportLevel = 2125,
RemoteApplicationSupportLevel = 2126,
RemoteApplicationSupportMask = 2127,
ReceivedCapabilitiesSize = 2241,
OsMajorType = 2304,
OsMinorType = 2305,
BitmapCacheVersion = 2498,
BitmapCacheV2NumCells = 2501,
ColorPointerCacheSize = 2560,
PointerCacheSize = 2561,
KeyboardCodePage = 2623,
KeyboardLayout = 2624,
KeyboardType = 2625,
KeyboardSubType = 2626,
KeyboardFunctionKey = 2627,
KeyboardHook = 2633,
BrushSupportLevel = 2688,
GlyphSupportLevel = 2752,
OffscreenSupportLevel = 2816,
OffscreenCacheSize = 2817,
OffscreenCacheEntries = 2818,
VirtualChannelCompressionFlags = 2880,
VirtualChannelChunkSize = 2881,
MultifragMaxRequestSize = 3328,
LargePointerFlag = 3392,
CompDeskSupportLevel = 3456,
RemoteFxCodecId = 3650,
RemoteFxCodecMode = 3651,
RemoteFxCaptureFlags = 3653,
NSCodecId = 3713,
FrameAcknowledge = 3714,
NSCodecColorLossLevel = 3715,
JpegCodecId = 3777,
JpegQuality = 3778,
GfxCapsFilter = 3848,
BitmapCacheV3CodecId = 3904,
DrawNineGridCacheSize = 3969,
DrawNineGridCacheEntries = 3970,
DeviceCount = 4161,
DeviceArraySize = 4162,
ClipboardFeatureMask = 4801,
StaticChannelCount = 4928,
StaticChannelArraySize = 4929,
DynamicChannelCount = 5056,
DynamicChannelArraySize = 5057,
TcpKeepAliveRetries = 5191,
TcpKeepAliveDelay = 5192,
TcpKeepAliveInterval = 5193,
TcpAckTimeout = 5194,
Floatbar = 5196,
TcpConnectTimeout = 5197,
FakeMouseMotionInterval = 5198,
ParentWindowId = 1543,
TLSMinVersion = 1107,
TLSMaxVersion = 1108,

Total : 133

With possible limited range / that may be changed to enums

DesktopOrientation = 147,
SupportedColorDepths = 153,
ColorDepth = 131,
ConnectionType = 132,
DesktopScaleFactor = 148,
DeviceScaleFactor = 149,

Total : 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment