首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Bitlocker GPO自动?

Bitlocker GPO自动?
EN

Server Fault用户
提问于 2021-05-30 17:38:18
回答 1查看 258关注 0票数 0

我想知道是否有其他人完成了我想做的事--我有GPO在激活位锁时自动存储AD中的密钥,但是我似乎必须手动完成,所以我用这个设置了一个登录脚本棒。

script.bat

代码语言:javascript
复制
Powershell.exe -ExecutionPolicy Bypass \\192.168.3.150\shares\publica\sistemas\enablebitlocker.ps1

但是,由于一些奇怪的原因,我得到了这个弹出式,我想让它安静地运行它,或者有办法自动说是?

代码语言:javascript
复制
Safety warningRun only the trusted scripts. Scripts from the Internet can be useful, but this script coulddamage your equipment. If you trust this script, use the Unblock-File cmdlet to allow it to run without this messagewarning. Do you want to run

这是powershell脚本

代码语言:javascript
复制
$CdriveStatus = Get-BitLockerVolume -MountPoint 'c:'
if ($CdriveStatus.volumeStatus -eq 'FullyDecrypted') {
    C:\Windows\System32\manage-bde.exe -on c: -recoverypassword -skiphardwaretest
}

谢谢

目前正在运行的服务器2012不允许

EN

回答 1

Server Fault用户

发布于 2021-06-06 20:41:42

似乎是通过按名称添加脚本而不是通过IP来修复它。

代码语言:javascript
复制
\\apolo\shares\publica\sistemas\enablebitlocker.ps1
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1065149

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档