How-to guide

How to keep a Windows PC awake while you work away from the keyboard

Reading a drawing, calculating on paper, thinking on a call: real work with no typing. Four ways to stop the screen locking, in order of what to try first.

By Trishunya InfotechPublished 8 min read
Short answer

Change the Windows power and sign-in settings first, since that needs nothing extra. If a company policy forces a lock, or you want a temporary fix, use Microsoft PowerToys Awake or a phone macro. In Never Away, record a small mouse movement as a macro, choose Repeat on a loop, set a delay and a stop timer, and the PC receives input without any software on it.

Why Windows locks when you are working

Windows decides you have left by watching for input. No key press and no mouse movement for a set time, and it dims the screen, then locks or sleeps. A chat app such as Microsoft Teams works the same way: after a few minutes without input it can switch your status to Away, and a locked or sleeping PC does the same.

The problem is that plenty of real work makes no input. You review a printed drawing, do a calculation on paper, listen to a long call, read a document, or wait for a render or a large export to finish. The PC cannot tell the difference between that and walking away.

Option 1: change the power and sign-in settings

This is the clean fix and the first one to try. In Windows 11:

On a work laptop these settings are often controlled by company policy. If the options are greyed out, or reset themselves, an administrator has set them, and a change from your side is not expected.

Option 2: PowerToys Awake

Microsoft PowerToys is a free set of utilities from Microsoft, and one of them, Awake, keeps the PC from sleeping without touching your power settings. You can keep it awake indefinitely or for a set time. It needs PowerToys installed on the PC, so it is not an option if you cannot install software.

Option 3: a looping macro from your phone

If you cannot change the settings or install anything on the PC, the phone can send the input instead. In Never Away you record a short sequence once, for example a small mouse movement, and play it on a loop. The PC sees ordinary keyboard and mouse input from a Bluetooth device, so it needs no software.

The loop dialog has the controls you need:

Never Away Stay Awake dialog with Play once and Repeat on a loop options, a delay between each loop of 1000 milliseconds, a stop after of 1 minute, a Beep sound checkbox and Cancel and Play buttons
The loop dialog for a macro: delay between loops, stop timer and beep.

You can also tap Background so the macro keeps running with the phone screen off. Keep the app open and allow it to run in the background in Android's battery settings, or the system may close it.

Option 4: a hardware mouse jiggler

A small USB gadget that moves the pointer on its own does the same job. It is another device to carry and it needs a free USB port. Some companies block unknown USB devices.

Which one to use

Ways to keep Windows awake
MethodSoftware on PCNeeds admin rightsBest for
Power and sign-in settingsNoneSometimesYour own PC, long-term
PowerToys AwakeYesTo installYour own PC, temporary or on a schedule
Phone macro (Never Away)NoneNoA PC you cannot install on, or a quick fix with a timer
Hardware jigglerNoneNoA spare USB port and a policy that allows it

When not to do this

These tools are for real work that happens away from the keyboard. They are not a way to fake attendance. Your employer may track activity, require the screen to lock for security, or have rules about tools like this. If the company enforces a lock, do not try to get around it, and if you are unsure, ask your IT team. Locking a PC is a security feature, so on a shared or public computer leave it on.

The macro, step by step

  1. Connect the phone to the PC (see how to pair it).
  2. Open the Macros tab and tap the red Record button. A red banner shows it is recording.
  3. Use the Mouse tab to make one small, harmless movement, such as nudging the cursor and moving it back.
  4. Tap Stop, name the macro, pick an icon and save it.
  5. Tap the macro, choose Repeat on a loop, set the delay and a stop timer, keep the beep on, and tap Play.
  6. Check that the screen stays on, then use the timer so it ends when you expect to be back.

A macro in the list shows its step count and length, for example seven steps in about 1.4 seconds. Mouse movements replay reliably when they are small and the window under the cursor does not change.

Never Away Macros tab listing three macros: Corner Tour with 7 steps in about 2.0 seconds, Stay Awake with 7 steps in about 1.4 seconds and Type and Move with 9 steps in about 1.9 seconds
The Macros tab. Each macro shows its number of steps and how long it takes.

Questions people ask

How do I stop my PC from locking when I am working on paper?

First lengthen the screen and sleep times and the sign-in delay in Windows settings. If you cannot change them, keep the PC receiving input with PowerToys Awake or with a looping macro from your phone.

Is there a mouse jiggler that needs no software on the PC?

A hardware USB jiggler or a Bluetooth phone macro both need nothing installed on the PC, because the PC sees them as ordinary input devices.

Will it stop Teams from showing Away?

Teams looks at input and at whether the PC is locked, so steady input keeps it from going idle. Check your employer's rules before using any tool for this, and use it for real work, not to fake presence.

Can I leave the macro running overnight?

It is better not to. Set the Stop after timer in minutes so it ends by itself, and lock the PC when you leave it.

Does the macro work with the phone screen off?

Yes, if you tap Background and allow the app to run in the background. The phone needs to stay within Bluetooth range of the PC.

Will this get around a company security lock?

It should not, and you should not try. Many companies enforce locking through policy. Ask your IT team if a lock gets in the way of real work.

Keep reading

Record it once, play it on a loop

Never Away is free on Google Play. Nothing to install on your PC.

Get Never Away on Google Play

For reference. Steps and screens described here are as they appear in Never Away and in Windows at the time of writing, and menu names can differ between versions of Windows, Android and other software, so test any setup before you depend on it. Never Away is an independent app by Trishunya Infotech. Windows, Microsoft Teams, PowerPoint, Excel, AutoCAD and Bluetooth are trademarks of their respective owners and are named only to describe what the app works with. Follow your employer's IT and security policies when you use any tool on a work computer.