[GuiRunOnce]

The [GuiRunOnce] applies to unattended-setup answer files and Sysprep.inf.

The [GuiRunOnce] section contains commands to execute the first time an end user logs on to the computer after GUI-mode Setup completes. Commands called in the [GuiRunOnce] section run synchronously: Each application runs in the order listed in this section, and each command must finish before you run the next command. Each line specifies a command that the [GuiRunOnce] registry entry, HKLM\Software\Microsoft\Windows\CurrentVersion\Runonce, executes.

Tip

Tip

You must put each command line in quotation marks.

Commands run using the [GuiRunOnce] section in the context ...

Get Microsoft® Windows® Desktop Deployment Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.