The utility is primarily used to install and uninstall Windows Services.

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe

Use the official Microsoft .NET Download page to get the latest runtime or SDK.

Use the /u flag: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" /u "C:\Path\To\YourService.exe" Security Warning

Installutil.exe (Installer Tool) - .NET Framework - Microsoft Learn

Department of Medicine