windows-server-2008 – 使用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.

我从哪里获取DB文件

前一段时间我不得不做同样的事情来设置一个带有安全策略的服务器核心系统.这是我的划痕笔记:

出口:

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

进口:

# 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

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...