Here is a quick command that can be used so that you can run the ipconfig/all command from the run box without it closing down on you:
cmd /k ipconfig /all
This should bring up the cmd box but pause and wait for input before closing down:
Pressing the key should close the box down.
The command ipconfig can obviously be changed for any other command that will output to the cmd screen.
This should also work in places where cmd has been locked down. You may just receive a message like this in the output: