在 Unattend.xml 文件中使用 FirstLogonCommands

在 Unattend.xml 文件中使用 FirstLogonCommands

我提前为这个可能很愚蠢的问题道歉,但我很难从微软文档中弄清楚这一点(https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-firstlogoncommands):

如果我在 oobeSystem 阶段使用“FirstLogonCommands”设置填充我的 Unattend.xml 文件,那么命令是否会为登录机器的第一个用户运行一次,还是为登录机器的每个用户运行一次命令?

答案1

该命令将为第一个登录系统的用户运行一次。

想想看。如果您在一年后添加用户,则命令不会在该用户的原始登录名上执行。该命令仅在部署后第一个用户的第一次登录时运行。

请看这里的例子: https://serverfault.com/a/814423/216286

相关内容