Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue when uninstalling a service?

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

like image 856
Srb1313711 Avatar asked Dec 02 '22 17:12

Srb1313711


1 Answers

I was facing exact same issue.

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

like image 80
Dyut Kumar Sil Avatar answered Dec 05 '22 10:12

Dyut Kumar Sil