windows presentation foundation host has stopped working

FIX: You cannot start an XAML Browser Application that is created by using Windows Presentation Foundation in the .NET Framework 3.0 or in the .NET Framework 3.5

You cannot start an XAML Browser Application (XBAP) that was created by using Windows Presentation Foundation (WPF) in the Microsoft .NET Framework 3.0 or in the Microsoft .NET Framework 3.5. Additionally, if you browse the XBAP in compatible browsers, you may experience one of the following symptoms:

A blank browser window may appear. Additionally, a download dialog box appears that never stops downloading.

You receive the following error message in the browser:

Deployment Failed

You receive an error message that states that the application crashed.

The PresentationHost.exe process and the browser may restart repeatedly.

Note Compatible browsers are browsers that support XBAP.

This problem occurs because of an abnormal condition that is caused in certain account migration scenarios or operating system upgrade scenarios.

Download information

Download

119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

No prerequisites are required.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

To work around this problem, use one of the following workarounds.

Workaround 1

Delete and re-create the affected user account.

Workaround 2

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in WindowsManually repair the permission settings. To do this, follow these steps:

Click Start , click Run , type regedit, and then click OK .

Expand HKEY_CURRENT_USER , and then expand Software .

Right-click Classes , and then click Permissions .

Under Group or user names , click the affected user account name.

Under Permissions for UserName , click to select the Allow check box for the Full Control permission.

Click Advanced , and then click to select the Include inheritable permissions from this object's parent check box.

Click Apply , and then click OK two times. Note If you still cannot start the XBAP, go to step 8.

Expand HKEY_CLASSES_ROOT , and then expand Interface .

Right-click {79EAC9C9-BAF9-11CE-8C82-00AA004BA90B} , and then click Permissions .

Under Permissions for UserName , click to select the Allow check box for the Read permission.

Click Apply , and then click OK . Note If you still cannot start the XBAP, repeat steps 6-7. If the problem is not resolved, follow steps 9-12 for the following registry keys:

{79EAC9C1-BAF9-11CE-8C82-00AA004BA90B}

{79EAC9C4-BAF9-11CE-8C82-00AA004BA90B}

If the problem is not resolved, go to step 13.

In Windows Explorer, locate the following path:

C:\Documents and Settings\ UserName \Local Settings\

Determine whether the following folders under this path contain a file that is named Desktop.ini:

The Application Data folder and its Deployment subfolder

The Apps folder

The Temp folder

Rename the Desktop.ini file to another name.

Locate the folder that contains the Desktop.ini file, right-click the folder, and then click Properties .

On the Security tab, click Advanced .

Click to select the Include inheritable permissions from this object's parent check box.

Click Apply , and then click OK . Note If the problem is not resolved, repeat steps 14-19 for all folders that are listed.

More Information

The PresentationHost.exe process runs with a restricted process token. The process gives up membership in the Administrators security group and in the Power Users security group. The applications that run in the Internet zone sandbox do not have to have the full permission to these security groups. Additionally, the process gives up many Microsoft Windows NT security permissions. This behavior is a defense-in-depth security feature. The effect of this feature resembles how non-elevated processes run on Windows Vista when User Account Control is active. In some account migration scenarios or operating system upgrade scenarios, subtle corruption of Access Control Lists (ACLs) may occur. This corruption causes a particular user account not to be explicitly given access to certain folders or registry keys that belong to the user profile. This problem may occur because permission inheritance on the parent object is disabled. This problem only affects the applications that have the group membership disabled. For example, the PresentationHost.exe application has the group membership disabled. This problem is known to affect the permissions for the following registry keys or folders:

The Classes registry key

The IPersistMoniker interface registry keys

Some folders in the following path:

C:\Documents and Settings\ UserName \Local SettingsFor example, the Application Data folder and its Deployment subfolder, the Apps folder, and the Temp folder are affected.

For more information about Windows Presentation Foundation XAML browser applications, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/en-us/library/aa970060.aspx For more information about Windows Presentation Foundation Security, visit the following MSDN Web site:

http://msdn.microsoft.com/en-us/library/aa970906.aspx For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Call stack information

Facebook

Need more help?

Want more options.

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

windows presentation foundation host has stopped working

Microsoft 365 subscription benefits

windows presentation foundation host has stopped working

Microsoft 365 training

windows presentation foundation host has stopped working

Microsoft security

windows presentation foundation host has stopped working

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

windows presentation foundation host has stopped working

Ask the Microsoft Community

windows presentation foundation host has stopped working

Microsoft Tech Community

windows presentation foundation host has stopped working

