Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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.