Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3786514
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:41:42+00:00 2026-05-19T11:41:42+00:00

I have written a Windows service that I would like to keep Administrators from

  • 0

I have written a Windows service that I would like to keep Administrators from casually tampering with by removing their right to start/stop it.

Granted, an Administrator can elevate to SYSTEM and do anything they want, or even an admin can still suspend the service’s threads or delete the service, but this is meant to prevent casual tampering.

I can do this using Process Explorer quite easily (see below) but I am not sure where to begin with Delphi. I’ve browsed the SetAcl C++ source code (and I may use their OCX file), but I’d prefer to use a native Delphi solution if one already exists. If not, I’ll work on cloning SetAcl functionality.

Does anyone have experience with this that they could share?

alt text

NOTE: I had advocated a screen capture tool written in Delphi in this post and I am removing it b/c it is unrelated. I’m leaving this note here so the comments will still make sense! Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:41:43+00:00Added an answer on May 19, 2026 at 11:41 am

    Administrators have rights on their computers, to do whatever they want. Are you asking for a way to change how Administrator rights work on a computer?

    Any software that prevents administrators from “tampering” with something under their control sounds suspiciously like either a rootkit, or some other malevolent software. If the administrator wants your service off, you should provide your own quick tools to get it off, and you shouldn’t (and probably can’t) block them from doing it, either from Windows GUI or from SC.EXE or NET STOP on the command line.

    That being said, if it’s a Windows API you want a Delphi wrapper for, I would find the name of the API and search the JEDI API library for it. It looks like JWSCL would work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a windows service written in C# .NET framework 3.5 and would like
I have written a Windows service that allows me to remotely run and stop
I have written a Windows service that spawns a separate process. This process creates
I have a windows service that loads multiple handlers written by different developers. The
I have a windows service written in C# that acts as a proxy for
I have a Windows Service written in C# that handles all of our external
We have a Windows Service written in C#. The service spawns a thread that
Scenario I have a windows service written in C# that performs some processing based
I have a server written in Java that runs as a Windows service (thanks
We have written a custom windows service (VB.NET, .NET Framework 2.0) that takes a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.