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