当新用户登录时阻止 Windows 启动 Edge 欢迎窗口

当新用户登录时阻止 Windows 启动 Edge 欢迎窗口

如何在 Windows 10 中创建新用户时禁用 Windows Edge 欢迎窗口?

需要说明的是,创建新用户时,Edge 窗口会自动出现。不要将其与“首次运行页面”混淆,后者是在用户首次打开 Edge 时触发的。我没有打开任何东西。我只是登录了一个新创建的用户。

如果可能的话,我更愿意使用注册表破解而不是 GPO 编辑。为什么?因为我已经做了大量注册表调整,我想坚持使用这种方法。但当然,如果这是唯一的解决方案,我想我别无选择。

在此处输入图片描述

方案 1

到目前为止,我尝试过的是在一个帐户中以管理员身份在 PowerShell ISE 中运行以下命令,然后创建一个新的管理员帐户,看看窗口是否再次弹出。

reg load HKLM\DEFAULT c:\users\default\ntuser.dat
reg add "HKLM\DEFAULT\Software\Policies\Microsoft\MicrosoftEdge\Main" /v PreventFirstRunPage /t REG_DWORD /d 1 /f
reg unload HKLM\DEFAULT

即使我可以确认注册表已更改,但这似乎也不起作用。

方案 2

我尝试启用“阻止首次运行网页在 Microsoft Edge 上打开”GPO,但也没有用。阅读描述似乎这仅在用户实际打开 Edge 时才适用。

如果禁用或未配置此设置,员工将看到“首次运行”页面打开时首次使用 Microsoft Edge。

方案 3

我还尝试制作一个登录脚本,内容如下所述这里

New-Item -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge" -type Directory
New-Item -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Firstrun" -type Directory
New-Item -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main" -type Directory
# These two values removes the Edge Welcome screen
new-itemproperty "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\FirstRun" -Name "LastFirstRunVersionDelivered" -Value 1 -Type DWORD -Force -ErrorAction SilentlyContinue | Out-Null
new-itemproperty "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main" -Name IE10TourShown -Value 1 -Type DWORD -Force -ErrorAction SilentlyContinue | Out-Null
# This registry entry disables the prompt to make Edge the default browser
new-itemproperty "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main" -Name "DisallowDefaultBrowserPrompt" -Value 1 -Type DWORD -Force -ErrorAction SilentlyContinue | Out-Null

方案 4

尝试进入“设置”->“系统”->“通知和操作”-> 关闭“在更新后以及偶尔登录时显示‘Windows 欢迎体验’,以突出显示新增内容和建议”。仍然没有帮助。

请注意,每次尝试新事物后我都会创建新帐户。

我正在运行带有所有最新更新的 Windows 10 Pro v.1803。

答案1

由于我的声誉不够,因此将其作为答案发布。

您的问题涉及 OOBE(开箱即用体验)主题,我还没有在自定义开箱即用体验 (OOBE)页面,但它可能是可配置的(即您必须对其进行搜索)。

我建议您尝试使用带有快照的虚拟机,以便您可以在必要时回退。

答案2

REG LOAD HKLM\TempHive "C:\Users\Default\NTUSER.DAT"
REG ADD 
"HKLM\TempHive\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" 
/v SubscribedContent-310093Enabled /t REG_DWORD /d 00000000 /f
REG UNLOAD HKLM\TempHive

这帮我解决了这个问题https://www.itninja.com/blog/view/disable-windows-welcome-experience-dialog-during-os-deployments

相关内容