FG
💻 Software

How do I automatically exit a program when I lock the screen on Windows 7?

Fresh5 days ago
Mar 15, 20267138 views
Confidence Score0%
0%

Problem

Is there a way to auto-exit a program on Windows 7 whenever I lock the screen?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I automatically exit a program when I lock the screen on Windows 7?

Low Risk

As per grawity's suggestion, do not use the batchfile I put at the end of this answer. This is because does not match the calling convention of the Win32 API function (see this MSDN blog entry for details). That being said, there is a better alterna…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment