Standardize look of your Command Prompt or Powershell Prompt

I do not know who does or who does not do but I am always changing the look of my command prompt and powershell prompt. I know this is not a big effort but I even do not want to sacrifice this so little time to configure it. The good news is that there is a solution (fortunately there is always a solution).

Do the following:

Command Prompt:

Open the Prompt: %SystemRoot%\Windows\System32\cmd.exe

Configure your Prompt (see the attached picture)

Command Prompt

Powershell Prompt:

Open the Prompt %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

Configure your Prompt (see the attached picture)

Powershell Prompt

Check the registry keys:

HKEY_CURRENT_USER\Console\%SystemRoot%_System32_cmd.exe

HKEY_CURRENT_USER\Console\%SystemRoot%_system32_WindowsPowerShell_v1.0_powershell.exe

Trick:

Unfortunatelly this configuration procedure totally can be owerwritten by a shourtcut icon. Namely after the first use for instance of the command prompt or powershell prompt you are giong to get a shortcut icon in your start menu. If you click a right on this you will have opportunity to configure the prompt directly. In this case you are going to find a different entry in the registry.

Trick

Try this: Start Menu -> Run -> cmd.exe Or Start Menu -> Run -> powershell.exe

Of course you are going to get the correctly pre-configured prompts (in both cases)

If you use the (Windows 7 and Windows 2008) Quick Search textarea (Run is default disabled on Windows 7) and you type cmd or powershell you are going to get a shourtcut which is not using your pre-configurded settings.

Because of this I recommend to configure your prompts all the possible way and than export the Console key.

Check the registry keys (again):

HKEY_CURRENT_USER\Console\Command Prompt

HKEY_CURRENT_USER\Console\Windows PowerShell

Export the keys:

Press a right click on this specific key: HKEY_CURRENT_USER\Console and choose Export… option. Save the .reg file to your desktop or even better than your save this file to your (bestfriend) pendrive.

From now you have an universal and standard configuration and you do not need to do anything else on a computer only double click on this registry key.

Do not forget restart your (windows) machine.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s