text
stringlengths
0
4.23k
/category
Starts System Information with the specified category selected. Use /showcategories to display a list of available category IDs.
/categories
Starts System Information with only the specified category or categories displayed. It also limits the output to the selected category or categories. Use /showcategories to display a list of available category IDs.
/?
Displays help at the command prompt.
<path>
This file can be an .nfo, .xml, .txt, or .cab file.
<computername>
<categoryID>
Examples
To list the available category IDs, type:
msinfo32 /showcategories
To start the System Information tool with all available information displayed, except Loaded Modules, type:
msinfo32 /categories +all -loadedmodules
To display System Summary information and to create an .nfo file called syssum.nfo, which contains information in the System Summary category, type:
msinfo32 /nfo syssum.nfo /categories +systemsummary
To display resource conflict information and to create an .nfo file called conflicts.nfo, which contains information about resource conflicts, type:
msinfo32 /nfo conflicts.nfo /categories +componentsproblemdevices+resourcesconflicts+resourcesforcedhardware
mstsc
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Creates connections to Remote Desktop Session Host servers or other remote computers and edits an existing Remote Desktop Connection (.rdp) configuration file.
Syntax
mstsc.exe [<connectionfile>] [/v:<server>[:<port>]] [/g:<gateway>] [/admin] [/f <fullscreen>] [/w:<width> /h:<height>] [/public] [/multimon] [/l] [/restrictedadmin] [/remoteguard] [/prompt] [/shadow:<sessionid>] [/control] [/noconsentprompt]
mstsc.exe /edit <connectionfile>
Parameters
Parameter
Description
<connectionfile>
Specifies the name of an .rdp file for the connection.
/v:<server>[:<port>]
Specifies the remote computer and, optionally, the port number to which you want to connect.
/g:<gateway>
Specifies the RD Gateway server to use for the connection. This parameter is only read if the endpoint PC is specified with /v.
/admin
Connects you to a session for administering the server.
/f
Starts Remote Desktop Connection in full-screen mode.
/w:<width>
Specifies the width of the Remote Desktop window.
/h:<height>
Specifies the height of the Remote Desktop window.
/public
Runs Remote Desktop in public mode. In public mode, passwords and bitmaps aren't cached.
/multimon
Configures the Remote Desktop Services session monitor layout to be identical to the current client-side configuration.
/l
Enumerates the monitor attached to the local PC and the ID associated with each monitor. The monitor ID can be used to populate the selected monitors RDP file setting.
/edit <connectionfile>
Opens the specified .rdp file for editing.
/restrictedAdmin
This mode won't send your credentials to the remote PC, which can protect you if you connect to a compromised device. Connections made from the remote PC might not be authenticated by other PCs, which impact application functionality and compatibility. The /admin parameter is implied.
/remoteGuard
This mode prevents credentials from being sent to the remote PC, which can help protect your credentials if you connect to a compromised device. Unlike Restricted Administrator mode, Remote Guard also supports connections made from the remote PC by redirecting all requests back to your device.
/prompt
Prompts you for your credentials when you connect to the remote PC.
/shadow:<sessionID>