How-To Geek Forums / Windows XP
Modify Services Settings
(9 posts)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.
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.
Topic Closed
This topic has been closed to new replies. Please create a new topic instead.
