微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

原文地址:https://www.jb51.cc/windows/367186.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