Issue when uninstalling a service?

service, windows-server-2012

Solution

I was facing exact same issue.

The issue is resolved by opening the Command Prompt as Administrator.

Problem

I am trying to uninstall a recently installed service, I am running this in command line: ``` c:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil.exe /u "C:\inetpub\www root\xxx\xxx\xxx.exe" ``` But I am getting this: ``` The uninstall has completed. An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalle d after the uninstall is complete. ``` And this: ``` Removing EventLog source xxx. An exception occurred during the uninstallation of the System.Diagnostics.EventL ogInstaller installer. System.Security.SecurityException: Requested registry access is not allowed. An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalle d after the uninstall is complete. ``` I have no idea where to begin and I really need to uninstall these so any help is appreciated

Original source