Firstly you should open a command prompt:
- Start > Run > type "cmd" and press Enter
- Open a command prompt by clicking the Start button, type cmd and press Enter to validate.
- Right click on the title bar and select Properties.
- Select the Layout tab and enter your custom values in the "Windows Size" Section.