<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Inject drivers via Fog]]></title><description><![CDATA[<p dir="auto">Hello All,</p>
<p dir="auto">I new user in FOG Project and i want inject drivers in my deployments.</p>
<p dir="auto">I following the link: <a href="https://forums.fogproject.org/topic/11126/using-fog-postinstall-scripts-for-windows-driver-injection-2017-ed" target="_blank" rel="noopener noreferrer nofollow ugc">https://forums.fogproject.org/topic/11126/using-fog-postinstall-scripts-for-windows-driver-injection-2017-ed</a></p>
<p dir="auto">But I don’t understand where I should do this in this configuration:<br />
<img src="/assets/uploads/files/1754468806545-264895a9-84ac-41f1-9f4e-b606e749a2ad-image.png" alt="264895a9-84ac-41f1-9f4e-b606e749a2ad-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Can help-me with this step?</p>
<p dir="auto">Thanks Team</p>
]]></description><link>http://forums.fogproject.org/topic/17945/inject-drivers-via-fog</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 12:12:07 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/17945.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Aug 2025 08:28:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Inject drivers via Fog on Mon, 18 Aug 2025 13:47:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30416">@george1421</a> Thanks for your help.</p>
<p dir="auto">I solve the problem with this AutoUnatted.xml</p>
<p dir="auto">&lt;?xml version=“1.0” encoding=“utf-8”?&gt;<br />
&lt;unattend xmlns=“urn:schemas-microsoft-com:unattend”&gt;<br />
&lt;!-- Bypass OOBE --&gt;<br />
&lt;settings pass=“oobeSystem”&gt;<br />
&lt;component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“<a href="http://schemas.microsoft.com/WMIConfig/2002/State" target="_blank" rel="noopener noreferrer nofollow ugc">http://schemas.microsoft.com/WMIConfig/2002/State</a>” xmlns:xsi=“<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.w3.org/2001/XMLSchema-instance</a>”&gt;<br />
&lt;OOBE&gt;<br />
&lt;HideEULAPage&gt;true&lt;/HideEULAPage&gt;<br />
&lt;HideLocalAccountScreen&gt;true&lt;/HideLocalAccountScreen&gt;<br />
&lt;HideOEMRegistrationScreen&gt;true&lt;/HideOEMRegistrationScreen&gt;<br />
&lt;HideOnlineAccountScreens&gt;true&lt;/HideOnlineAccountScreens&gt;<br />
&lt;HideWirelessSetupInOOBE&gt;true&lt;/HideWirelessSetupInOOBE&gt;<br />
&lt;ProtectYourPC&gt;3&lt;/ProtectYourPC&gt;<br />
&lt;SkipUserOOBE&gt;true&lt;/SkipUserOOBE&gt;<br />
&lt;SkipMachineOOBE&gt;true&lt;/SkipMachineOOBE&gt;<br />
&lt;UnattendEnableRetailDemo&gt;false&lt;/UnattendEnableRetailDemo&gt;<br />
&lt;NetworkLocation&gt;Other&lt;/NetworkLocation&gt;<br />
&lt;/OOBE&gt;<br />
&lt;/component&gt;<br />
&lt;component name=“Microsoft-Windows-International-Core” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“<a href="http://schemas.microsoft.com/WMIConfig/2002/State" target="_blank" rel="noopener noreferrer nofollow ugc">http://schemas.microsoft.com/WMIConfig/2002/State</a>” xmlns:xsi=“<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.w3.org/2001/XMLSchema-instance</a>”&gt;<br />
&lt;SystemLocale&gt;pt-PT&lt;/SystemLocale&gt;<br />
&lt;UILanguage&gt;pt-PT&lt;/UILanguage&gt;<br />
&lt;UserLocale&gt;pt-PT&lt;/UserLocale&gt;<br />
&lt;InputLocale&gt;0816:00000816&lt;/InputLocale&gt;<br />
&lt;/component&gt;<br />
&lt;/settings&gt;</p>
<pre><code>&lt;!-- Run SetupComplete.cmd via PostOOBE --&gt;
&lt;settings pass="specialize"&gt;
    &lt;component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;RunSynchronous&gt;
            &lt;RunSynchronousCommand wcm:action="add"&gt;
                &lt;Order&gt;1&lt;/Order&gt;
                &lt;Path&gt;reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\FirstBoot\PostOobe" /v "00" /t REG_SZ /d "cmd /c C:\Windows\Setup\Scripts\SetupComplete.cmd &amp;amp; exit /b 0" /f&lt;/Path&gt;
            &lt;/RunSynchronousCommand&gt;
        &lt;/RunSynchronous&gt;
    &lt;/component&gt;
