Using FirstLogonCommands in an Unattend.xml file

I apologize ahead of time for what is probably a stupid question, but I'm having a hard time figuring this out from the Microsoft Documentation (https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-firstlogoncommands):

If I populate my Unattend.xml file with the 'FirstLogonCommands' setting at the oobeSystem pass, will the commands run once for the first user that logs into the machine, or will the command run once for each user that logs into the machine?

0
задан 27 July 2017 в 18:00
1 ответ

Команда (и) выполняется один раз для первого пользователя, который входит в систему.

Подумайте об этом. Если вы добавите пользователя через год, команды не будут выполняться при исходном входе в систему этого пользователя. Команда запускается только при первом входе в систему первого пользователя после развертывания.

Посмотрите здесь примеры: https://serverfault.com/a/814423/216286

0
ответ дан 5 December 2019 в 07:39

Теги

Похожие вопросы