![]() Next, you may like to read about managing Windows service via command line. Also provides you instructions to delete existing services. This tutorial helped you to install the service on the Windows system using the command prompt. Once you hit enter, the process will automatically enable the WSL optional features required, install the Ubuntu distribution by default, and install the latest WSL Linux kernel version onto your machine. The command to uninstall the service looks like the below: cd "C:\Windows\Microsoft.NET\Framework\v9\" installutil.exe -u "C:\Users\Rahul\WindowsService\bin\Debug\WindowsService.exe" Conclusion We’ve simplified the process down to just one command, simply open a command prompt window with admin privileges and run wsl.exe -install. To Uninstall the Windows service using “ -u” option with the same command as installation. See the onscreen messages and check if the command successfully completed. Remember the user name must start with “.\” followed by username as shown in the below screen. In case it prompts for the authentication, Input the username, and password of your Windows system. This will install service on your system. cd "C:\Windows\Microsoft.NET\Framework\v9\" installutil.exeĬ:\Users\Rahul\WindowsService\bin\Debug\WindowsService.exe" Example I want to install Foxit PhantomPDF and have a setup file called FoxitPhantomPDF832enuSetup.msi stored on my E: drive. Press Enter to start the install process. In the command prompt, input msiexec /i pathsetup.msi 3. net framework directory and then run installutil.exe followed by the Windows server exe file path. Click Start menu, (in search box, type) cmd, right click on search result and choose Run as Administrator. How to Install Windows Serviceįirst of all, navigate to the. net 4 framework it’s available under C:\Windows\Microsoft.NET\Framework\v9 directory. You can use installutil.exe to install the Windows service via the command line. net framework provides and command-line installer utility for installing services on the Windows system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |