<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Noktis</id>
		<title>FOG Project - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Noktis"/>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Special:Contributions/Noktis"/>
		<updated>2026-05-08T06:16:25Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Sysprep_for_Windows_7&amp;diff=7759</id>
		<title>Sysprep for Windows 7</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Sysprep_for_Windows_7&amp;diff=7759"/>
				<updated>2012-11-13T01:47:10Z</updated>
		
		<summary type="html">&lt;p&gt;Noktis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The sysprep.exe file is located at C:\windows\system32\sysprep.exe. There are a few other files around there, and it is recommended that they be left untouched. However, that does not mean that you cannot add information to this directory. The approaches to managing the sysprep process is varied, and this is just one recommendation. &lt;br /&gt;
&lt;br /&gt;
Additional Necessary Files:&lt;br /&gt;
c:\windows\system32\sysprepme.bat&lt;br /&gt;
c:\windows\system32\unattend.noskiprearm.xml&lt;br /&gt;
c:\windows\system32\unattend.skiprearm.xml&lt;br /&gt;
&lt;br /&gt;
Contents sysprepme.bat:&lt;br /&gt;
&lt;br /&gt;
 :start&lt;br /&gt;
 echo off&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 echo Choose the appropriate sysprep stage:&lt;br /&gt;
 echo.&lt;br /&gt;
 echo 1) For Deployment&lt;br /&gt;
 echo 2) Create Build Process Restore Point&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 echo.&lt;br /&gt;
 set /p type= &lt;br /&gt;
 &lt;br /&gt;
 if %type% == 1 goto 1&lt;br /&gt;
 if %type% == 2 goto 2&lt;br /&gt;
 goto 3&lt;br /&gt;
 &lt;br /&gt;
 :1&lt;br /&gt;
 c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /shutdown /unattend:c:\windows\system32\sysprep\unattend.noskiprearm.xml&lt;br /&gt;
 goto 4&lt;br /&gt;
 :2&lt;br /&gt;
 c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /shutdown /unattend:c:\windows\system32\sysprep\unattend.skiprearm.xml&lt;br /&gt;
 goto 4&lt;br /&gt;
 &lt;br /&gt;
 :3 &lt;br /&gt;
 echo.&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 echo   That didn't look like a 1 or a 2, please try again and make a VALID choice.&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 echo ================================================================================&lt;br /&gt;
 pause&lt;br /&gt;
 goto start&lt;br /&gt;
 :4&lt;br /&gt;
