Skip to content

A pattern for a self-installing Windows service in C# with the unstoppable attributes in C#.

Notifications You must be signed in to change notification settings

malcomvetter/UnstoppableService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unstoppable Service

Build in Visual Studio (.net 3.5 so it runs on Win 7+).

This is a proof of concept / pattern concept for creating a Windows service in C# that is self installing as a single executable and sets proper attributes to prevent an administrator from stopping or pausing the service through the Windows Service Control Manager interface.

Caveat: Unstoppable via SC does not mean it is a process that is immune to being killed as a process.

screenshot

About

A pattern for a self-installing Windows service in C# with the unstoppable attributes in C#.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages