Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to control CMD properties like Window size & Screen Buffer size via GPO? (or a VBS script that can be pushed using GPO :)

I have Windows 7 / Windows Server 2008.

Many thanks for your advice.


share|improve this question
up vote 1 down vote accepted

The options are all stored in:


You will most likely have a sub-key called "Command Prompt" that you want to store your information in. You should be able to script it from there.

Here is a reference to what all the values mean. It is for Windows 2000, but this section still applies to Win7/2008.

share|improve this answer
Thanks MattB. Did it with this command: reg add "HKCU\Console" /v "ScreenBufferSize" /t REG_DWORD /d 655304463 /f – ToastMan Feb 5 '10 at 15:20

I have written a tiny application for Windows that allows to "maximize" the window and buffer. It could be easily extended to allow passing parameters with custom values.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.