Windows Insiders

Microsoft 365 Insiders

Was this information helpful?

Thank you for your feedback.

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Task 1: Create a New Windows Presentation Foundation Application

  • 13 contributors

In this task, you will create an empty Windows Presentation Foundation (WPF) application by using the WPF Application Visual Studio template and add references to the appropriate .NET Framework 4.6.1 workflow assemblies.

To create the WPF Application project

Open Visual Studio and on the File menu, point to New , and then click Project .

In the New Project dialog box, select either Visual C# or Visual Basic from the Installed Templates pane on the left side of the box. If the language of your choice does not appear, look under Other Languages .

Select Windows in the Installed Templates pane.

In the top pane, confirm that (the default value) .NET Framework 4 has been selected in the drop-down list box, and then select WPF Application .

Set the name of the project to HostingApplication at the bottom of the window.

Set the solution name to RehostingTheDesigner .

Click OK to create the application project. Visual Studio creates a basic WPF UI for your application and includes the appropriate XAML and code-behind files.

Add references to WorkflowModel assemblies. To do this, in Solution Explorer , right-click the HostingApplication project and select Add Reference .

In the Add Reference dialog box, click the .NET tab, hold down the CTRL key, select the following assemblies, and then click OK :

  • System.Activities
  • System.Activities.Presentation
  • System.Activities.Core.Presentation

See Task 2: Host the Workflow Designer to learn how to host the workflow designer design canvas.

  • Rehosting the Workflow Designer
  • Task 2: Host the Workflow Designer

Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback .

Submit and view feedback for

Additional resources

windows presentation foundation host has stopped working

Contribute to the Windows forum! Click  here  to learn more  💡

April 9, 2024

Contribute to the Windows forum!

Click  here  to learn more  💡

Windows 10 Top Forum Contributors: neilpzz  -  Ramesh Srinivasan  -  _AW_  -  questions_  -  Volume Z 👍✅

April 17, 2024

Windows 10 Top Forum Contributors:

neilpzz  -  Ramesh Srinivasan  -  _AW_  -  questions_  -  Volume Z 👍✅

  • Search the community and support articles
  • Search Community member

Ask a new question

Windows Driver Foundation - User-mode Driver Framework Host Process Stopped Working

I am seeing this error pop up repeatedly "Windows Driver Foundation - User-mode Driver Framework Host Process - Stopped Working ".

I have updated Windows 10 (Home version 20H2 Build:19042.906). I ran the hardware diagnostic in the BIOS and the system passed. My drivers (Dell XPS15 9570) are up to date. I also ran the "sfc /scannow" and "DISM /Online /Cleanup-Image /Restore-Health" commands and it did not solve the issue.

The error description looks like the following: 

Report abuse

Replies (12) .

* Please try a lower page number.

* Please enter only numbers.

Igor Leyko

  • Independent Advisor

Was this reply helpful? Yes No

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

Thanks for your feedback.

Igor, 

Thanks for your help and your suggestions. I updated every driver and tried to isolate the problem by removing devices one at a time. It did not work. The problem continued to occur. The problem occurs with all the devices removed. This tells me that the problem is not within the peripherals. Hmmm. I am not sure what else to try. 

I left the PC running all night standalone, with no peripherals attached and the error is changed. Now I see "WUDFHOST.exe - stopped working" with the following details:

Description

Faulting application name: WUDFHost.exe, version: 10.0.19041.1, time stamp: 0xe092f869

Faulting module name: usbinterface.dll, version: 0.0.0.0, time stamp: 0x5e82ba56

Exception code: 0xc0000005

Fault offset: 0x000000000000ff32

Faulting process id: 0x324c

Faulting application start time: 0x01d72e8c9d4665e3

Faulting application path: C:\Windows\System32\WUDFHost.exe

Faulting module path: c:\windows\system32\drivers\umdf\usbinterface.dll

Report Id: 3573073f-2b9a-4cc6-90ab-cb0aebf21afd

Faulting package full name: 

Faulting package-relative application ID:

The error does not occur with the same frequency as with peripherals attached, but it did occur three times during the night. 

Thanks. 

I ran the driver verifier command and got a BSOD with the following listed: "driver_verifer_detected_violation".

The dump file information should be in this link. 

Thanks again for your help. 

https://1drv.ms/u/s!AhNxh0L1Q1jFtXgStIzZ-itJ4DVO?e=Id23EK

This SW is NordVPN. I will remove it and see what happens. Thank you. 

Good news. Bad news.

