text
stringlengths
0
4.23k
/?
Displays help at the command prompt.
Remarks
Use change user /install before installing an application to create .ini files for the application in the system directory. These files are used as the source when user-specific .ini files are created. After installing the application, use change user /execute to revert to standard .ini file mapping.
The first time you run the app, it searches the home directory for its .ini files. If the .ini files aren't found in the home directory, but are found in the system directory, Remote Desktop Services copies the .ini files to the home directory, ensuring that each user has a unique copy of the application .ini files. An...
Each user should have a unique copy of the .ini files for an application. This prevents instances where different users might have incompatible application configurations (for example, different default directories or screen resolutions).
When the system is running change user /install, several things occur. All registry entries that are created are shadowed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Currentversion\Terminal Server\Install, in either the \SOFTWARE subkey or the \MACHINE subkey. Subkeys added to HKEY_CURRENT_USER are copied un...
When the system returns to change user /execute, and the application tries to read a registry entry under HKEY_CURRENT_USER that does not exist, Remote Desktop Services checks to see whether a copy of the key exists under the \Terminal Server\Install subkey. If it does, the subkeys are copied to the appropriate locatio...
When you log on, Remote Desktop Services checks whether its system .ini files are newer than the .ini files on your computer. If the system version is newer, your .ini file is either replaced or merged with the newer version. This depends on whether or not the INISYNC bit, 0x40, is set for this .ini file. Your previous...
Examples
To disable .ini file mapping in the home directory, type:
change user /install
To enable .ini file mapping in the home directory, type:
change user /execute
To display the current setting for .ini file mapping, type:
change user /query
change
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Changes Remote Desktop Session Host server settings for logons, COM port mappings, and install mode.
Note
To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server.
Syntax
change logon
change port
change user
Parameters
Parameter
Description
change logon command
Enables or disables logons from client sessions on an Remote Desktop Session Host server, or displays current logon status.
change port command
Lists or changes the COM port mappings to be compatible with MS-DOS applications.
change user command
Changes the install mode for the Remote Desktop Session Host server.
chcp
Changes the active console code page. If used without parameters, chcp displays the number of the active console code page.
Syntax
chcp [<nnn>]
Parameters
Parameter
Description
<nnn>
Specifies the code page.
/?
Displays help at the command prompt.
<nnn>
The following table lists each supported code page and its country/region or language:
Code page
Country/region or language
437
United States
850
Multilingual (Latin I)
852
Slavic (Latin II)
855
Cyrillic (Russian)
857
Turkish
860