Target Environment
Operating System: Windows 10 x64 (Build 1809)
Accessing the Run Dialog
Pressing the Win + R key combination invokes the Run dialog. This utility enables direct access to programs, system folders, documents, or internet resources by entering specific aliases.
Configuring Command Prompt Dimensions
To launch the Command Prompt with a predefined window size, you can utilize the mode command parameter. The /k switch carries out the command and keeps the session active.
cmd /k "mode con: cols=140 lines=50"
System defaults for console window properties are stored in the Windows Registry. The relevant keys for controlling the default layout are located at:
- Window Size:
HKEY_CURRENT_USER\Console\WindowSize - Screen Buffer Size:
HKEY_CURRENT_USER\Console\ScreenBufferSize
These DWORD values are represented in hexadecimal format. The structure splits the data such that the high-order bits define the height, while the low-order bits specify the width.
System Administration Shortcuts
| Utility | Command Alias |
|---|---|
| On-Screen Keyboard | osk |
| Command Prompt | cmd |
| Network Port Status | cmd /c netstat -ano |
| Remote Desktop Connection | mstsc |
| Event Viewer | eventvwr.msc |
| Task Manager | taskmgr |
| Local Group Policy Editor | gpedit.msc |
| Local Users and Groups | lusrmgr.msc |
| Control Panel | control |
| Registry Editor | regedit |
| Services Console | services.msc |
| Windows Version Details | winver |
| Device Manager | devmgmt.msc |
| DirectX Diagnostic Tool | dxdiag |
| Startup Folder | shell:startup |
| Devices and Printers | control Printers |
| Disk Management | diskmgmt.msc |
| System Properties | sysdm.cpl |
| Network Connections | ncpa.cpl |
| Programs and Features | appwiz.cpl |
| Windows Firewall | wf.msc |
Resolving Character Encoding
To mitigate character display issues or enforce UTF-8 encoding within the terminal, execute the following command to change the active code page:
chcp 65001