UPnP Device Host (upnphost) Service Defaults in Windows 7

Allows UPnP devices to be hosted on your computer. If this service is stopped, any hosted UPnP devices will stop functioning and no additional hosted devices can be added. If this service is disabled, any services that explicitly depend on it will fail to start.

Default Settings

Startup type:Manual
Display name:UPnP Device Host
Service name:upnphost
Service type:share
Error control:normal
Object:NT AUTHORITY\LocalService
Path:%SystemRoot%\system32\svchost.exe -k LocalServiceAndNoImpersonation
File:%SystemRoot%\System32\upnphost.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upnphost
Privileges:
  • SeChangeNotifyPrivilege
  • SeCreateGlobalPrivilege

Default Behavior

UPnP Device Host is a Win32 service. In Windows 7 it won't be started if the user doesn't start it. When the UPnP Device Host service is started, it is running as NT AUTHORITY\LocalService in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If UPnP Device Host fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the upnphost service is not running because of the error.

Dependencies

UPnP Device Host is unable to start, if at least one of the following services is stopped or disabled:

Restore Default Startup Configuration for UPnP Device Host

Before you begin doing this, make sure that all the services on which UPnP Device Host depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the command below, paste it into the command window and press ENTER:

sc config upnphost start= demand

3. Close the command window and restart the computer.

The upnphost service is using the upnphost.dll file that is located in the %WinDir%\System32 folder. If the file is changed, damaged or deleted, you can restore its original version from Windows 7 installation media.