<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://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://maytide.net/read.php/2056.htm</link>
<title><![CDATA[HOWTO: 使用 Intune CSP 禁用 OOBE 阶段的首次登录动画]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft Cloud]]></category>
<pubDate>Sat, 01 Oct 2022 01:46:00 +0000</pubDate> 
<guid>https://maytide.net/read.php/2056.htm</guid> 
<description>
<![CDATA[ 
	<p><img alt="Windows_logo_horiz_blue_rgb" src="http://goxia.maytide.net/ftpup/2018/Windows-_8577/Windows_logo_horiz_blue_rgb_thumb.png"></p><p><font color="#fd3f0d" size="4"><strong>HOWTO: 使用 Intune CSP 禁用 OOBE 阶段的首次登录动画</strong></font></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 当我们在准备批量自动化部署 Windows 前都会制作参考映像，并对其进行定制，以及预置一些应用程序，或加载一些自动化配置。但在实际部署时会发现 Windows OOBE 的自动化配置过程是实现了，但在“首次运行动画”这个阶段等待了漫长的时间，曾有网友遇到该时间长达近半个小时。</p><p><a href="http://goxia.maytide.net/ftpup/2022/HOWTO--OOBE-_F520/image.png"><img width="600" height="450" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="http://goxia.maytide.net/ftpup/2022/HOWTO--OOBE-_F520/image_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 那么我们是否有办法加快或禁用这段动画吗？对于传统部署模式，虽然在 Windows 应答文件中没有预设的配置选项，但是可以通过组策略或脚本进行配置。</p><p>1. 组策略，定位到“计算机配置-管理模板-系统-登录”，禁用“显示首次登录动画”。</p><p><a href="http://goxia.maytide.net/ftpup/2022/HOWTO--OOBE-_F520/gpo_showfirstanimation.png"><img width="634" height="549" title="gpo_showfirstanimation" style="margin: 0px; display: inline; background-image: none;" alt="gpo_showfirstanimation" src="http://goxia.maytide.net/ftpup/2022/HOWTO--OOBE-_F520/gpo_showfirstanimation_thumb.png" border="0"></a></p><p><a href="http://goxia.maytide.net/ftpup/2022/HOWTO--OOBE-_F520/gpo_showfirstanimation-1.png"><img width="618" height="574" title="gpo_showfirstanimation-1" style="display: inline; background-image: none;" alt="gpo_showfirstanimation-1" src="http://goxia.maytide.net/ftpup/2022/HOWTO--OOBE-_F520/gpo_showfirstanimation-1_thumb.png" border="0"></a></p><p>2. 如果需要在 Windows 应答文件中实现，则需要添加执行脚本，参考如下：</p><p><em>&lt;RunSynchronousCommand wcm:action="add"&gt;</em><p><em>&nbsp;&nbsp;&nbsp; &lt;Description&gt;disable FirstLogonAnimation&lt;/Description&gt;</em><p><em>&nbsp;&nbsp;&nbsp; &lt;Order&gt;1&lt;/Order&gt;</em><p><em>&nbsp;&nbsp;&nbsp; &lt;Path&gt;<strong>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableFirstLogonAnimation /d 0 /t REG_DWORD /f</strong>&lt;/Path&gt;</em><p><em>&lt;/RunSynchronousCommand&gt;</em><p><em>&lt;RunSynchronousCommand wcm:action="add"&gt;</em><p><em>&lt;Description&gt;disable animation&lt;/Description&gt;</em><p><em>&lt;Order&gt;2&lt;/Order&gt;</em><p><em>&lt;Path&gt;<strong>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DelayedDesktopSwitchTimeout /d 0 /t REG_DWORD /f</strong>&lt;/Path&gt;</em><p><em>&lt;/RunSynchronousCommand&gt;</em><p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果正在使用现代部署模式，如 Intune 这类的 MDM 平台，则可以直接使用 CSP 进行预配。<p>范围：Device<p>版本：Pro、Ent、Edu、SE<p>系统：1903及以上<p><strong>./Device/Vendor/MSFT/Policy/Config/WindowsLogon/EnableFirstLogonAnimation</strong><p>格式：<strong>int</strong><p>值：<strong>0</strong> -&gt; Disabled<p>参考信息：<p><a title="https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-windowslogon#enablefirstlogonanimation" href="https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-windowslogon#enablefirstlogonanimation">https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-windowslogon#enablefirstlogonanimation</a></p>
]]>
</description>
</item>
</channel>
</rss>