You can load the hive with reg.exe.  Use subinacl to change perms.

Example:

 

reg load hklm\temp user.dat

subinacl /subkeyreg hklm\temp /replace=domain\user1=domain\user2

reg unload hklm\temp

 

You could also use REGINI to set permissions on keys.  You could also use perl using Win32API::Registry and Win32::Perms or a combination.

 

Roy Sprague, CISSP, MCSE, MCSA, HPASE

Senior Network Specialist

Landstar System Holdings, Inc.

904 390-4860

 

-----Original Message-----
From: Tonino Sclavont [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 5:54 AM
To: [EMAIL PROTECTED]
Subject: Registry security

 

Hello list

 

How can I change the securities of an external Registry File.

With Regedt32.exe I have to

        1. Load hive --> open the .dat file

        2. Change the securities

        3. Unload Hive

Is it possible to do the same with perl ?

 

Thanks

Reply via email to