The local group policy settings and security settings can be transferred in a couple of steps:
- Security Settings:
Right click Security Settings in Local Group Policy Editor (Edit Group Policy) and select Export Policy... Save the .inf file and transfer to the machine you wish to use the same settings. On the new machine, open a command prompt and use the secedit command
secedit /configure /db c:\windows\security\local.sdb /cfg {.\path\to.inf}
Review any errors that come back, I was dealing with user accounts trying to be set for permissions that did not exist on the new machine.
- The rest of Local Group Policy
Locate the %systemroot%\system32\grouppolicy\ hidden folder and copy the sub folders to the target machine in the same location.
Open a command prompt and use
gpupdate /force
- The remains
For the miscellanous I was able to use powershell commands to add or edit registry keys:
Add:
New-Item -Path HKCU:\Software -Name hsg –Force
Edit:
PS C:> Push-Location
PS C:> Set-Location HKCU:\Software\hsg
PS HKCU:\Software\hsg> Set-ItemProperty . newproperty "mynewvalue"
Hope this information can help you
Best wishes
Vicky