Click here to get back home

Security necessary to list all services

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Security necessary to list all services Bowulf 02-21-2007
Posted by Bowulf on February 21, 2007, 10:56 am
Please log in for more thread options
On Windows 2000 all one had to be to list all services resident was to
be a member of the Power Users group. On Windows Server 2003, that is
no longer sufficient. I can create GPO's or set the ACL for
manipulating individual *known* services, but I need to be assign the
user right to be able to manipulate or simply list all services
without giving local administrator access. What are my options?
Thanks.


Posted by Roger Abell [MVP] on February 22, 2007, 1:39 am
Please log in for more thread options
> On Windows 2000 all one had to be to list all services resident was to
> be a member of the Power Users group. On Windows Server 2003, that is
> no longer sufficient. I can create GPO's or set the ACL for
> manipulating individual *known* services, but I need to be assign the
> user right to be able to manipulate or simply list all services
> without giving local administrator access. What are my options?

As you have implied, it is a little challenging to do this via
Services section of GPO as one needs to have all possible
services in the GPO.

Are you familiar with the sc command?
sc <machine> query
for list of services instanced on the remote <machine>
thence use of sc's sdshow and sdset commands to show
and set the security descriptor for specific services,
using SDDL syntax (search MSDN for SDDL if needed).

Roger



Posted by Bowulf on February 23, 2007, 9:02 am
Please log in for more thread options
>
>
> > On Windows 2000 all one had to be to list all services resident was to
> > be a member of the Power Users group. On Windows Server 2003, that is
> > no longer sufficient. I can create GPO's or set the ACL for
> > manipulating individual *known* services, but I need to be assign the
> > user right to be able to manipulate or simply list all services
> > without giving local administrator access. What are my options?
>
> As you have implied, it is a little challenging to do this via
> Services section of GPO as one needs to have all possible
> services in the GPO.
>
> Are you familiar with the sc command?
> sc <machine> query
> for list of services instanced on the remote <machine>
> thence use of sc's sdshow and sdset commands to show
> and set the security descriptor for specific services,
> using SDDL syntax (search MSDN for SDDL if needed).
>
> Roger

I actually was trying both services.msc and the sc command, and it
failed both ways with an access denied message. It turns out it was
Windows 2003 SP1 issue not a problem with RTM version. Microsoft
changed the security in that version for the services. I discovered
this after a call to Microsoft support (and 2 hours). The problem is
not so much with security or permission to the actual services, but to
the Service Control Manager. Here is the link:
http://support.microsoft.com/kb/907460

Here is the command you have to run:
sc sdset SCMANAGER D:(A;;CCLCRPRC;;;AU)(A;;CCLCRPWPRC;;;SY)
(A;;KA;;;BA)S:(AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD)

Thanks for your help.


Posted by Roger Abell [MVP] on February 23, 2007, 11:54 am
Please log in for more thread options
Thanks for the post-back and KB (a little troubled about its
granting to Authenticated Users though, at least for multi-domain
forests).

Roger

>>
>>
>> > On Windows 2000 all one had to be to list all services resident was to
>> > be a member of the Power Users group. On Windows Server 2003, that is
>> > no longer sufficient. I can create GPO's or set the ACL for
>> > manipulating individual *known* services, but I need to be assign the
>> > user right to be able to manipulate or simply list all services
>> > without giving local administrator access. What are my options?
>>
>> As you have implied, it is a little challenging to do this via
>> Services section of GPO as one needs to have all possible
>> services in the GPO.
>>
>> Are you familiar with the sc command?
>> sc <machine> query
>> for list of services instanced on the remote <machine>
>> thence use of sc's sdshow and sdset commands to show
>> and set the security descriptor for specific services,
>> using SDDL syntax (search MSDN for SDDL if needed).
>>
>> Roger
>
> I actually was trying both services.msc and the sc command, and it
> failed both ways with an access denied message. It turns out it was
> Windows 2003 SP1 issue not a problem with RTM version. Microsoft
> changed the security in that version for the services. I discovered
> this after a call to Microsoft support (and 2 hours). The problem is
> not so much with security or permission to the actual services, but to
> the Service Control Manager. Here is the link:
> http://support.microsoft.com/kb/907460
>
> Here is the command you have to run:
> sc sdset SCMANAGER D:(A;;CCLCRPRC;;;AU)(A;;CCLCRPWPRC;;;SY)
> (A;;KA;;;BA)S:(AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD)
>
> Thanks for your help.
>



Similar ThreadsPosted
List of security fixes for 2003 July 17, 2008, 12:26 pm
where to find a list of Windows 2003 security event id's ? October 26, 2006, 8:44 am
Security bug in terminal services? May 4, 2006, 4:02 am
Services Security Failure Audit October 29, 2005, 2:09 pm
Terminal Services Security Issue with Cached Credentials October 29, 2007, 12:53 pm
Permission list by user? June 4, 2007, 3:11 pm
Script to List all users permissions November 28, 2005, 8:13 am
Remove List Folder access only? March 16, 2006, 2:18 am
Prevent viewieng of list of users in another OU November 3, 2006, 9:46 am
How to get a list of pending certificates outside of CertSrv January 5, 2007, 9:43 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap