Just copying the Local Group policy from one location to another is not adequate. The Security, and Audit permissions are not carried over. we need some other things to do.
1. copy the group policy folder from the source system and paste that in a shared location.
%windir%\System32\GroupPolicy (this folder is hidden, you need to unhide this)
2. copy the security configuration from the source system:
now open cmd prompt and launch the below command:
secedit /export /cfg C:\Security.csv
this will create a csv with all of your current security information in it (password requirements and age restrictions). now copy this under GroupPolicy folder where your group policy objects are in. say in the shared location you kept GroupPolicy folder. under this folder Security.csv should be pasted.
3. Now copy the audit policy from the source system:
in the same command prompt paste the below command.
Auditpol /backup /file:C:\Audit.ini
this Audit.ini will hold your audit policy information in it (like registry file access success or failure). copy this to the same share location. means copy this to the shared location GroupPolicy folder.
4. Now start from the target system.
now Copy Everything from the shared GroupPolicy folder into the target system %windir%\System32\GroupPolicy folder. (replace it)
5. run the following commands in admin prompt:
secedit /configure /cfg Security.csv /db defltbase.sdb /verbose
Auditpol /restore /file:C:\audit.ini
now restart the system. or launch gpupdate /force command.
Avi
Comments
Post a Comment