Windows 8 and 8.1 Forums


Need help on command prompt setting

  1. #1


    Posts : 3
    Windows 8

    Need help on command prompt setting


    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 System SpecsSystem Spec

  2. #2


    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 System SpecsSystem Spec

  3. #3


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Another way---

    Click image for larger version

    A few changes:

    Click image for larger version
      My System SpecsSystem Spec

  4. #4


    Posts : 3
    Windows 8


    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 System SpecsSystem Spec

  5. #5


    Posts : 3
    Windows 8


    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 System SpecsSystem Spec

Need help on command prompt setting
Related Threads
no log in password to use for 'command prompt' in User Accounts and Family Safety
all of a sudden my HP 9200 notebook w/windows 8 went into an 'automatic repair' that failed.... can't use 'refresh' because I don't have password to use with my log in name..... can't use command prompt for that same reason.....i am a 63yr old 'amateur' pc person..... am communicating now by...
Solved Sfc /scannow command prompt in Performance & Maintenance
I ran the sfc /scannow command prompt on my Windows 8.1 desktop. It said it could fix all of the problems. So, I restarted it. It said the corrupted files were in C/Windows/Logs/CBS/CBS.log. I couldn't get it to paste the files on this forum. Also, command prompt gave me a not that said...
Solved Command Prompt Woes in General Support
Hello! So, I seem to be having a problem when command prompt needs to run anything as an admin. This happens whenever it feels it needs to do so, like when setting a program to run as admin myself, or running an installer, like the setup for firefox (I'm in chrome right now, but I happen to...
Command Prompt help in General Support
The average monitor can display 25 lines of text in full screen mode. When you list a directory containing more than 25 files, some of the filenames disappear off the top of the screen before you have a chance to read them. What do you add to the DIR command to always prevent this?
Solved elevated command prompt...huh? in General Support
how do I open an elevated command prompt?
Command Prompt crashes in General Support
Hi After upgrading from Windows 7 to Windows 8 everything seems to works fine except when I want to run command line applications from 3rd party programs. When this is happening the Windows 8 command prompt just stop working. I have to use many programs based on command prompt for web developing...
I want to enable Safe Mode in my Laptop and to do that I need to run Command Prompt as an administrator. But when I right click on command Prompt and select Run as Administrator, nothing happens. I tried this about 5 times with no results. Please help me! :)
Eight Forums Android App Eight Forums IOS App Follow us on Facebook