使用SECEDIT从一台计算机导出“安全选项”并导入另一台计算机

我可以使用secedit.exe从本地安全策略中导出“安全选项”,然后将它们导入到另一台计算机上?

我正在尝试在Windows Server 2008上执行此操作。

更新

我只是试着用:

secedit /export /db C:\andy.db /cfg C:\andy.inf /areas SECURITYPOLICY /log C:\andy.log 

但它没有与错误工作:

 Warning 2: The system cannot find the file specified. Error opening C:\andy.db. 

我从哪里得到数据库文件?

我不得不同时使用安全策略来设置服务器核心系统。 这是我的笔记:

出口:

 secedit /export /db secedit.sdb /cfg sctest.inf 

import:

 # NOTE: May not work if you're in a read-only directory, # or sctest.inf is read-only secedit /configure /db secedit.sdb /cfg sctest.inf /overwrite