&lt;/settings&gt;
</code></pre>
<p dir="auto">&lt;/unattend&gt;</p>
<p dir="auto">The AutoUnatted.xml will call the the script C:\Windows\Setup\Scripts\SetupComplete.cmd</p>
<p dir="auto">I make the sysprep with AutoUnatted.xml</p>
]]></description><link>http://forums.fogproject.org/post/157113</link><guid isPermaLink="true">http://forums.fogproject.org/post/157113</guid><dc:creator><![CDATA[diogo.seabra]]></dc:creator><pubDate>Mon, 18 Aug 2025 13:47:10 GMT</pubDate></item><item><title><![CDATA[Reply to Inject drivers via Fog on Tue, 12 Aug 2025 20:45:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49136">@diogo-seabra</a> said in <a href="/post/157072">Inject drivers via Fog</a>:</p>
<blockquote>
<p dir="auto">To use the unattend.xml can we follow this steps</p>
</blockquote>
<p dir="auto">This is kind of an open ended question so I’m not sure how to answer within context.</p>
<p dir="auto">The fog.updateunattend script is intended to update the unattend.xml script at deployment time, like system name, OU to bind to, etc.</p>
<p dir="auto">If you want to use the unattend.xml script to “do things” post deployment, that is not connected to the fog.updateattend script.</p>
<p dir="auto">For reference here is my windows 7 unattend.xml (I know, but the file really hasn’t changed much between win7 and win11.<br />
<a href="https://forums.fogproject.org/post/112435" target="_blank" rel="noopener noreferrer nofollow ugc">https://forums.fogproject.org/post/112435</a></p>
<p dir="auto">The interesting sections of the file are this:</p>
<pre><code>            &lt;AutoLogon&gt;
                &lt;Password&gt;
                    &lt;Value&gt;**REMOVED BY ME**&lt;/Value&gt;
                    &lt;PlainText&gt;false&lt;/PlainText&gt;
                &lt;/Password&gt;
                &lt;Enabled&gt;true&lt;/Enabled&gt;
                &lt;Username&gt;**REMOVED BY ME**&lt;/Username&gt;
                &lt;Domain&gt;**REMOVED BY ME**&lt;/Domain&gt;
                &lt;LogonCount&gt;1&lt;/LogonCount&gt;
            &lt;/AutoLogon&gt;
</code></pre>
<p dir="auto">This sets it up for the administrator account to auto login once. Doing this allows the next important section to run.</p>
<pre><code>            &lt;FirstLogonCommands&gt;
                &lt;SynchronousCommand wcm:action="add"&gt;
                    &lt;Description&gt;Move to OU&lt;/Description&gt;
                    &lt;Order&gt;1&lt;/Order&gt;
                    &lt;CommandLine&gt;cscript.exe /B c:\windows\buildscripts\SetOUTo.vbs "some_new_ou"&lt;/CommandLine&gt;
                    &lt;RequiresUserInput&gt;false&lt;/RequiresUserInput&gt;
                &lt;/SynchronousCommand&gt;
                &lt;SynchronousCommand wcm:action="add"&gt;
                    &lt;Order&gt;2&lt;/Order&gt;
                    &lt;Description&gt;Activate Windows&lt;/Description&gt;
                    &lt;RequiresUserInput&gt;false&lt;/RequiresUserInput&gt;
                    &lt;CommandLine&gt;cscript /B C:\windows\system32\_slmgr.vbs /ato&lt;/CommandLine&gt;
                &lt;/SynchronousCommand&gt;
                &lt;SynchronousCommand wcm:action="add"&gt;
                    &lt;Order&gt;3&lt;/Order&gt;
                    &lt;CommandLine&gt;shutdown.exe -r -t 30 /c "The computer will RESTART in 30 seconds"&lt;/CommandLine&gt;
                    &lt;Description&gt;Reboot at end&lt;/Description&gt;
                    &lt;RequiresUserInput&gt;false&lt;/RequiresUserInput&gt;
                &lt;/SynchronousCommand&gt;
            &lt;/FirstLogonCommands&gt;
</code></pre>
<p dir="auto">While this section doesn’t speak directly to running the pnputil.exe command, you could add it to the list of steps pretty easy, possibly in the first section with “description move to ou”. The auto login command allows this section to run once the desktop is configured. The last step of the first run section tells windows to reboot after executing everything else. The concept will be the same or you, run the pnputil command with the proper switches and then the last step will be to reboot loading the proper drivers at restart.</p>
]]></description><link>http://forums.fogproject.org/post/157075</link><guid isPermaLink="true">http://forums.fogproject.org/post/157075</guid><dc:creator><![CDATA[george1421]]></dc:creator><pubDate>Tue, 12 Aug 2025 20:45:21 GMT</pubDate></item><item><title><![CDATA[Reply to Inject drivers via Fog on Tue, 12 Aug 2025 10:35:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30416">@george1421</a> Hello,</p>
<p dir="auto">Thanks for your help.</p>
<p dir="auto">To use the unattend.xml can we follow this steps?<br />
<a href="https://forums.fogproject.org/topic/11126/using-fog-postinstall-scripts-for-windows-driver-injection-2017-ed" target="_blank" rel="noopener noreferrer nofollow ugc">https://forums.fogproject.org/topic/11126/using-fog-postinstall-scripts-for-windows-driver-injection-2017-ed</a> and use the scripts:</p>
<ul>
<li>
<p dir="auto">fog.updateunattend</p>
</li>
<li>
<p dir="auto">Unattend.xml</p>
</li>
</ul>
<p dir="auto">Thanks for your support</p>
]]></description><link>http://forums.fogproject.org/post/157072</link><guid isPermaLink="true">http://forums.fogproject.org/post/157072</guid><dc:creator><![CDATA[diogo.seabra]]></dc:creator><pubDate>Tue, 12 Aug 2025 10:35:29 GMT</pubDate></item><item><title><![CDATA[Reply to Inject drivers via Fog on Wed, 06 Aug 2025 09:41:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49136">@diogo-seabra</a></p>
<p dir="auto">post taken from this thread: <a href="https://www.elevenforum.com/t/automated-windows-11-installation-with-post-installation-script.28219/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.elevenforum.com/t/automated-windows-11-installation-with-post-installation-script.28219/</a></p>
<p dir="auto">"The normal sequence for Windows Post-Setup:</p>
<ul>
<li>Exit specialize pass, and run OOBE​</li>
<li>Run C:\Windows\Setup\Scripts\SetupComplete.cmd, except when Windows finds an OEM license key and it’s skipped entirely​</li>
<li>Begin user provisioning for the first logon user​</li>
<li>Run RunOnce or Run registry tasks​</li>
</ul>
<p dir="auto">SetupComplete.cmd would be ideal for you, it’s right after OOBE but before any user profiles are provisioned. But the problem is Windows deliberately skips SetupComplete when it detects an OEM setup."</p>
<p dir="auto">There are several ways to do the injection the most correct place is the setupcomplete.cmd file. But if you have an OEM licensed install that file is skipped.</p>
<p dir="auto">The other option is to add the driver injection (only one call to pnputil is really needed in my experience) is if/when you use the unattend.xml file. There is a first run section where you can call applications at first login, but you must couple that step with autoadminlogin function, so as soon as OOBE finishes autoadminlogin logs in the administrator account once to run the firstrun section of the unattend.xml file. This way is a bit more complicated to setup. If you can get the setupcomplete.cmd file to run its much easier of a setup</p>
]]></description><link>http://forums.fogproject.org/post/157057</link><guid isPermaLink="true">http://forums.fogproject.org/post/157057</guid><dc:creator><![CDATA[george1421]]></dc:creator><pubDate>Wed, 06 Aug 2025 09:41:52 GMT</pubDate></item></channel></rss>