积极答复者
执行 sysprep 后两个奇怪的问题

问题
-
以前执行 sysprep 带 /generalize /reboot 和 /oobe 参数重启后就像刚安装好系统后需要执行下一些个性化操作后就可以正常进入系统了,然后就和往常一样可以正常使用系统了。
现在我只想重置下 SID ,并不需要"全新用户体验",所以用了 /audit 参数,但奇怪的是重启后自动登录到 Administrator 帐号,但在“计算机管理\本地用户和组\用户”中查看 Administrator 帐号却是禁用状态的。而且每次重启进入系统后都会弹出 sysprep 窗口。最后无奈只能执行带 /oobe 参数才结束 sysprep 过程。
请问使用 /audit 参数这是正常现象吗?
答案
-
是正常现象。
勾选audit或者使用/audit命令都会进入 审计模式而不是OOBE模式,目的就是以管理员身份进入系统进行个性化编辑,例如装驱动,装企业所需软件,这些是需要管理员权限才能操作的行为。
而且进入审计模式后必定会出现sysprep窗口 ,这个是系统设定。
如果你想修改SID,除了 sysprep/oobe,最简单的方法是用三方工具SIDCHG
https://www.stratesave.com/html/sidchg.html
Please note: The mentioned product is owned and operated by a third party. Microsoft has no control regarding to the product's performance and reliability.
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.- 已标记为答案 DOSforever 2020年6月18日 7:24
-
是的,如你所言,目前想要重置SID的官方办法就是sysprep/oobe,audit参数是用来关机抓取镜像的,且无法离开审计模式。
还有,sysprep并不会改变BCD timeout,你可以在winpe中手动运行bcdedit看看timeout,我这边看了还是0,应该是其他地方影响了启动菜单超时时间
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.- 已标记为答案 DOSforever 2020年6月18日 7:24
全部回复
-
是正常现象。
勾选audit或者使用/audit命令都会进入 审计模式而不是OOBE模式,目的就是以管理员身份进入系统进行个性化编辑,例如装驱动,装企业所需软件,这些是需要管理员权限才能操作的行为。
而且进入审计模式后必定会出现sysprep窗口 ,这个是系统设定。
如果你想修改SID,除了 sysprep/oobe,最简单的方法是用三方工具SIDCHG
https://www.stratesave.com/html/sidchg.html
Please note: The mentioned product is owned and operated by a third party. Microsoft has no control regarding to the product's performance and reliability.
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.- 已标记为答案 DOSforever 2020年6月18日 7:24
-
那么我进入审计模式后怎么退出呢?即便是我确实要进入审计模式,我以管理员身份做好一些工作后还是要正常进入系统的呀。可问题是第一次以 Administrator 帐号进入系统,弹出 sysprep 窗口,我关掉 sysprep ,再次启动,还是以 Administrator 帐号进入系统,还是弹出 sysprep 窗口,以后每次启动都是这样反复。照这样说的话,我怎么退出审计模式,怎么以之前建立的帐号正常使用系统呢?
另外,我其实只想重置下 SID ,只要 /generalize 参数就可以了,可问题是 /oobe 和 /audit 参数必须用一个,由于我并不想再进行繁琐的个性化设置,所以就用 /audit 参数了。
- 已编辑 DOSforever 2020年6月17日 7:19 补充说明
-
This is what Finally helped me:
1. Go Windows+R or regedit.exe on start menu
2. Go to HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\Auditboot and make sure its set to zero.
3. Go to HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\Cleanupstate and change value to 7
as well as GeneralizationState to 7
4. Reboot.
It asked for password and I used a generic password found on internet:
*Generic Windows 10 Product Key matching your version*
来源:
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post. -
还有个问题:按理无论是执行 audit 还是 oobe 模式后之前所安装的驱动和应用程序都应该在,但是执行 oobe 后 Nvidia 显卡驱动的控制面板丢失了,启动后右下角浮动提示框显示 NVIDIA Control Panel is not found 。
而且奇怪的是 oobe 模式会重置 BOOTMGR 启动菜单的超时时间,会把时间改为默认的 30 秒。
- 已编辑 DOSforever 2020年6月18日 3:46
-
是的,如你所言,目前想要重置SID的官方办法就是sysprep/oobe,audit参数是用来关机抓取镜像的,且无法离开审计模式。
还有,sysprep并不会改变BCD timeout,你可以在winpe中手动运行bcdedit看看timeout,我这边看了还是0,应该是其他地方影响了启动菜单超时时间
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.- 已标记为答案 DOSforever 2020年6月18日 7:24
-
是的 ,我的测试环境是单一win10系统,在网上也找到了双系统出现timeout变动的案例
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.