Importing using regedt32

  • Thread starter Thread starter Randy
  • Start date Start date
R

Randy

Hello, I have changed security permissions on 2 registry
keys using regedt32.exe and would like to export those
keys, along with the new security permissions, so that we
can import them into other registries. I tried saving it
using SAVE KEY from the FILE menu in regedt32 and then
with SAVE SUBTREE AS but the resulting saved files are in
an unrecognizable format (and not the familiar .REG
format). Is there a way to export those keys with regedt32
or will saving them using regedit.exe export the security
permissions as well? Any information is greatly
appreciated. Thank you.

Regards,

Randy
 
In said:
Hello, I have changed security permissions on 2 registry
keys using regedt32.exe and would like to export those
keys, along with the new security permissions, so that we
can import them into other registries. I tried saving it
using SAVE KEY from the FILE menu in regedt32 and then

You are correct and it will save to a binary file format with
permissions. On the other end you would use "Restore..." in
regedt32. But be forewarned. 1) The entire highlighted key will be
completely replaced by the contents of the binary file. It is *not*
a merge operation. 2) Some registry ACLs are machine-specific, so
you may not be able to do what you want. IOW USER1 on machine1 has a
different SID that User1 on machine2 and so on.
with SAVE SUBTREE AS but the resulting saved files are in
an unrecognizable format (and not the familiar .REG
format). Is there a way to export those keys with regedt32
or will saving them using regedit.exe export the security
permissions as well? Any information is greatly
appreciated. Thank you.

I suspect you need the REGINI.EXE tool included in the Resource Kit.
This is designed to apply registry permissions from the command line.
I doubt (but check) that this one is downloadable.

On the freeware side you should look at SetACL
http://sourceforge.net/projects/setacl/
Once you figure out the required arguments it should be able to do
what you want.
 
Thanks Mark, I appreciate your quick and informative
reply. I will look at those tools you noted in your reply.
Thanks again.
 
Mark said:
(snip)

I suspect you need the REGINI.EXE tool included in the Resource Kit.
This is designed to apply registry permissions from the command line.
I doubt (but check) that this one is downloadable.
Hi

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/...69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

The kit will install on WinXP or later, and then you can
copy the Regini.exe file out.


Also, I think you should be able to set registry permissions
with SubInACL.exe:

http://www.microsoft.com/downloads/...56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en
 
Back
Top