&lt;br /&gt;
Contents Unattend.{skiprearm|noskiprearm}.xml:&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;unattend xmlns=&amp;quot;urn:schemas-microsoft-com:unattend&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;settings pass=&amp;quot;oobeSystem&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;component name=&amp;quot;Microsoft-Windows-Shell-Setup&amp;quot; processorArchitecture=&amp;quot;x86&amp;quot; publicKeyToken=&amp;quot;31bf3856ad364e35&amp;quot; language=&amp;quot;neutral&amp;quot; versionScope=&amp;quot;nonSxS&amp;quot; xmlns:wcm=&amp;quot;http://schemas.microsoft.com/WMIConfig/2002/State&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;OOBE&amp;gt;&lt;br /&gt;
             &amp;lt;HideEULAPage&amp;gt;true&amp;lt;/HideEULAPage&amp;gt;&lt;br /&gt;
                 &amp;lt;NetworkLocation&amp;gt;Work&amp;lt;/NetworkLocation&amp;gt;&lt;br /&gt;
                 &amp;lt;ProtectYourPC&amp;gt;3&amp;lt;/ProtectYourPC&amp;gt;&lt;br /&gt;
                 &amp;lt;SkipMachineOOBE&amp;gt;true&amp;lt;/SkipMachineOOBE&amp;gt;&lt;br /&gt;
                 &amp;lt;SkipUserOOBE&amp;gt;true&amp;lt;/SkipUserOOBE&amp;gt;&lt;br /&gt;
          &amp;lt;/OOBE&amp;gt;&lt;br /&gt;
          &amp;lt;!-- Uncomment the following section to set display settings&lt;br /&gt;
          &amp;lt;Display&amp;gt;&lt;br /&gt;
             &amp;lt;ColorDepth&amp;gt;32&amp;lt;/ColorDepth&amp;gt;&lt;br /&gt;
             &amp;lt;DPI&amp;gt;120&amp;lt;/DPI&amp;gt;&lt;br /&gt;
             &amp;lt;HorizontalResolution&amp;gt;1024&amp;lt;/HorizontalResolution&amp;gt;&lt;br /&gt;
             &amp;lt;RefreshRate&amp;gt;60&amp;lt;/RefreshRate&amp;gt;&lt;br /&gt;
             &amp;lt;VerticalResolution&amp;gt;768&amp;lt;/VerticalResolution&amp;gt;&lt;br /&gt;
          &amp;lt;/Display&amp;gt;&lt;br /&gt;
          --&amp;gt;&lt;br /&gt;
             &amp;lt;RegisteredOwner&amp;gt;COMPANY-NAME-EMPLOYEE&amp;lt;/RegisteredOwner&amp;gt;&lt;br /&gt;
             &amp;lt;RegisteredOrganization&amp;gt;COMPANY-NAME&amp;lt;/RegisteredOrganization&amp;gt;&lt;br /&gt;
             &amp;lt;TimeZone&amp;gt;Central Standard Time&amp;lt;/TimeZone&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
         &amp;lt;component name=&amp;quot;Microsoft-Windows-International-Core&amp;quot; processorArchitecture=&amp;quot;x86&amp;quot; publicKeyToken=&amp;quot;31bf3856ad364e35&amp;quot; language=&amp;quot;neutral&amp;quot; versionScope=&amp;quot;nonSxS&amp;quot; xmlns:wcm=&amp;quot;http://schemas.microsoft.com/WMIConfig/2002/State&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;InputLocale&amp;gt;en-US&amp;lt;/InputLocale&amp;gt;&lt;br /&gt;
             &amp;lt;SystemLocale&amp;gt;en-US&amp;lt;/SystemLocale&amp;gt;&lt;br /&gt;
             &amp;lt;UILanguage&amp;gt;en-US&amp;lt;/UILanguage&amp;gt;&lt;br /&gt;
             &amp;lt;UserLocale&amp;gt;en-US&amp;lt;/UserLocale&amp;gt;&lt;br /&gt;
         &amp;lt;/component&amp;gt;&lt;br /&gt;
    &amp;lt;/settings&amp;gt;&lt;br /&gt;
     &amp;lt;settings pass=&amp;quot;generalize&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;component name=&amp;quot;Microsoft-Windows-PnpSysprep&amp;quot; processorArchitecture=&amp;quot;x86&amp;quot; publicKeyToken=&amp;quot;31bf3856ad364e35&amp;quot; language=&amp;quot;neutral&amp;quot; versionScope=&amp;quot;nonSxS&amp;quot; xmlns:wcm=&amp;quot;http://schemas.microsoft.com/WMIConfig/2002/State&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;PersistAllDeviceInstalls&amp;gt;true&amp;lt;/PersistAllDeviceInstalls&amp;gt;&lt;br /&gt;
         &amp;lt;/component&amp;gt;&lt;br /&gt;
         &amp;lt;component name=&amp;quot;Microsoft-Windows-Security-Licensing-SLC&amp;quot; processorArchitecture=&amp;quot;x86&amp;quot; publicKeyToken=&amp;quot;31bf3856ad364e35&amp;quot; language=&amp;quot;neutral&amp;quot; versionScope=&amp;quot;nonSxS&amp;quot; xmlns:wcm=&amp;quot;http://schemas.microsoft.com/WMIConfig/2002/State&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
 OPTION 1:            &amp;lt;SkipRearm&amp;gt;0&amp;lt;/SkipRearm&amp;gt;&lt;br /&gt;
 OPTION 2:            &amp;lt;SkipRearm&amp;gt;1&amp;lt;/SkipRearm&amp;gt;&lt;br /&gt;
         &amp;lt;/component&amp;gt;&lt;br /&gt;
     &amp;lt;/settings&amp;gt;&lt;br /&gt;
     &amp;lt;settings pass=&amp;quot;specialize&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;component name=&amp;quot;Microsoft-Windows-UnattendedJoin&amp;quot; processorArchitecture=&amp;quot;x86&amp;quot; publicKeyToken=&amp;quot;31bf3856ad364e35&amp;quot; language=&amp;quot;neutral&amp;quot; versionScope=&amp;quot;nonSxS&amp;quot; xmlns:wcm=&amp;quot;http://schemas.microsoft.com/WMIConfig/2002/State&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;Identification&amp;gt;&lt;br /&gt;
                 &amp;lt;JoinWorkgroup&amp;gt;ghost&amp;lt;/JoinWorkgroup&amp;gt;&lt;br /&gt;
             &amp;lt;/Identification&amp;gt;&lt;br /&gt;
         &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;component name=&amp;quot;Microsoft-Windows-Shell-Setup&amp;quot; processorArchitecture=&amp;quot;x86&amp;quot; publicKeyToken=&amp;quot;31bf3856ad364e35&amp;quot; language=&amp;quot;neutral&amp;quot; versionScope=&amp;quot;nonSxS&amp;quot; xmlns:wcm=&amp;quot;http://schemas.microsoft.com/WMIConfig/2002/State&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;ComputerName&amp;gt;COMPANY-BASE&amp;lt;/ComputerName&amp;gt;&lt;br /&gt;
             &amp;lt;ProductKey&amp;gt;ZZZZZ-ZZZZZ-ZZZZZ-ZZZZZ-ZZZZZ&amp;lt;/ProductKey&amp;gt;&lt;br /&gt;
         &amp;lt;/component&amp;gt;&lt;br /&gt;
     &amp;lt;/settings&amp;gt;&lt;br /&gt;
    &amp;lt;cpi:offlineImage cpi:source=&amp;quot;wim:c:/vista/x86/image.wim#Windows Vista ULTIMATE&amp;quot; xmlns:cpi=&amp;quot;urn:schemas-microsoft-com:cpi&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/unattend&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reason that you want to use two unattend files is because one will reset some internal Windows stuff, but can only be done three times. The other can be done an infinite number of times, and is what you want to use for the image that you are updating. Once you are ready to upload, use option 1. Just be sure to have a backup from option 2 created so that you don't have to do that work again when you update your image.&lt;/div&gt;</summary>
		<author><name>Noktis</name></author>	</entry>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=What_do_I_have_to_do_to_an_image_before_uploading%3F&amp;diff=7756</id>
		<title>What do I have to do to an image before uploading?</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=What_do_I_have_to_do_to_an_image_before_uploading%3F&amp;diff=7756"/>
				<updated>2012-11-12T21:21:32Z</updated>
		
		<summary type="html">&lt;p&gt;Noktis: /* Tasks to perform before uploading an Image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tasks to perform before uploading an Image ==&lt;br /&gt;
Are you using sysprep? If so, you will save time and aggravation by always having TWO images: one pre-sysprep and one post-sysprep. As a guiding principle, it's best to backup before making an invasive change (like using Sysprep). Just so you don't lose time if the step fails and causes bad things to happen.&lt;br /&gt;
&lt;br /&gt;
Some people have mentioned a limit of three sysprep uses. This is not true, but it feels like it when you hit that wall the first time and have to redo everything. There is a flag in the generalize phase called skiprearm. This can be set via an xml unattend document. It's a double negative though, so count on yourself to make a mistake more than once over the years. The provided sample batch script should help to minimize human error by being more descriptive:&lt;br /&gt;
&lt;br /&gt;
 :start&lt;br /&gt;
 echo off&lt;br /&gt;
 echo Choose the appropriate sysprep stage:&lt;br /&gt;
 echo.&lt;br /&gt;
 echo 1) For Deployment (Limit three, final step before upload, take a backup first)&lt;br /&gt;
 echo 2) Create Build Process Restore Point (Can be done an infinite number of times)&lt;br /&gt;
 echo.&lt;br /&gt;
 set /p type=&lt;br /&gt;
 if %type% == 1 goto 1&lt;br /&gt;
 if %type% == 2 goto 2&lt;br /&gt;
 goto 3&lt;br /&gt;
 :1&lt;br /&gt;
 c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /shutdown /unattend:c:\windows\system32\sysprep\unattend.noskiprearm.xml&lt;br /&gt;
 goto 4&lt;br /&gt;
 :2&lt;br /&gt;
 c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /shutdown /unattend:c:\windows\system32\sysprep\unattend.skiprearm.xml&lt;br /&gt;
 goto 4&lt;br /&gt;
 :3 &lt;br /&gt;
 echo   That didn't look like a 1 or a 2, please try again and make a VALID choice.&lt;br /&gt;
 pause&lt;br /&gt;
 echo.&lt;br /&gt;
 echo.&lt;br /&gt;
 goto start&lt;br /&gt;
 :4&lt;br /&gt;
 echo All done&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
Please note that this should be run from the C:\windows\system32\sysprep folder, and should also have an appropriate unattend.xml file associated with it. This example uses unattend.noskiprearm.xml and unattend.skiprearm.xml from the same folder. The difference between the two files is this:&lt;br /&gt;
&lt;br /&gt;
Under the Generalize pass heading : &lt;br /&gt;
 &amp;lt;settings pass=&amp;quot;generalize&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a flag set to '''1''' for the build process restore point, and '''0''' for the final sysprep prior to deploy/upload. &lt;br /&gt;
 &amp;lt;SkipRearm&amp;gt;'''1'''&amp;lt;/SkipRearm&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== All Operating Systems ===&lt;br /&gt;
&lt;br /&gt;
To get the most out of FOG, you will probably want to install the FOG Client service before uploading the image to the server.  This package can be downloaded directly from your FOG server by going to the address:  http://[fogserver]/fog/client&lt;br /&gt;
Be sure to read up on recompiling the &amp;lt;tt&amp;gt;Hostnamechange.dll&amp;lt;/tt&amp;gt; file with your password.&lt;br /&gt;
&lt;br /&gt;
=== Windows XP ===&lt;br /&gt;
&lt;br /&gt;
No special configuration/tasks are needed prior to upload.&lt;br /&gt;
&lt;br /&gt;
=== Windows Vista and Windows 7 ===&lt;br /&gt;
&lt;br /&gt;
Right before uploading the image the MountedDevices registry key must be cleared. If it is not, the master image and subsequent deploys will result in this problem: [[Vista Image says 0xc000000e \windows\system32\winload.exe can not be loaded]]&lt;br /&gt;
&lt;br /&gt;
This can be accomplished by ''any &amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;one&amp;lt;/span&amp;gt;'' of the following methods:&lt;br /&gt;
# use Sysprep with the /generalize switch&lt;br /&gt;
# run [[FOGprep]].exe&lt;br /&gt;
# manually delete the &amp;lt;tt&amp;gt;\??\volume{...}&amp;lt;/tt&amp;gt; keys in the registry under &amp;quot;HKLM\SYSTEM\MountedDevices&amp;quot;&lt;br /&gt;
# run the following from an administrator's console: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bcdedit /set {bootmgr} device boot&lt;br /&gt;
bcdedit /set {default} device boot&lt;br /&gt;
bcdedit /set {default} osdevice boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''If the computer is restarted, your chosen method must be repeated again before imaging.'''&lt;br /&gt;
====FOGprep====&lt;br /&gt;
The FOG developers created a command to accomplish this easily. This application is called fogprep.exe, which is located in the utils/FOGPrep/ directory of the FOG download.  This command must be run prior to image upload. The fogprep.exe command removes all information about mounted devices that Windows 7 knows about by clearing the registry at &amp;quot;HKLM\SYSTEM\MountedDevices&amp;quot;. This causes Windows 7 to re-query the machine after boot for mounted devices.&lt;br /&gt;
&lt;br /&gt;
It has also been mentioned that running checkdisk and defrag are necessary to prevent block errors. They're also a best practice&lt;br /&gt;
&lt;br /&gt;
==== Pre FOG 0.32 ====&lt;br /&gt;
By default Windows 7 and Vista create a two partition setup. A common error is to think that using &amp;quot;Multiple Partition Image - Single Disk&amp;quot; is necessary. It is not. FOG handles the system partition silently and without error, even when choosing &amp;quot;single partition, resizable&amp;quot;. If you get the error: &amp;quot;Boot selection failed because a required device is inaccessible&amp;quot; or &amp;quot;0xc000000e - Windows boot manager Error&amp;quot; then Win7 is still querying the above registry key. Did you run FOGprep.exe before shutting the master image down for the last time?&lt;br /&gt;
&lt;br /&gt;
==== FOG 0.32 &amp;amp;amp; Later ====&lt;br /&gt;
FOG versions 0.32 and later incorporates the clearing out of the &amp;quot;HKLM\SYSTEM\MountedDevices&amp;quot; keys so no longer require FOGprep to be run before uploading the image.&lt;/div&gt;</summary>
		<author><name>Noktis</name></author>	</entry>

	</feed>