Re: Permissions on a registry key

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Torgeir Bakken (MVP) (Torgeir.Bakken-spam_at_hydro.com)
Date: 02/17/04


Date: Tue, 17 Feb 2004 18:48:59 +0100

johnfli wrote:

> There is a key in the registry that I need to set permissions on.
> Is there a way I can set that in AD? Or do I have to go to each machine
> manually and do it?

Hi

You could e.g. feed the command line utilities Regini.exe or SetACL.exe with
computer names in a loop (they support setting registry permissions remotely).

Regini.exe:

For WinXP, it is builtin (%windir%\system32\regini.exe), for Win2k, it is
available in the Win2k Resource Kit (buy ware) as well as in the Win2k3 RK
(free).

It is also an updated version of Regini.exe is in the Win2k3 Server Resource
Kit (for Win2k/WinXP as well), and for documentation, see rktools.chm in the
RK.

Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

(The kit will install on WinXP or later, or you can unpack it with WinZip or
similar)

SetACL.exe:

SetACL.exe (freeware) at
http://setacl.sourceforge.net/

SetACL can set permissions on:

Local or remote directories
Local or remote files
Local or remote printers
Local or remote registry keys
Local or remote Win32 services
Local or remote network shares

--
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/scriptcenter


Relevant Pages

  • Re: Server Operators Group - Stop/Restart Services
    ... >> I assumed that adding a user to the Server Operators group ... And if you don't have the resource kit, ... can set permissions on: ... Local or remote directories ...
    (microsoft.public.win2000.security)
  • Re: Reboot W2k Server Remotely
    ... I want to be able to restart terminal ... from a remote computer (I already tried connecting through ... Or if you don't have the resource kit, try PsShutdown in the free PsTools suite ...
    (microsoft.public.win2000.security)
  • Re: Microsoft Knowledge Base Article - 243486
    ... comes with the Win2k3 Server Resource Kit ... Windows Server 2003 Resource Kit Tools ... Microsoft MVP Scripting and WMI, ...
    (microsoft.public.windowsxp.customize)
  • Re: Printer Admin Object
    ... Thanks but what I'm looking for is info on the printer admin object on the ... > and ports on local and remote computers. ... > Add and delete a local or remote printer. ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.scripting.vbscript)
  • Re: Printer Admin Object
    ... and ports on local and remote computers. ... Add and delete a local or remote printer. ... Instrumentation scripts in Windows Server 2003, ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.scripting.vbscript)