找回密码
 立即注册
搜索
查看: 1194|回复: 6

[软件] bug10 无法开启 Credential Guard(已弃疗)

[复制链接]
     
发表于 2019-8-13 23:04 | 显示全部楼层 |阅读模式
本帖最后由 obiy 于 2019-8-14 21:20 编辑

官方工具还有个-Capable参数,可以查看能否兼容Credential Guard,查了一下发现没有HSTI和TPM,要额外的硬件的话就算了,关了省事(臭打游戏的也没多么珍贵的数据)

关闭此功能最方便的方法是用官方脚本,这东西在非英语Windows下有bug,不想改代码的话就修改显示语言,关闭后再修改回来。

--------------------------------

通过文档的方法无法开启此功能,有什么办法吗?

https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage

版本        10.0.18362 版本 18362

msinfo.png

以下为dgreadiness的日志(工具里的说明是开启hyper-v失败了,可是不知道如何令其开启):

###########################################################################
Readiness Tool Version 3.4 Release.
Tool to check if your device is capable to run Device Guard and Credential Guard.
###########################################################################
###########################################################################
OS and Hardware requirements for enabling Device Guard and Credential Guard
1. OS SKUs: Available only on these OS Skus - Enterprise, Server, Education, Enterprise IoT, Pro, and Home
2. Hardware: Recent hardware that supports virtualization extension with SLAT
To learn more please visit: https://aka.ms/dgwhcr
###########################################################################

Enabling Device Guard and Credential Guard
Setting RegKeys to enable DG/CG
Executing: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v "EnableVirtualizationBasedSecurity" /t REG_DWORD /d 1 /f
Output: 操作成功完成。


Executing: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v "RequirePlatformSecurityFeatures" /t REG_DWORD /d 1 /f
Output: 操作成功完成。



Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      18362  0      


Executing: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v "Locked" /t REG_DWORD /d 0 /f
Output: 操作成功完成。


Executing: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v "LsaCfgFlags" /t REG_DWORD /d 2 /f
Output: 操作成功完成。


Executing: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 1 /f
Output: 操作成功完成。


Executing: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Locked" /t REG_DWORD /d 0 /f
Output: 操作成功完成。


Writing Decoded SIPolicy.p7b
Enabling Hyper-V and IOMMU

Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      18362  0      



部署映像服务和管理工具
版本: 10.0.18362.1

映像版本: 10.0.18362.267


错误: 0x800f080c

功能名称 Microsoft-Hyper-V-Online 未知。
未识别出 Windows 功能名称。
请使用 /Get-Features 选项在映像中查找功能名称,然后重试该命令。

可以在 C:\WINDOWS\Logs\DISM\dism.log 上找到 DISM 日志文件

Enabling Hyper-V failed please check the log file
Executing: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Capabilities\" /v "HyperVEnabled" /t REG_DWORD /d 0 /f
Output: 操作成功完成。


PC will restart in 30 seconds
Executing: shutdown /r /t 30
Output:
###########################################################################
Readiness Tool Version 3.4 Release.
Tool to check if your device is capable to run Device Guard and Credential Guard.
###########################################################################
###########################################################################
OS and Hardware requirements for enabling Device Guard and Credential Guard
1. OS SKUs: Available only on these OS Skus - Enterprise, Server, Education, Enterprise IoT, Pro, and Home
2. Hardware: Recent hardware that supports virtualization extension with SLAT
To learn more please visit: https://aka.ms/dgwhcr
###########################################################################

Current DGRunning = 0, ConfigCI= 2
_CGState: 0, _HVCIState: 0, _ConfigCIState: 2
Credential-Guard is not running.
HVCI is not running.
Config-CI is enabled and running. (Enforced mode)
Not all services are running.


回复

使用道具 举报

     
发表于 2019-8-13 23:31 来自手机 | 显示全部楼层
本帖最后由 若荼泱 于 2019-8-13 23:32 编辑

我是1903 CG,DG 关不掉。不知道是vm的问题还是bug10的问题。因为是家庭版所以用的是什么注册表来关,也是看的doc。关了之后没什么问题,但是免费的vm好像不能装tools…然后我就去下了个pro然后随便填了一个注册码,也没有任何问题。结果再打开就提示我CG,DG没关。pro和free的都是…刚准备发帖问问。

顺便问问家庭版有hyperv吗?MSDN上下的1903ISO,但光盘容量不够被我用dism++精简了一下现在服务里没有hyperv…正常吗?
回复

使用道具 举报

     
 楼主| 发表于 2019-8-13 23:35 | 显示全部楼层
若荼泱 发表于 2019-8-13 23:31
我是1903 CG,DG 关不掉。不知道是vm的问题还是bug10的问题。因为是家庭版所以用的是什么注册表来关,也是看 ...

家庭版没有。

我当初也为了vmware关闭这个(忘了具体操作了)。后来发现用不上虚拟机又想重新打开。

然后就卡住了
回复

使用道具 举报

     
发表于 2019-8-13 23:39 来自手机 | 显示全部楼层
obiy 发表于 2019-8-13 23:35
家庭版没有。

我当初也为了vmware关闭这个(忘了具体操作了)。后来发现用不上虚拟机又想重新打开。

这开了有什么好处吗
回复

使用道具 举报

头像被屏蔽
     
发表于 2019-8-13 23:41 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

     
 楼主| 发表于 2019-8-14 07:07 | 显示全部楼层
若荼泱 发表于 2019-8-13 23:39
这开了有什么好处吗

多一层防护不是更安全么
回复

使用道具 举报

     
 楼主| 发表于 2019-8-14 21:21 | 显示全部楼层
若荼泱 发表于 2019-8-13 23:31
我是1903 CG,DG 关不掉。不知道是vm的问题还是bug10的问题。因为是家庭版所以用的是什么注册表来关,也是看 ...

最省事的关闭方法就是使用官方工具,最好先把显示语言改成英语再执行
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|Stage1st ( 沪ICP备13020230号-1|沪公网安备 31010702007642号 )

GMT+8, 2024-9-27 19:20 , Processed in 0.029061 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表