Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Microsoft > Windows

November 7th, 2011, 14:52 GMT · By

Windows 7 SP1 Can Crash If Command Prompt Is Opened and Closed Repeatedly

SHARE:

Adjust text size:


Windows 7
Enlarge picture
It might be less of a good idea to repeatedly open and close a command prompt or a PowerShell console in Windows 7, than you might think, at least according to Microsoft.

The Redmond company reveals that launching and exiting either a command prompt or a PowerShell console multiple times can generate potential problems, and even crash the operating system.

Windows Server 2008 R2 is also affected by this issue, as are the versions of the two platforms that have already been upgraded to Service Pack 1 (SP1).

If customers indeed go ahead and perform the actions described above, Microsoft warns that “the performance of the computer may become slow, and applications may crash.”

Still, the problem is not generalized, as it “occurs when you use a non-English input method (such as the Japanese IME),” Microsoft added.

Apparently, at fault for the poor performance and for the potential crashes are Graphics Device Interface (GDI) objects, which get leaked for every open / close action.

“The leak occurs in the Taskhost.exe process or the Explorer.exe process, depending on whether the language bar is displayed or not. When the number of leaked GDI object handles in the process reaches the maximum number, no more GDI objects can be created,” Microsoft explains.

“When an application receives the focus for the first time, a notification is sent to all language bars. Then, the language bars allocate GDI objects for the application. However, when a command prompt or a PowerShell console is closed, the Conhost.exe process does not send a notification to clean up the GDI objects that were allocated by the language bars. Therefore, the leak occurs.”

Microsoft details the issue in KB2617157, and this article is also the best place for customers to find and download a fix.

The hotfix is available directly from Microsoft support, but users should only deploy it if they are indeed impacted by the glitch described above. Otherwise, they should wait for Windows 7 SP2, which apparently will also pack this hotfix.

Windows 7 SP1 RTM and Windows Server 2008 R2 SP1 RTM are available for download here.

TELL US WHAT YOU THINK:

2,047 hits · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Windows 7 SP1 Intermittent Crashes ‘0x00000044’ Stop Error

No Patch for Critical Duqu 0-Day Vulnerability in Windows Next Week

Kinect for Windows SDK Now Plays Nice with Windows 8

IE9 Holidays Promotion – Free Stuff from the Sites You Love

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM