How to Stop My Computer From Logging Off

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Your computer's power management settings control many features to protect your computer. If your computer is logging off after a period of inactivity, you must adjust your computer's power management settings. These settings control the amount of time of inactivity that must pass before putting the computer into Sleep, or hibernation, mode. When your computer goes into Sleep mode, it automatically saves all open documents, logs off Windows and stops all processes. Prevent your computer from logging off by turning off the Sleep setting in the power management section.


Step 1

Click the "Start" button and click "Control Panel."

Video of the Day

Step 2

Click "System and Security" and click "Power Options."

Step 3

Click "Change advanced power settings" and click the "Advanced Settings" tab.


Step 4

Double-click "Sleep" and double-click "Sleep after."

Step 5

Click "Settings" and then select "Never" from the drop-down menu if you are using a desktop computer.



Step 6

Click "Plugged in" and select "Never" from the drop-down menu if you are using a laptop computer. Click "On battery" and select "Never" from the drop-down menu.

Step 7

Click "OK" and click "Save changes." Your computer will never go into Sleep mode.

Video of the Day




Report an Issue

screenshot of the current page

Screenshot loading...