Question: why does ipconfig closes instantly?
Answer: 5 Answers. It's because the ipconfig has finished, and automatically closes itself. This way you won't get a chance to read the messages it returns. To be able to read the ipconfig messages run ipconfig from the command line.