I don't know of any way to reinstall services, but.. You can try copying the service registry entries from another OS, finding the files for it, registering them.. I had removed something to do with networking and couldn't configure my network properly in the network and sharing center. Took a bit of hack up trial and error to get it working enough. This is all providing you mean the "UPnP Device Host" service, and not something else.