dotnet / dotnet/docs

Service failed to start. Verify that you have suficient privileges to start system services.

Open
#36,719 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

After following this guide, I get this message:
Service failed to start. Verify that you have suficient privileges to start system services.

I also noticed that the compiler puts out following warnings:
WIX5437: It is no longer necessary to define the standard directory 'TARGETDIR'. Use the StandardDirectory element instead.
WIX5437: It is no longer necessary to define the standard directory 'ProgramFiles6432Folder'. Use the StandardDirectory element instead.

So the guide seems outdated.
---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: e044209a-0802-07c0-7518-208967a3ef02
* Version Independent ID: 83c4d805-1394-90b7-6def-cf809c33ae22
* Content: [Create a Windows Service installer - .NET](https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service-with-installer?tabs=wix)
* Content Source: [docs/core/extensions/windows-service-with-installer.md](https://github.com/dotnet/docs/blob/main/docs/core/extensions/windows-service-with-installer.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @gewarren
* Microsoft Alias: **dapine**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.