SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows XP

Modify Services Settings

(9 posts)
  • Started 7 years ago by lex
  • Latest reply from lex
  • Topic Viewed 8303 times

lex
Posts: 6

Hello.,

When you open services.msc, you see some services like terminal services and RPC, with no options to start, stop or change the startup type, everthing is grayed out, and i want to do the same to other services on my server.

How do i "geek" this?

Thanks.,

Alex

Posted 7 years ago
Top
 
Scott
Posts: 5618

RPC is one of a small number of services that can not be changed.

Posted 7 years ago
Top
 
lex
Posts: 6

Yup, but someone do it that way, and i want some of my server services (like ISA server related services and Anti-Virus) to work like this with no options and access denied when someone try to stop them on the task manager, using taskkill or net stop.

Posted 7 years ago
Top
 
lex
Posts: 6

Hello.,

Where are the registry geeks around here???

Alex

Posted 7 years ago
Top
 
supermansghost
Posts: 350

The problem is that those services are written as services that cannot be stopped.. if you do an sc query you'll see this:

C:\Windows\system32>sc query rpcss

SERVICE_NAME: rpcss
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

So the problem there is that I'm not sure how to set the NOT_STOPPABLE flag on another service... I suspect there's not a way to do it.

Posted 7 years ago
Top
 
supermansghost
Posts: 350

Here's what I get when I try and modify a service using sc.exe:

C:\Windows\system32>sc config audiosrv type= share start= system
[SC] ChangeServiceConfig FAILED 87:

The parameter is incorrect.

Doesn't seem to work. According to the MS documentation, the services have to be created in such a way that they prevent shutdown... there's an API call they have to do. Also, a crafty administrator can usually figure out some way to stop them.

Posted 7 years ago
Top
 
lex
Posts: 6

No, there is a way to create the services like this, for ex. Mcaffe Virus Scan Enterprise 8.5i, is a external windows services and it is configured like this.

Posted 7 years ago
Top
 
lex
Posts: 6

The format must be like the one that we get, when we type:

sc sdshow <service>

and to change it, we need to use:

sc sdset <service> <SD in SDDL format>

now what is the SDDL format, and how it works?

Posted 7 years ago
Top
 
lex
Posts: 6

Bump!!!

Please can someone fix this... :)

Posted 7 years ago
Top
 



Topic Closed

This topic has been closed to new replies.