The bad news is I uninstalled the software and the original error  "Windows Driver Foundation - User-mode Driver Framework Host Process - Stopped Working " still occurred. I reinstalled the NordVPN SW and the error still continues to occur as before. 

The good news is the BSOD on startup with the error "driver_verifer_detected_violation" does not occur anymore. 

Thanks for your help so far. Any other suggestions would be appreciated. 

Question Info

  • Devices and drivers
  • Norsk Bokmål
  • Ελληνικά
  • Русский
  • עברית
  • العربية
  • ไทย
  • 한국어
  • 中文(简体)
  • 中文(繁體)
  • 日本語

IMAGES

  1. wpf

    windows presentation foundation host has stopped working

  2. How To Fix Host Process For Windows Services Stopped Working And Was

    windows presentation foundation host has stopped working

  3. PPT

    windows presentation foundation host has stopped working

  4. PPT

    windows presentation foundation host has stopped working

  5. c#

    windows presentation foundation host has stopped working

  6. How to Fix Host Process for Windows Services has stopped working

    windows presentation foundation host has stopped working

VIDEO

  1. الدرس السابع عشر : شرح Windows Presentation Foundation (WPF)

  2. Windows Presentation Foundation الدرس الأول

  3. WPF

  4. WPF

  5. WPF in action

  6. WPF(Windows Presentation Foundation) Project

COMMENTS

  1. WPF Host (PresentationHost.exe)

    Windows Presentation Foundation (WPF) Host (PresentationHost.exe) is the application that enables WPF applications to be hosted in compatible browsers (including Microsoft Internet Explorer 6 and later). By default, Windows Presentation Foundation (WPF) Host is registered as the shell and MIME handler for browser-hosted WPF content, which ...

  2. Windows presentation foundation host crashes

    Windows presentation foundation host crashes. Ask Question Asked 11 years, 6 months ago. ... Xbap application -- WPF host has encountered a prob and needs to close. 1. wpf application crashes when accessed from RDP session without showing any ERROR messages. 1. WPF Presentation Framework Exception. 6.

  3. FIX: You cannot start an XAML Browser Application that is created by

    Fixes a problem in which you cannot start an XAML Browser Application (XBAP) that is created by using Windows Presentation Foundation (WPF) in the .NET Framework 3.0 or the .NET Framework 3.5. Also provides a workaround.

  4. What is Windows Presentation Foundation

    Show 7 more. Welcome to the Desktop Guide for Windows Presentation Foundation (WPF), a UI framework that is resolution-independent and uses a vector-based rendering engine, built to take advantage of modern graphics hardware. WPF provides a comprehensive set of application-development features that include Extensible Application Markup Language ...

  5. Solved "Windows Presentation Foundation Host" opens with Chrome

    But really, I think I am trying to restore the default program of "Windows Presentation Foundation Host". Remember, I selected that to open with Google Chrome, it wasn't a the factory default. So here's what happens after you click Open with > Windows Presentation Foundation Host. It opens in Google Chrome, and asks me if I want to save the ...

  6. Task 1: Create a New Windows Presentation Foundation Application

    In the top pane, confirm that (the default value) .NET Framework 4 has been selected in the drop-down list box, and then select WPF Application. Set the name of the project to HostingApplication at the bottom of the window. Set the solution name to RehostingTheDesigner. Click OK to create the application project.

  7. Windows 10 upgrade ALWAYS killed by "Modern Setup Host has stopped

    To access the System log select the keyboard shortcut Win+R, type eventvwr.msc and press the ENTER key. From the list in the left side of the window select Windows Logs and System. Place the cursor on System, select Action from the Menu and Save All Events as (the default evtx file type) and give the file a name.

  8. Windows presentation foundation host has stopped working

    The moment I click browse button to invoke Open file dialog, the WPF host is crashing thus stopping me from debugging further. But the same works just fine in VisualStudio 2012 or if I deploy the application to IIS as a click once site.

  9. Solved Host Process for Windows Services has stopped working

    Download RogueKiller on the desktop . Close all the running programs; Windows Vista/7 users: right click on RogueKiller.exe, click Run as Administrator Otherwise just double-click on RogueKiller ...

  10. Windows Application has stopped working :: Event Name CLR20r3

    Some times this problem arise when Application is build in one PC and try to run another PC. And also build the application with Visual Studio 2010.I have the following problem

  11. Windows Presentation Foundation Host Has Stopped Working Error

    Windows Presentation Foundation (WPF) Windows Presentation Foundation (WPF)

  12. Windows Driver Foundation

    Igor, Thanks for your help and your suggestions. I updated every driver and tried to isolate the problem by removing devices one at a time. It did not work.