This program is preventing windows from shutting down

Posted on 2011-04-29
Last Modified: 2012-08-13
I have a brand new Lenovo T410 laptop that gives the following error at shutdown (sometimes).
"2 Programs still need to close:
(Waiting for) explorer.exe
This program is preventing Windows from shutting down."

I have an option to Force Shutdown or Cancel.

I've disabled almost all non Microsoft Services and also almost every single startup item and the issue still occurs.

I know how to shorten the time it takes to automatically force shutdown but I'm looking for the reason that it is  happening.

Question by:mcrossland
    LVL 8

    Expert Comment

    That can just depend on what you are doing. Exlorer.exe is just your file browsing window. It's really a non issue.
    LVL 13

    Expert Comment

    How do you shorten it? There may be a clue in there.

    I hear this can spead up things:
    1) Go to Start menu > Run > and type regedit and click OK.
    2) Find following address: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \Session Manager \ Memory Management
    3) In right side right click on “ClearPageFileAtShutdown”, select Modify and make value of “1”, and Exit from Registry Editor and restart your Computer.

    You can use these tools to see what might be causing the problem:
    Process Explorer:
       Process Monitor:

    and these tools to clean up your system a bit:

    LVL 13

    Expert Comment

    Oh I forgot also... Check your eventvwr for any errors and let me know if it is pointing at anything
    LVL 10

    Author Comment

    That is not a solution.  

    You may be on to something there.   I went and worked on that pc prior to receiving posts.   I added 2 gig of memory to the system and turned the page file off.  So, it has 4 gig of RAM and 0 page file.
    If that works, then I'll turn it back on and apply your suggestion.  Won't know for a couple of days as this doesn't happen every time the user shuts down.

    LVL 4

    Accepted Solution

    You can check if a particular program is slowing the machine when you shut down

    Control Panel > All Control Panel Items > Performance Information and Tools > Advanced Tools (in the left pane).

    On this screen the problem is sometimes shown. If not, click View Performance Details in Event Log (Event Viewer).

    Events in the 200 series are shut down events. These can be followed up by double-clicking them, then clicking Event Log Online at the bottom.
    LVL 10

    Author Closing Comment

    Used Force Shutdown in registry.  That will have to do.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    When you use the right mouse button (assuming you're right handed) to click something in Windows, you usually get what is called a "context menu".  It's called that because the items in the menu vary according to context, that is, according to where…
    One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
    This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
    This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now