Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Windows Central
Windows Central
Technology
Kevin Okemwa

Microsoft Engineer Unveils Mystery Behind Windows' Blank Shutdown Blocker

Lenovo LOQ 15IAX9I.

For as long as I can remember, as an avid Windows user, I've regularly encountered an unnamed window preventing me from shutting down my PC after a long day of gaming (or work). It's puzzled me for years, and based on my research, I’m clearly not the only one dealing with it on this island.

Going by the comments on Reddit posts, even from several years ago, the unnamed program preventing Windows from shutting down always seemed like an issue that puzzled users. However, Microsoft veteran Raymond Chen recently revealed the whole concept behind this secretive window with no name, blocking Windows shutdown in his ongoing "Old New Thing" series.

Lately, as I attempt to shutdown my PC, an unnamed program, sometimes accompanied by a program simply named 'G' will prevent shutdown. Clicking 'shutdown anyway' allows me to shutdown but i am never able to locate the source of the programs.

u/Ronibaboni via r/techsupport (Reddit)

According to the seasoned Microsoft engineer, when a user attempts to shut down Windows, but a program deters the process from happening, the operating system conventionally presents you with the Blocked Shutdown Resolver (BSDR) featuring a list of windows, including the one processing the shutdown notification as well as other windows waiting in line to process said notification.

As highlighted by Chen, "The program controls all the parts of the presentation. The description comes from the window title. The icon (comes) from the window icon. And the subtitle comes from the string that the program passed to the Shutdown­Block­Reason­Create function."

However, there are some instances where the program fails to call that function, prompting it to default to a generic system-provided string like “This app is preventing shutdown” or “This app is preventing you from restarting.”

The description may at times appear blank, which is a rather odd occurrence. "But why is the description sometimes blank? Who would create a window with no title?" added Chen. As it turns out, the whole concept is by design. Chen notes that programs often create windows that were never meant to be shown to the user, so developers would leave their titles blank on purpose.

He further explains that these windows are designed to serve as a dummy "helper" window, designed to receive messages or serve as an anchor for positioning another window. "Since the program knew that the window would never be shown to the user, it didn’t bother giving it a title," concluded Chen. However, the Blocked Shutdown Resolver shows the title, explaining the unnamed program preventing a shutdown. Puzzle solved. Well, at least I know why it happens now.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.