Thanks in advance.
> I want to create script file for add full control permission of domain users
> to HKEY_LOCAL_MACHINE\Software\Microsoft\Office.
Hi
Regini.exe is an option:
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)
Then there is a free 3rd party utility that you can use for this:
SETACL (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