Is your Windows Sidebar (Windows Desktop Gadgets) crashing after adding a third-party gadget, with the error "Windows Desktop Gadgets has stopped working" or "Windows Sidebar has stopped working" (Windows Vista) at every start? You can stop the offending gadget from loading by editing the Windows Sidebar Gadgets settings file. Here are the instructions, which apply to Windows 7 and Windows Vista.

If Sidebar.exe process is running, you wouldn’t be able to write to its settings file. Launch Task Manager (taskmgr.exe), select the sidebar.exe process and terminate it if it’s running.

Click Start, type the following path in the Search box and hit ENTER.

%LOCALAPPDATA%\Microsoft\Windows Sidebar

(You can type it in the Run dialog as well.)

The above location is where the desktop gadgets store their configuration information, in a file named Settings.ini

First, make a copy of Settings.ini

Double-click Settings.ini to open it in Notepad.

Configuration information for the last installed desktop gadget is usually located at the end of the INI file. Using the PrivateSetting_GadgetName line as the hint, locate the corresponding [Section #], select all lines underneath and delete it. Trim any blank lines that may have resulted from the deletion.

Then, move to the top of the INI file, and delete the Section# line that references the offending gadget. As you’ve removed the entries in [Section 5], also delete the following line:

Section4="5"

Trim any blank lines that may have resulted from the deletion, and save the Settings.ini file.

Right-click on the Desktop, and click Gadgets. This starts the Sidebar.exe process and shows the gadgets listed in the Settings.ini file.

[Windows Vista Users] The above UI is unavailable in Windows Vista. If using Windows Vista, manually launch Sidebar.exe from Start, Search box or via the Run dialog. This starts the Windows Sidebar and loads the previously added gadgets, except the offending one.

Reset Windows Sidebar (Desktop Gadgets) Configuration to Defaults

If you don’t want to go through all the hassle, simply rename or delete the Settings.ini and restart Sidebar.exe. It creates a brand new Settings.ini file, that means the customizations for your Sidebar/gadgets will be lost and you need to add the gadgets manually and reconfigure again.


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

31 Comments

  1. said this on Sunday, July 6th 2014 1:30 pm

    my desktop gadget not opening following problem display
    Problem Event Name: BEX
    Application Name: sidebar.exe
    Application Version: 6.1.7600.16385
    Application Timestamp: 4a5bc613
    Fault Module Name: StackHash_c199
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Offset: 02830070
    Exception Code: c0000005
    Exception Data: 00000008
    OS Version: 6.1.7600.2.0.0.256.1
    Locale ID: 1033
    Additional Information 1: c199
    Additional Information 2: c1996e8e9aa95be2765300e145170d5c
    Additional Information 3: 535f
    Additional Information 4: 535f43a898aa679f0971040167d24860

Leave a Reply