<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://sufan.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://sufan.maytide.net/read.php/2210.htm</link>
<title><![CDATA[HOWTO: 使用 Intune 收集设备注册表配置清单]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft Cloud]]></category>
<pubDate>Tue, 04 Aug 2026 02:27:11 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/2210.htm</guid> 
<description>
<![CDATA[ 
	<p><img alt="Intune-logo-wide" src="https://goxia.maytide.net/ftpup/2018/HOWTO--Windows-Backup_971C/Intune-logo-wide_thumb.png"></p><p><font color="#fd3f0d" size="4"><strong>HOWTO: 使用 Intune 收集设备注册表配置清单</strong></font></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Intune 的 2607 版开始支持收集设备上的注册表配置清单，该功能通过“属性目录”实现注册表数据的收集，包括特定路径下的单个值、某个键下的所有值，或跨子键的相同值。利用该功能可以让组织的 IT 直接看到设备注册表的配置状态，轻松验证相关配置是否真正生效，方便排查策略的配置以及执行安全审计等工作，现在我们可以减少依赖脚本来实现相关数据的收集，也就无需再编写特定的自定义脚本，然后测试和发布他们。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 注册表数据收集包含在 Microsoft Intune Plan 1中，每个收集的注册表值上限为 6KB，每台设备最多可收集100个注册表键值。此外，该功能内置了启发式检测，将有助于识别并防止收集可能包含的密钥、凭证、认证令牌、证书、私钥、连接字符串等。而且如果某个值被标记为潜在敏感，则也不会被收集。 另外还需注意一点，2607 版目前仅限于收集 HKEY_LOCAL_MACHINE（HKLM）路径，以避免触及用户特定的注册表上下文。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 举一个例子，<a href="https://goxia.maytide.net" target="_blank">gOxiA</a> 之前分享了一篇日志 - “<a href="https://goxia.maytide.net/read.php/2209.htm" target="_blank">HOWTO: 使用 Intune 发布管理员控制的 SSO 设置</a>”，其配置通过修改注册表键值来实现，当该策略发布后如何验证和收集实施情况呢？！此时就可以利用注册表数据收集，为设备创建一个配置文件，平台为：Windows 10 或更高版本；配置文件类型为：属性目录。</p><p><a href="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings.png"><img width="630" height="410" title="create-devicesettings" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="create-devicesettings" src="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在“配置属性”页面，点击“添加属性”，选择“Registry”，即可配置为收集注册表数据。</p><p><a href="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings-inventory-registry-1.png"><img width="630" height="410" title="create-devicesettings-inventory-registry-1" style="margin: 0px; border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="create-devicesettings-inventory-registry-1" src="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings-inventory-registry-1_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 随后，我们可以看到 Registry 配置节点，通过添加 Registry key，我们可以指定 HKLM 下的特定路径，并指定一个收集模式，然后填写键值，最后分配给只当的组或设备即可。</p><p><a href="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings-inventory-registry-2.png"><img width="566" height="732" title="create-devicesettings-inventory-registry-2" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="create-devicesettings-inventory-registry-2" src="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings-inventory-registry-2_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 要查看收集的注册表配置清单，可转到设备下的 Device Inventory 查看。如果注册表值存在但不包含数据，则值显示为空；如果设备中没有注册表路径或值名，会报“未找到”。</p><p><a href="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings-inventory-registry-3.png"><img width="630" height="349" title="create-devicesettings-inventory-registry-3" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="create-devicesettings-inventory-registry-3" src="https://goxia.maytide.net/ftpup/2026/Intune_878C/create-devicesettings-inventory-registry-3_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 推荐官方文档：</p><ul><li><a href="https://learn.microsoft.com/en-us/intune/device-configuration/collect-device-properties/?WT.mc_id=WDIT-MVP-4000544" target="_blank">Use Intune properties catalog to collect device properties from Windows devices &#124; Microsoft Learn</a></li></ul>
]]>
</description>
</item>
</channel>
</rss>