Fix for Explorer.exe crashes on Windows 8.1 Preview due to dlnashext.dll

After installing Windows 8.1 Preview (codename Blue) on my laptop recently I began to notice that every time I opened File Explorer (or Windows Explorer, not IE) it would immediately crash and restart. This would happen if I hit WindowsKey+E or clicked the Explorer icon on the task bar. (For the record, I’m using Windows 8.1 Pro Preview Build 9431)

If I opened File Explorer by using WindowsKey+R (for Run) and typing something like C: and hitting enter, Explorer would open fine. However, once I clicked This PC (Microsoft has renamed “My Computer” to “This PC”. Don’t ask me why there’s no good reason that I’m aware of) it would immediately crash again. It would also crash if I right-clicked on any file on the desktop or within a working instance of Explorer. VERY frustrating indeed!

Further research in the Windows Application Event log revealed the following:

Log Name:      Application
Source: Application Error
Date: 6/29/2013 12:39:28 PM

Event ID:      1000

Task Category: (100)

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      REDACTED


Faulting application name: explorer.exe, version: 6.3.9431.0, time stamp: 0x51bce434

Faulting module name: dlnashext.dll, version: 12.0.9431.0, time stamp: 0x51bcfb3d

Exception code: 0xc0000005

Fault offset: 0x000000000000d56c

Faulting process id: 0xf64

Faulting application start time: 0x01ce750054969779

Faulting application path: C:WINDOWSexplorer.exe

Faulting module path: C:WindowsSystem32dlnashext.dll

Report Id: 9be2167f-e0f3-11e2-9b17-2016d891de48

Faulting package full name: 

Faulting package-relative application ID: 

I began researching this error on the internet and came across this forum posting in the Microsoft Windows 8.1 Preview forum.

Following the instructions for disabling the network adapter did seem to resolve the issue but that presents its own new problems of course.

I resolved the issue by following the instructions in KB article 971760 through Step 2 to get to a Command Prompt. The article is written for restoring Windows 7 but the steps will apply for Windows 8.

Once I had a command prompt open, I then renamed the c:windowssystem32dlnashext.dll file to dlnashext.dll.bak.

I then copied the previous version of the file from before I installed Windows 8.1 Preview from the Windows.old folder (c:windows.oldwindowssystem32dlnashext.dll) to the new Windows installation folder (c:windowssystem32) and rebooted.

I no longer have explorer.exe crashes. There doesn’t appear to have been any ill effects from this change other than some of my icons on the Start screen got re-arranged.


Upgrade Windows 2008 R2 Edition from Standard to Enterprise via Command Line

Have you ever installed Exchange 2010 on a Windows 2008 R2 server that came from an image, gotten all the way through installation and then discover that you can’t create the DAG because the OS is installed as Standard Edition and not Enterprise Edition (Entperprise being required for Cluster services to support the DAG).

It’s really disheartening to think you have to start over with re-installing the operating system.

Well, you don’t have to.  Windows 2008 R2 comes with a tool called DSIM – the Deployment Image Servicing and Management tool.  One of this tools amazingly useful features is the ability to upgrade the installed edition of the operating system without media.

To verify/determine the current edition, from a command line type:

DISM /online /Get-CurrentEdition

To upgrade the current edition to Enterprise, from a command line type:

DISM /online /Set-Edition:ServerEnterprise /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Once you’ve upgraded the OS edition to Enterprise, you can re-install Exchange and create a DAG.

You can find out more about this tool from this TechNet article.