Need help on command prompt setting

crystalcoder

New Member
Messages
3
Hi, I often format my laptop and uses virtual machine as well. So I had a batch (.bat) file to change all windows setting through registry. This batch file also changes command prompt screen size, buffer size and quick edit mode. However this does not work on Windows 8 command prompt setting.

Registry use to change the setting are:
- HKCU\Console\%SystemRoot%_System32_cmd.exe
- HKCU\Console\%SystemRoot%_SysWOW64_cmd.exe

Just wondering is there any way to change the setting in Windows 8 using batch file?
 

My Computer

System One

  • OS
    Windows 8
    Computer type
    Laptop
Interesting, my registry shows;
HKCU\Console\%SystemRoot%\_System32_WindowsPowerShell_v1.0_powershell.exe
and
HKCU\Console\%SystemRoot%\_SysWOW64_WindowsPowerShell_v1.0_powershell.exe
..but I do find a WindowSize entry in both of those keys as well as a WindowSize entry in
HKCU\Console
Have you tried modifying any of those settings and changing your script accordingly ??
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    Other Info
    Constantly changing hardware.
Another way---

Untitled.png

A few changes:

Untitled2.png
 

My Computer

System One

  • OS
    Windows 8.1.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gateway
    CPU
    AMD K140 Cores 2 Threads 2 Name AMD K140 Package Socket FT1 BGA Technology 40nm
    Motherboard
    Manufacturer Gateway Model SX2110G (P0)
    Memory
    Type DDR3 Size 8192 MBytes DRAM Frequency 532.3 MHz
    Graphics Card(s)
    ATI AMD Radeon HD 7310 Graphics
    Sound Card
    AMD High Definition Audio Device Realtek High Definition Audio USB Audio Device
    Monitor(s) Displays
    Name 1950W on AMD Radeon HD 7310 Graphics Current Resolution 1366x768 pixels Work Resolution 1366x76
    Screen Resolution
    Current Resolution 1366x768 pixels Work Resolution 1366x768 pixels
    Hard Drives
    AMD K140
    Cores 2
    Threads 2
    Name AMD K140
    Package Socket FT1 BGA
    Technology 40nm
    Specification AMD E1-1200 APU with Radeon HD Graphics
    Family F
    Extended Family 14
    Model 2
    Extended Model 2
    Stepping 0
    Revision ON-C0
    Instruction
    Browser
    Opera 24.0
    Antivirus
    Avast Internet Security
Before I create this thread I had also try on the entry on 'HKCU\Console' already. Nothing changed.

That powershell is actually auto generated when installing something else that used to change powershell cmd. By default 'HKCU\Console' is empty, especially in Windows 7. So the key have to be self created. In Windows 7, the key will be auto generated when setting of command prompt changed and closed. But in windows 8, it is not changed.

By the way, command prompt running from start menu is a separate instance which I have no idea where the setting is stored. But if you run it manually from the '%WINDIR%\System32\cmd.exe' then the setting is applied. You may try with this setting.

- HKCU\Console\%SystemRoot%_System32_cmd.exe
- Create DWORD of 'QuickEdit' with the value of '1'
- Run manually from '%WINDIR%\System32\cmd.exe'
 

My Computer

System One

  • OS
    Windows 8
    Computer type
    Laptop
To: David

I don't think that is what I want. Because whenever I format laptop or install virtual machine, I need to reconfigure everything. So what I do is I create a script to help me automatically configure all settings such as 'folder option, power option, command prompt and etc.'.
 

My Computer

System One

  • OS
    Windows 8
    Computer type
    Laptop
Back
Top