If you’re having trouble getting your computer to stay connected to the network, or if you just want to change the timeout period for your monitor, you can do so from the command line. Here’s how:
- Open a command prompt window by clicking on the Start button and typing “cmd” in the search box.
- When cmd appears in your results, right-click on it and select “Run as Administrator.”
- When the command prompt window opens, type “netstat -an” and press Enter. This will display all of your active network connections.
- Next, type “timeout /t 30” and press Enter. This will set the timeout period for your monitor to 30 minutes. ..
The powercfg utility can be used on the command line to change power configuration settings, including the monitor timeout, which is what we’ll use here.
The command syntax:
This will change the monitor setting to stay on for 120 minutes while on AC power. You can use -dc at the end to change the setting for when you are on battery power.