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?
Команда (и) выполняется один раз для первого пользователя, который входит в систему.
Подумайте об этом. Если вы добавите пользователя через год, команды не будут выполняться при исходном входе в систему этого пользователя. Команда запускается только при первом входе в систему первого пользователя после развертывания.
Посмотрите здесь примеры: https://serverfault.com/a/814423/216286