Cptmsg что это
Перейти к содержимому

Cptmsg что это

  • автор:

Mysterious app keeps you from shutting down — or does it?

broken window with windows logo in clouds

At last, we have a description of the mysterious shutdown-blocking G — and a fix for Microsoft’s G-generating bug coming in the next version of Win10, commonly called 20H1.

If you look online, you’ll see hundreds (if not thousands) of reports about Win10 shutdown getting blocked by a mysterious app called, simply, G.

g blocks shutdown

Most people assume it’s a virus, some other sort of malware or a harbinger of doom. In fact, it’s nothing of the sort. It’s a bug in the way Windows reports a specific kind of hang, and the bug has been fixed in the latest versions of Win10 20H1.

The KB article associated with the first Windows Insider beta build 19013 release says:

Some of you have reached out about when trying to shutdown, seeing a message saying that an app named “G” was preventing shutdown. We investigated and found an issue where windows related to GDI+were only referenced as “G.” We’ve fixed this, so going forward, these will now have the name “GDI+ Window ()”, where will show the .exe name of the app using GDI+.

In fact, people have been “reaching out” to Microsoft about this bug for years. I easily found six complaints on Reddit ( 1 , 2 , 3 , 4 , 5 , 6 ) going back two years. General consensus on Reddit, and elsewhere, is that the afflicted machines are running malware of some sort or another. General consensus is wrong.

It’s a bug in the way the Blocked Shutdown Resolver pulls the name of the program blocking a shutdown, and “G” may result when there’s a GDI+ program (a program that draws stuff on the screen) that turns belly up as you’re shutting down.

Raymond Chen, one of my favorite Microsoft explainers, has a detailed (if weighty) discussion on the Developer Blog .

At the time the GDI+ library was written, it needed to support Windows 98, which had very limited support for Unicode. Therefore, it was compiled as ANSI and consequently used the ANSI versions of functions like Register­Class , like Create­Window , and Def­WindowProc to create and manage its helper window. The lack of Unicode support in the helper window didn’t really cause a problem because the window never displayed any UI and never processed any text. The window was there to do things like listen for WM_ SETTINGS­CHANGE messages so it knew when to invalidate its caches. A few years ago, the GDI+ team did a little cleanup, and one of the things they did was get rid of support for Windows 98 and Windows Me.

When a program prevents you from signing out or shutting down, Windows looks for a visible window belonging to that program and uses that to represent it in the Blocked Shutdown Resolver (BSDR) screen. But if the program has no visible windows, then the BSDR will take any window belonging to the program, visible or not. And sometimes the invisible window that gets chosen is the one named “G”.

So if you see that G is keeping you from shutting down, just go ahead and manually override it. No harm, no foul — and know that it’ll be fixed (finally!) when the next version of Win10 hits.

Having G problems? Tell us about it on AskWoody .

  • Windows
  • Microsoft
  • Small and Medium Business

Процесс cptmsg.exe выпадает в списке «эти приложения не позволяют выключить компьютер». Майнер?

Открой диспетчер задач и найди процесс с таким названием. Далее, жмешь правой кнопкой мыши по найденному процессу, находишь «Свойства», и в свойствах смотришь полный путь до папки откуда запущен этот процесс. И, на всякий случай глянь в раздел «автозагрузка». Там может висеть такая надпись, возможно в реестре есть запись или планировщике задач. Больше похоже на запущенный рекламный модуль.

Остальные ответы

Майнер, лечи комп

Не обязательно майнер. Скорей системный процесс.

Невозможно по названию файла угадать что это за приложение. Если есть подозрения на наличие вирусов, то проверяй ПК антивирусами и сканерами (желательно несколькими).

ваня фирсовМастер (1044) 2 года назад

Есть лицензия Касперского. Ничего не видит.

А по простому отрубить питание нельзя?

ваня фирсовМастер (1044) 2 года назад

Можно, но если это майнер, я остался бы при желании от него избавиться

PPLife Просветленный (29520) ваня фирсов, потом заходите в безопасный режим без сети и избавляетесь.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *