您有没有想过OEM(OEMs)如何使用自己的应用程序和驱动程序部署 Windows 11/10 操作系统?或者恢复分区如何帮助您重新安装所有内容,就好像计算机是全新的一样?Windows 11/10的特定模式称为审核模式(Audit Mode)。音频(Audio)模式允许OEM(OEMs)预先配置系统映像(System Image),打包他们的软件,然后将其部署到他们的数千台计算机上。在这篇文章中,我们将了解审计模式(Audit Mode)、好处以及如何启动或退出音频(Audio)模式。
什么是 Windows 审核模式?
Windows 可以选择两种启动模式——
- OOBE 和
- 审计模式。
OOBE 或开箱即用体验(OOBE or Out-of-box experience)是允许消费者在新机器上设置Windows或选择重置Windows 10时的默认模式。
(Audit Mode)正如我之前所说,审核模式允许OEM(OEMs)部署一个系统映像,其中包括在安装期间需要或计划部署的驱动程序包、应用程序、计算机特定更新。虽然涉及的内容更多,但简要说明了审核(Audit)模式的必要性。让我们来看看音频模式(Audio Mode)的好处。
绕过 OOBE
没有欢迎屏幕(Screen)或设置屏幕(Setup Screen)。它允许您使用内置的管理员帐户(built-in admin account)启动桌面并进行设置。因此,您根本不需要创建帐户。
安装(Install)应用程序、添加设备驱动程序和运行脚本
这是使用审核(Audit)模式的主要目标。使用默认图像,然后根据您的业务需求对其进行自定义。您还可以安装其他语言包和设备驱动程序。它也称为auditSystem配置传递过程。
测试Windows(Windows)安装的有效性
完成设置后,您可以测试最终用户开始使用OOBE时设置过程的行为方式。它也称为auditUser配置传递。
(Add)向参考图像添加更多自定义
很明显,一旦您通过了成功的审核过程,并且一切都按预期工作,则可以将相同的映像部署到多台计算机上。如果没有,您可以重新启动到审核(Audit)模式以在每个设备本身上进行配置。很多时候,这些变化是由于设备或消费者的要求。
如何在Windows 11/10审核模式(Audit Mode)
Microsoft 提供了一个应答文件Unattend.xml。它是一个基于 XML 的文件,其中包含要在Windows 安装(Windows Setup)期间使用的设置定义和值。该文件可以使用Windows 系统映像管理器(Windows System Image Manager)创建。只有当 Windows 10安装程序(Setup)文件此文件时,它才会启动到音频(Audio)模式,否则它将启动到默认的OOBE模式。使用(Use)以下任何一种方法启动到审核(Audit)模式。
(Boot)在Windows 10中(Windows 10)启动到审核模式(Audit Mode)(自动或手动)
- 添加Microsoft-Windows-Deployment | Reseal | Mode = audit 答案文件设置。
- 键盘快捷键(Keyboard Shortcut):在OOBE屏幕上,按CTRL + SHIFT + F3。
当计算机重新启动进入审核(Audit)模式时,系统准备(System Preparation)( Sysprep ) 工具将出现。使用键盘快捷键的唯一缺点是它不会绕过OOBE过程的所有部分。这包括在oobeSystem(oobeSystem) 配置阶段运行脚本和应用应答文件设置。
(Boot)使用配置为引导至OOBE的映像(OOBE)引导至审核模式(Audit)
您可以使用键盘快捷键或挂载图像,并添加带有审核设置的答案文件,将其保存为:
C: estofflineWindowsPantherUnattendUnattend.xml.
从现有映像自动启动到审核模式
创建一个新的答案文件,并添加Microsoft-Windows-Deployment | Reseal | Mode = audit. 将文件另存为Unattend.xml。
在提升的命令提示符下,执行以下命令:
Dism /Mount-Image /ImageFile:C: estimagesMyImage.wim /index: /MountDir:C: estoffline
image_index是 .wim 文件中所选图像的编号。(image_index is the number of the selected image on the .wim file.)
就像在上面的步骤中一样,将新的答案文件复制到此文件夹:
C: estofflineWindowsPantherUnattend
使用DISM 工具(the DISM tool)完成更改。使用以下命令:
Dism /Unmount-Image /MountDir:C: estoffline /commit
如何在Windows 11/10审核模式(Audit Mode)?
您可以删除Unattend.xml文件,然后使用DISM工具提交或简单地添加Microsoft-Windows-Deployment | Reseal | Mode = oobe 应答文件设置。
审核模式(Audit Mode)不适用于一般消费者。它适用于需要将具有相同设置、驱动程序和应用程序的映像应用到多台计算机的OEM或 IT 部门。(OEMs)
我希望这篇文章很容易理解,并且您能够在Windows 11/10审核模式(Audit Mode)。
What is Audit Mode in Windows? How to boot into or out of Audit Mode?
Haνe you ever wondered how OEMs deploy Windows 11/10 OS with their оwn set of apps and drivers? Or how does thе recovery partition helps you to reіnstall everything as if the computer is brand new? It is possible because of a particular mode of Windows 11/10 called Audit Mode. Audio mode allows OEMs to preconfigure a System Image, package their software, and then deploy it on thousands of their computers. In this post, we will learn about Audit Mode, benefits, and how to boot into or boot out of Audio mode.
What is Windows Audit Mode?
There are two modes Windows can choose to boot —
- OOBE and
- Audit Mode.
OOBE or Out-of-box experience is the default mode that allows the consumers to set up Windows on a new machine or when they choose to reset Windows 10.
Audit Mode, as I said earlier, allows OEMs to deploy a system image consisting of driver package, applications, computer-specific updates that are required or planned to be deployed during the installation. While there are more things involved that briefly explain the need for Audit mode. Let’s take a look at the benefits of Audio Mode.
Bypass OOBE
There is no Welcome Screen or Setup Screen. It allows you to boot into the desktop using the built-in admin account and set up things. So you do not need to create an account at all.
Install applications, add device drivers, and run scripts
That is the primary goal of using Audit mode. Using a default image, and then customize it based on your business requirement. You can also install additional language packs and device drivers. It is also called the auditSystem configuration pass process.
Test the validity of a Windows installation
Once you are done with the setup, you can test how the setup process will behave when the end-user starts using the OOBE. It is also called the auditUser configuration pass.
Add more customizations to a reference image
It is evident that once you are through a successful audit process, and everything works as expected, the same image can be deployed to multiple computers. If not, you can boot back into Audit mode to configure on per device per se. Many a time, the changes are because of the device or consumer request.
How to boot into or out of Audit Mode in Windows 11/10
Microsoft offers an Answer File Unattend.xml. It is an XML-based file that contains setting definitions and values to use during Windows Setup. The file can be created using Windows System Image Manager. Only when Windows 10 Setup files this file it boots into the Audio mode, else it will boot into the default OOBE mode. Use any of the following methods to boot into Audit mode.
Boot into Audit Mode in Windows 10 (Automatically or Manually)
- Add the Microsoft-Windows-Deployment | Reseal | Mode = audit answer file setting.
- Keyboard Shortcut: At the OOBE screen, press CTRL+SHIFT+F3.
When the computer reboots into Audit mode, the System Preparation (Sysprep) tool will appear. The only drawback of using the keyboard shortcut is that it does not bypass all parts of the OOBE process. That includes running scripts and applying answer file settings in the oobeSystem configuration pass.
Boot into Audit mode using an image which is configured to boot into OOBE
You can use the keyboard shortcut or mount the image, and add the answer file with the audit setting save it as:
C:\test\offline\Windows\Panther\Unattend\Unattend.xml.
Boot to audit mode automatically from an existing image
Create a new answer file, and add Microsoft-Windows-Deployment | Reseal | Mode = audit. Save the file as Unattend.xml.
On an elevated command prompt, execute the command:
Dism /Mount-Image /ImageFile:C:\test\images\MyImage.wim /index: /MountDir:C:\test\offline
The image_index is the number of the selected image on the .wim file.
Just like in the above step, copy the new answer file to this folder:
C:\test\offline\Windows\Panther\Unattend
Finalize the changes by using the DISM tool. Use the following command:
Dism /Unmount-Image /MountDir:C:\test\offline /commit
How do you boot out of Audit Mode in Windows 11/10?
You can delete the Unattend.xml file, and then commit using the DISM tool or simply add the Microsoft-Windows-Deployment | Reseal | Mode = oobe answer file setting.
Audit Mode is not for general consumers. It is either for OEMs or IT departments who need to apply the image with the same settings, drivers, and apps to multiple computers.
I hope the post was easy to follow, and you were able to boot into or out of Audit Mode in Windows 11/10.