> For the complete documentation index, see [llms.txt](https://kwcsec.gitbook.io/the-red-team-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kwcsec.gitbook.io/the-red-team-handbook/techniques/privilege-escalation/to-system/new-service.md).

# New Service

A trivial way to get system from admin privilege is to create a new service which will run our executable. Our executable will run with SYSTEM privileges by default.

```
sc create lol binPath= "c:\executable.exe"
sc start lol
```
