Steps: 1 Open the command prompt(Run as Administrator and go to the path
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
Note: Chose the.NET framework you are using(v4.0.30319).
Skip step 1 if using the visual studio command prompt
Step: 2 Run the installutil command
C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil "ServiceName"
And Press Enter
Step: 3 Navigate to Services using (Run -> services.msc), search for your service and start it.
In, the following list of all the services, select your service Name, and click on Start Button
Again to uninstall the service, using the command mentioned in step 2 with /u switch.
C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil /u "ServiceName"
To delete
sc delete ServiceName
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
Note: Chose the.NET framework you are using(v4.0.30319).
Skip step 1 if using the visual studio command prompt
Step: 2 Run the installutil command
C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil "ServiceName"
And Press Enter
Step: 3 Navigate to Services using (Run -> services.msc), search for your service and start it.
In, the following list of all the services, select your service Name, and click on Start Button
Again to uninstall the service, using the command mentioned in step 2 with /u switch.
C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil /u "ServiceName"
To delete
sc delete ServiceName
No comments:
Post a Comment