The Console key contains font, cursor, and screen control values under the following Registry path:
HKEY_CURRENT_USER\Console
CursorSize REG_DWORD Percentage
Specifies percentage of character cell filled by the cursor.
Default: 0x19
FullScreen REG_DWORD 0 or 1
1 = full screen mode, 0 = windowed mode. Valid only on x86 machines.
Default: 0x0
FaceName REG_SZ Name
Specifies name of console font.
Default: Null
FontFamily REG_DWORD Family
Specifies console font family (TrueType, raster, etc.).
Default: 0
FontSize REG_DWORD Size
Specifies console font size. Low word is character width, high word is character height.
Default: 0
FontWeight REG_DWORD Number
Specifies console font weight.
Default: 0
HistoryBufferSize REG_DWORD Number
Specifies number of commands stored in command history buffer.
Default: 0x32
InsertMode REG_DWORD 0 or 1
Enables insert mode (1) or overtype mode (0).
Default: 0
NumberOfHistoryBuffers REG_DWORD Number
Specifies number of history buffers associated with console.
Default: 0x4
PopupColors REG_DWORD Colors
Specifies colors to use for popup windows. The four low-order bits are foreground, and the next four are background.
Default: 0xf5
QuickEdit REG_DWORD 0 or 1
Specifies 1 (enabled) for quick-edit mode, 0 (disabled) for normal edit mode.
Default: 0
ScreenBufferSize REG_DWORD Buffer size
Specifies console screen buffer size. Low word is width, high word is height.
Default: 0x00190050
ScreenColors REG_DWORD Colors
Specifies colors to use for console text windows. The four low-order bits are foreground, and the next four are background.
Default: 0x7
WindowSize REG_DWORD Size
Specifies console window size. Low word is width, high word is height.
Default: 0x00190050
WindowPosition REG_DWORD Position
Specifies console window position. Low word is X, high word is Y.
Default: Not set
You can also create subkeys under HKEY_CURRENT_USER\CONSOLE which are the names of console windows. These subkeys can contain any of the preceding values. When you open a console window, Windows NT looks in the registry for a subkey with the same name as the window title (for example, "Command Prompt"). If the subkey is found, any values stored there override the values stored in the \CONSOLE key for that console.
The Console key also contains several subkeys that define screen size and buffer size for character-based screens in Windows NT. These subkeys appear under the following Registry path:
HKEY_CURRENT_USER\Console\subkeyNames
The Command Prompt subkey does not appear unless the current user has changed the screen colors or font for the command prompt and also checked the Save Configuration options. Use the commands on the Control menu in the command prompt to change these values.
Console subkey | Default value entries |
Command Prompt | FontFamily=0x30 |
Introducing Windows NT | FullScreen=0x1 |
Microsoft QBASIC | FullScreen=0x1 |