I'd need to remove access from "everyone" from a bunch of servers (more than
200) from couple of services. Is there a any information available on how-to
do this with vbscript?

It doesn't need to be vbscript if a batch compatible program exists for this
purpose, but I was thinking this might be possible with vbscript...

I tried googling a bit but didn't come up with anything I really wanted :/

Any help would be appreciated. Thanks.

Re: DCom security properties changing with vbscript? by Nico

Nico
Thu Apr 29 04:53:55 CDT 2004

And I mean to refer to dcomcnfg.exe, which pretty much does the job I'd need
to do with the script. I explained badly :/

"Nico Leiska" <nadlo@pipari.net.invalid> wrote in message
news:O1OiH6cLEHA.2012@TK2MSFTNGP11.phx.gbl...
> I'd need to remove access from "everyone" from a bunch of servers (more
than
> 200) from couple of services. Is there a any information available on
how-to
> do this with vbscript?
>
> It doesn't need to be vbscript if a batch compatible program exists for
this
> purpose, but I was thinking this might be possible with vbscript...
>
> I tried googling a bit but didn't come up with anything I really wanted :/
>
> Any help would be appreciated. Thanks.
>
>



Re: DCom security properties changing with vbscript? by Torgeir

Torgeir
Thu Apr 29 14:41:36 CDT 2004

Nico Leiska wrote:

> I'd need to remove access from "everyone" from a bunch of servers (more than
> 200) from couple of services. Is there a any information available on how-to
> do this with vbscript?
Hi

Maybe this one:

Platform SDK: Setting Security for COM Applications / Setting
Processwide Security Through the Registry
http://msdn.microsoft.com/library/en-us/com/htm/security_3jw9.asp


Alternatively, change the rights on the services directly
if that is an option for you:

Relevant for WinXP/Win2k3 as well:

HOW TO: Grant Users Rights to Manage Services in Windows 2000
http://support.microsoft.com/?kbid=288129

For method 3 in the article above:

A new, bug-fixed version of SubInACL.exe is available for download here
(Win2k/WinXP/Win2k3):

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b

SETACL (freeware) at http://setacl.sourceforge.net/ can also set permissions
on local or remote Win32 services.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx