A tray icon utility to prevent a policy-enforced screen lock in Windows.
CoffeeBean is a lightweight system utility designed to prevent policy-enforced screen locks on Windows devices while maintaining compliance with security policies.
Key Features:
Runs as a compact system tray icon with minimal resource usage.
Works silently in the background without intrusive notifications or alerts.
Integrates seamlessly with standard Windows settings for a smooth user experience.
Configurable to suit specific organizational needs and policies.
Installable via winget, making it easy to deploy across environments.
Audience & Benefit:
Ideal for IT professionals and organizations managing Windows devices in locked-down environments. CoffeeBean ensures that users can maintain productivity by preventing unintended screen locks while adhering to security protocols.
README
CoffeeBean
A utility to prevent a policy-enforced screen lock in Windows.
Windows can be configured to lock the screen after some time of inactivity.
In case corporate IT policies enforce this option, it is impossible to disable it via Windows settings.
This utility is a convenient and reliable way to solve this problem.
Download CoffeeBean.exe.zip (portable executable) or CoffeeBean.msi from the latest release
Run the installer if you want to install the application. The installer will install into a %AppData%\CoffeeBean folder and create a desktop icon.
How to use
Start the application, and you will get an icon in the system tray
As you keep this tool running, it prevents the screen from auto-locking
You can still lock the screen manually, if you want, by using Windows default methods/shortcuts (for example, by pressing Win+L)
To close the utility, click Close in the tray icon context menu. After the utility is closed, the locking behavior returns to what it was before you started the utility
Use the Launch at startup context menu item if you want the application to run at Windows startup.
Use the Enable context menu item to turn the screen lock prevention functionality on or off.
Running the application from console
There are command line arguments to control screen lock functionality. You can use them in the following way:
Launch the application with screen lock prevention functionality enabled or enable the screen lock prevention functionality of an already running instance of the application:
CoffeeBean.exe enable
Launch the application with screen lock prevention functionality disabled or turn off screen lock functionality of an already running instance of the application:
CoffeeBean.exe disable
How it works
The application uses SetThreadExecutionState WinAPI method, which allows an application to keep the system "in use" even if there is no user activity. It is better than simulating key presses or mouse movements. For instance, it is the function that video players use to keep the screen on while playing a video.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
GitHub CLI (gh) is a command-line tool that brings pull requests, issues, GitHub Actions, and other GitHub features to your terminal, so you can do all your work in one place.
Bulk Rename Utility allows you to easily rename files and folders recursively based upon find-replace, character place, fields, sequences, regular expressions, EXIF data, and more.
CPU-Z is a freeware that gathers information on some of the main devices of your system
- Processor name and number, codename, process, package, cache levels.
- Mainboard and chipset.
- Memory type, size, timings, and module specifications (SPD).
- Real time measurement of each cores internal frequency, memory frequency.
Use the desktop clients to keep your files synchronized between your Nextcloud server and your desktop.
Select one or more directories on your local machine and always have access to your latest files wherever you are.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
GitHub CLI (gh) is a command-line tool that brings pull requests, issues, GitHub Actions, and other GitHub features to your terminal, so you can do all your work in one place.
Bulk Rename Utility allows you to easily rename files and folders recursively based upon find-replace, character place, fields, sequences, regular expressions, EXIF data, and more.
CPU-Z is a freeware that gathers information on some of the main devices of your system
- Processor name and number, codename, process, package, cache levels.
- Mainboard and chipset.
- Memory type, size, timings, and module specifications (SPD).
- Real time measurement of each cores internal frequency, memory frequency.
Use the desktop clients to keep your files synchronized between your Nextcloud server and your desktop.
Select one or more directories on your local machine and always have access to your latest files wherever you are.
HWMonitor for Windows® x86/x64 is a hardware monitoring program that reads PC systems main health sensors : voltages, temperatures, powers, currents, fans speed, utilizations, clock speeds ...
The program handles :
- CPU and GPU-level hardware monitoring
- LPCIO chips with monitoring features (ITE® IT87 series, Winbond® and Nuvoton® ICs)
- memory modules with thermal sensors
- SSD / hard disks via S.M.A.R.T.
- batteries
- and more ...
HWMonitor for Windows® x86/x64 is a hardware monitoring program that reads PC systems main health sensors : voltages, temperatures, powers, currents, fans speed, utilizations, clock speeds ...
The program handles :
- CPU and GPU-level hardware monitoring
- LPCIO chips with monitoring features (ITE® IT87 series, Winbond® and Nuvoton® ICs)
- memory modules with thermal sensors
- SSD / hard disks via S.M.A.R.T.
- batteries
- and more ...
Twinkle Tray lets you easily manage the brightness levels of multiple monitors.
Even though Windows 10 is capable of adjusting the backlight on most monitors, it typically doesn't support external monitors.
Windows 10 also lacks any ability to manage the brightness of multiple monitors.
This app inserts a new icon into your system tray, where you can click to have instant access to the brightness levels of all compatible monitors.
Twinkle Tray lets you easily manage the brightness levels of multiple monitors.
Even though Windows 10 is capable of adjusting the backlight on most monitors, it typically doesn't support external monitors.
Windows 10 also lacks any ability to manage the brightness of multiple monitors.
This app inserts a new icon into your system tray, where you can click to have instant access to the brightness levels of all compatible monitors.
Display Driver Uninstaller (DDU) is a driver removal utility that can help you completely uninstall AMD/NVIDIA/INTEL graphics card drivers and packages from your system, trying to remove all leftovers (including registry keys, folders and files, driver store).
The AMD/NVIDIA/INTEL video drivers can normally be uninstalled from the Windows Control panel, this driver uninstaller program was designed to be used in cases where the standard driver uninstall fails, or when you need to thoroughly delete NVIDIA and ATI video card drivers.
The current effect after you use this driver removal tool will be similar as if its the first time you install a new driver just like a fresh, clean install of Windows. As with any tool of this kind, we recommend creating a new system restore point before using it, so that you can revert your system at any time if you run into problems.
Display Driver Uninstaller (DDU) is a driver removal utility that can help you completely uninstall AMD/NVIDIA/INTEL graphics card drivers and packages from your system, trying to remove all leftovers (including registry keys, folders and files, driver store).
The AMD/NVIDIA/INTEL video drivers can normally be uninstalled from the Windows Control panel, this driver uninstaller program was designed to be used in cases where the standard driver uninstall fails, or when you need to thoroughly delete NVIDIA and ATI video card drivers.
The current effect after you use this driver removal tool will be similar as if its the first time you install a new driver just like a fresh, clean install of Windows. As with any tool of this kind, we recommend creating a new system restore point before using it, so that you can revert your system at any time if you run into problems.
Display Driver Uninstaller (DDU) is a driver removal utility that can help you completely uninstall AMD/NVIDIA/INTEL graphics card drivers and packages from your system, trying to remove all leftovers (including registry keys, folders and files, driver store).
The AMD/NVIDIA/INTEL video drivers can normally be uninstalled from the Windows Control panel, this driver uninstaller program was designed to be used in cases where the standard driver uninstall fails, or when you need to thoroughly delete NVIDIA and ATI video card drivers.
The current effect after you use this driver removal tool will be similar as if its the first time you install a new driver just like a fresh, clean install of Windows. As with any tool of this kind, we recommend creating a new system restore point before using it, so that you can revert your system at any time if you run into problems.
GPU-Z is a lightweight system utility designed to provide vital information about your video card and graphics processor.
Main Features
- Supports NVIDIA, AMD, ATI and Intel graphics devices
- Displays adapter, GPU and display information
- Displays overclock, default clocks and 3D/boost clocks (if available)
- Detailed reporting on memory subsystem: memory size, type, speed, bus width
- Includes a GPU load test to verify PCI-Express lane configuration
- Validation of results
- GPU-Z can create a backup of your graphics card BIOS
- No installation required, optional installer is available
- Support for Windows 11 / Windows 10 / Windows 8 / Windows 7 / Vista / Windows XP (both 32 and 64 bit versions are supported)
- .. and yes, the author of CPU-Z has granted us permission to use a name similar to his product. Thanks Franck.
GPU-Z is a lightweight system utility designed to provide vital information about your video card and graphics processor.
Main Features
- Supports NVIDIA, AMD, ATI and Intel graphics devices
- Displays adapter, GPU and display information
- Displays overclock, default clocks and 3D/boost clocks (if available)
- Detailed reporting on memory subsystem: memory size, type, speed, bus width
- Includes a GPU load test to verify PCI-Express lane configuration
- Validation of results
- GPU-Z can create a backup of your graphics card BIOS
- No installation required, optional installer is available
- Support for Windows 11 / Windows 10 / Windows 8 / Windows 7 / Vista / Windows XP (both 32 and 64 bit versions are supported)
- .. and yes, the author of CPU-Z has granted us permission to use a name similar to his product. Thanks Franck.
GPU-Z is a lightweight system utility designed to provide vital information about your video card and graphics processor.
Main Features
- Supports NVIDIA, AMD, ATI and Intel graphics devices
- Displays adapter, GPU and display information
- Displays overclock, default clocks and 3D/boost clocks (if available)
- Detailed reporting on memory subsystem: memory size, type, speed, bus width
- Includes a GPU load test to verify PCI-Express lane configuration
- Validation of results
- GPU-Z can create a backup of your graphics card BIOS
- No installation required, optional installer is available
- Support for Windows 11 / Windows 10 / Windows 8 / Windows 7 / Vista / Windows XP (both 32 and 64 bit versions are supported)
- .. and yes, the author of CPU-Z has granted us permission to use a name similar to his product. Thanks Franck.
Unofficial GUI for Microsoft's Windows Package Manager (winget). Kinda like Synaptic, but for Windows. Not associated with either Microsoft or the Synaptic project, and Microsoft does not endorse this software. If installing system-wide, you may need to run winget as an administrator to install this package due to issues where Inno Setup doesn't properly ask for UAC when installing with winget. Not associated with Inno Setup.
Unofficial GUI for Microsoft's Windows Package Manager (winget). Kinda like Synaptic, but for Windows. Not associated with either Microsoft or the Synaptic project, and Microsoft does not endorse this software. If installing system-wide, you may need to run winget as an administrator to install this package due to issues where Inno Setup doesn't properly ask for UAC when installing with winget. Not associated with Inno Setup.
Unofficial GUI for Microsoft's Windows Package Manager (winget). Kinda like Synaptic, but for Windows. Not associated with either Microsoft or the Synaptic project, and Microsoft does not endorse this software. If installing system-wide, you may need to run winget as an administrator to install this package due to issues where Inno Setup doesn't properly ask for UAC when installing with winget. Not associated with Inno Setup.