Create Windows 10 Image for Deployment with FOG Server

Alright, time to tackle Part 2 of this huge Guide: Create Windows 10 Image for Deployment with FOG Server. Now that we have our FOG Server up and running, it’s time to create our Generalized Windows 10 Image with Sysprep and capture it with our FOG Server for Deployment. This guide will also work for Windows 11!

Table of Contents

Downloading the Windows Image

First things first: Download Windows 10 with the Windows 10 Download Tool. Make sure you create an ISO File.

Before you start

  • Make sure that the VM you are going to install Windows 10 on, or the physical computer, has NO INTERNET CONNECTION UNTIL WE ARE IN AUDIT MODE! This is extremely important because Windows might activate itself in the installation process, given an active Internet Connection.
  • Don’t enter a product key obviously
  • Once we are booted into Audit Mode, we will re-enable the Internet Connection to Download the Windows ADK and software we want to install.

Keep Microsoft’s Reimaging Rights in mind to Create Windows 10 Image for Deployment with FOG Server!

Thanks to a Reddit User who pointed that out: To create a Golden Image with Windows 10, you need to have 1 single Volume License for this particular Image.

You can learn about this here.

Part 1: Installing Windows 10 in a VirtualBox VM

Start VirtualBox and click on New to create a new Virtual Machine.

Give it a descriptive Name and select Windows 10 64-bit.

Now allocate as much RAM as you could spare. 2GB is enough, 4 is better.

Create a Virtual Hard Disk Now.

Choose VDI as a Hard Disk File Type

I’ll opt for Dynamically Allocated.

And I’ll keep the File Size at the Recommended 32,00GB. This highly depends on what you plan to install on the image, so if you want to install lots of software, adjust the size accordingly.

You can also choose a different location where you want to save the VDI file by clicking on the folder next to the Name of the VM.

Next, we need to make sure that the Internet Connection is disabled.

Select your Windows 10 General Image and click on Network.

Uncheck Enable Network Adapter and click on Ok.

Now start your Virtual Machine.

Select the Windows 10 Image you downloaded earlier by clicking on the little Folder Symbol.

Now normally follow through the Installation Process. When you are getting asked for a key, click on I don’t have one. (excuse the German screen, I just have the German image)

On the next screen select Custom Installation.

Select your only Hard Drive and click next.

Now let the installation run through until you come to the first dialog after all the reboots are done, don’t press anything!

Part 2: Entering Audit Mode

After the reboots are done, this should be the first screen you will see: (as of August 2019)

Now press CTRL + SHIFT and then hit the F3 key. Windows will now reboot into Audit Mode.

Click on Cancel on the first Dialog. That’s the Sysprep Dialog that pops up automatically, but we’ll do that later manually.

Part 3: Re-Enabling the Internet Connection

Now we can safely re-enable our Internet Connection to Download the ADK.

You can shut down your Windows 10 now, it will automatically boot up in Audit Mode again. We need to shut it down to re-enable the network connection.

After it’s shut down, select your VM and click on Network again.

Enable either Bridged Mode or NAT, both will work.

Start your VM again. After it’s booted up, cancel the Sysprep Dialog again.

One more side-step we can take for our convenience before is to install the VirtualBox Guest Additions. So we will be able to copy & paste stuff from our Host Computer to our VM. This is optional but recommended.

Simply click on Devices and Insert Guest Additions CD Image…

After that, open your CD Drive and run the Installation.

Simply follow through with the installation and agree to install everything you’re asked to.

Reboot your computer.

Cancel the Sysprep Dialog once more.

Click on Devices again, select Drag & Drop and Choose: Bidirectional

You will be able to Copy & Paste Link Addresses and Drag & Drop Files from your Host Computer to your VM.

Part 5: Installing the Windows ADK

Now open INTERNET EXPLORER, not Edge. Edge will not work here.

Go to this link: https://msdn.microsoft.com/en-gb/windows/hardware/dn913721.aspx

And Download the Windows ADK.

You should download Windows ADK for Windows 10 Version 1903, or whatever the newest version will be.

You can find out which Windows Version you have here.

Click through the routine leaving everything on default (Except maybe if you don’t want to send anonymous data to Microsoft, untick that), until you come to the part where you can choose what to install.

Uncheck everything except Deployment tools:

Create Windows 10 Image for Deployment with FOG Server

Finally, click on Install.

Alright, after this is done we can start customizing Windows.

Optionally, you can take a Snapshot of the machine state now (Recommended!) to revert to a fresh installation state later if you need to.

Part 6: Customizing Windows

First I will tell you what you can customize:

  • Desktop Icon Spacing and Sizes.
  • File Explorer Settings
  • Screensaver
  • Windows Wallpaper
  • Windows Icons, Sounds, Themes, and Colors

All those settings, when modified in Audit mode, will be saved in the Default User Profile. Meaning, that every user that you will add to this machine later (Even Domain Users), will have those settings applied to them. It works very well in a Domain environment, too.

Now you can also go ahead and Install every Software you want to have available on your General Image.

For Example:

  • Office
  • VLC Player
  • Antivirus
  • etc

You can go to Ninite.com to make the installation easier.

Now we are going to also install the FOG-Client.

I assume that you won’t have just one single Laptop or Desktop Model but several different ones. That’s where the FOG Client comes into play. It allows you to use whatever Computer Model you want.

Just open HTTP://<Your Fog Server IP>/fog/client or simply open an instance of your FOG-Server in the web browser and find “Fog Client” on the bottom of the page. Download the Smart Installer.

Enter the IP address of your FOG Server and leave Web Root as default, except you changed the default Web Root, of course. Then deselect  “FOG Tray” to hide the FOG symbol from the taskbar, so the user can’t see it.

Install FOG Server

After you got everything installed, I would recommend you change the computer name to something less generic.

Just hit the Windows Key and type: Name

Select Show Computer Name and change it to something descriptive.

Create Windows 10 Image for Deployment with FOG Server

Reboot your system. Cancel the Sysprep Dialogue one more time.

Part 7: Creating an Answer File

Now we need to create our Answer file that tells Sysprep what kind of changes we want to have applied to our Image.

First, we need to put back our Windows 10 Image into our VM, so Sysprep can access the installation medium.

Click on Devices -> Optical Drives and Select your Windows 10 Image again.

Open an Explorer Window and open the Windows 10 Image. Select all files and copy them.

Create Windows 10 Image for Deployment with FOG Server

Create a new folder in C:\customize\Win10 and paste the files in there.

Converting install.esd to install.wim

Now we need to convert the install.esd file to a install.wim file so we can use it for creating our answer file.

Press your Windows Key once more and type “Powershell”. Right-click Powershell and select Run as Administrator. Run the following command next:

dism /Get-WimInfo /WimFile:C:\customize\Win10\sources\install.esd

Now depending on which Windows 10 Version you want to install, you need to choose the correct index number in the next step. Look at the image below.

Create Windows 10 Image for Deployment with FOG Server

Once you have the number noted, in my case, it’s “5” for Windows 10 Professional, we are going to create our install.wim by running:


dism /Export-Image /SourceImageFile:C:\customize\Win10\sources\install.esd /SourceIndex:5 /DestinationImageFile:C:\customize\Win10\sources\install.wim /Compress:Max /CheckIntegrity

Make sure to adjust the command with your own SourceIndex Number! And make sure the path is the same for Source and Destination.

Creating the Answer File using Windows System Image Manager

Open Windows System Image Manager by pressing the Windows Key and typing it’s name. Click on File -> Select Windows Image and choose the C:\customize\Win10\sources\install.wim file we just created (Sorry for the German Screenshot). Select YES in the following dialogue. If you get an error message, follow the updated instructions below.

Create Windows 10 Image for Deployment with FOG Server

Update August 2019 (Only if you have problems with the step above)

I regularly go through my tutorials and see if they still work. It seems to be that Windows 10 version 1903 requires an update of the Windows System Image Manager (WSIM). Gladly, the process is really easy.

  1. Download this file and extract it
  2. Press the Windows Key, type CMD, right-click the command line, and select “Run as administrator”
  3. Navigate to the path where you have extracted the file, for example, C:\Users\Administrator\Downloads\WSIM1903
  4. Type:
UpdateWSIM.batCode language: CSS (css)
Generalized Windows 10 Image

This should solve all problems.

Creating a Distribution folder

Create a Folder called Distribution in C:\customize\ and within this Folder create 4 Subfolders:

  • $OEM$
  • LangPacks
  • Out-of-Box Drivers
  • Packages
Create Windows 10 Image for Deployment with FOG Server

Next back in Windows System Image Manager Click on File -> Select Distribution Share. Select the Distribution folder we just created and click on Ok.

Next click on File -> New Answer File.

If you just want to create an answer file and manually run through the Windows installation each time you pull your FOG Image to a new client, you can just go ahead and continue with saving the file. If you want to fully automate your installation process, I can recommend this article which helps you to fully automate your Windows 10 installation. I won’t cover all those steps here.

Click on Tools -> Validate Answer File when you are ready.

From here on you can save your file by selecting File -> Save Answer File -> C:\customize\customize.xml

Create Windows 10 Image for Deployment with FOG Server

If you want to learn how to hide this Customize Folder so your users don’t see it, I got you covered!

Alright, finally we have everything set up and we are able to run Sysprep!

Part 7.5 (OPTIONAL): Remove last used Folder / Files

Because we last used our customize.xml file, the user who logs in after the Image was applied to a machine, will still see this file in the last used file section of the Windows Explorer. To prevent that, we can implement a little script that will remove that.

The script will just run once and delete itself after.

To do that, navigate to %appdata%\Microsoft\Windows\Start Menu\Programs\Startup and create a file called runonce.bat , make sure the file extension is correct and not .txt. Edit the file and paste the following code:

echo Y | del %appdata%\microsoft\windows\recent\automaticdestinations\*
del %0Code language: PHP (php)

This will solve the problem.

Part 8: Running Sysprep

Make sure you have everything set up as you want it to be. This will generalize your image.

TAKE A SNAPSHOT NOW! You can later revert back to this snapshot in case you want to change software, update windows, modify your answer file, and so on.

After taking a Snapshot, you can go ahead and delete the C:\customize\Win10 folder to save you some disk space, or, you remove it later after installing the image on a client.

Hit the Windows Key, type in: cmd, and right-click Run As Administrator.

Create Windows 10 Image for Deployment with FOG Server

Navigate to the Sysprep directory by typing:

cd c:\Windows\System32\Sysprep

Stop Windows Media Networking Service to avoid errors during Sysprep by typing:

net stop wmpnetworksvc

It never was actually started for me, but it might be for you. Just do it to be safe.

Now we start Sysprep. After running the command, Sysprep will prepare the Image, DO NOT DO ANYTHING WITH THE COMPUTER WHILE SYSPREP IS RUNNING!

sysprep.exe /generalize /oobe /shutdown /unattend:C:\customize\customize.xml
Create Windows 10 Image for Deployment with FOG Server

After Sysprep is finished, shut down your computer if it doesn’t do it by itself.

Congratulations, now you have your Generalized Windows 10 Image.

Anytime you want to do changes on this image, like update Windows, Install new Software, change Software, or whatever, just go back to that one Snapshot you took before running Sysprep, make changes, and run Sysprep again.

Part 9: Capturing our Image with FOG Server

Alright, finally time to get our FOG Server back into play!

Make sure your FOG Server is running, if you set everything up correctly, we should be done in no time now!

First, log in to your FOG Web Interface and head to Images.

Create Windows 10 Image for Deployment with FOG Server

Click on Create Image and adjust everything like in my screenshot.

Create Windows 10 Image for Deployment with FOG Server

It might sound a bit counter-intuitive, but you have to first create an Image in the Database of FOG to be able to capture it. I had to wrap my head around it at first too.

Alright, time to register our Windows 10 host in FOG:

Select your Windows 10 VM and click on System. Make sure you have Network Boot Enabled in your VM and it’s on position #1.

One more thing, make sure that Legacy Boot (not UEFI) is enabled on whatever computer you want to capture or deploy. I think FOG supports UEFI already but I haven’t looked into it yet.

Create Windows 10 Image for Deployment with FOG Server

Fire up the client and you should end up in your PXE Boot Environment.

Choose Perform Full Host Registration and Inventory.

Create Windows 10 Image for Deployment with FOG Server

Questions and Answers during the process:

  • Enter the hostname for this computer:
    • Enter your hostname, for example, Win10General
  • Enter the image ID to associate with the computer
    • Confirm with Enter
  • Would you like to associate this host with groups?
    • N
  • Would you like to associate this host with snapins?
    • N
  • Would you like to… a product key to this host?
    • N
  • Would… Join a domain?
    • N
  • Enter the primary user for this computer:
    • Confirm with Enter
  • Enter other tag #1
    • Enter
  • Enter other tag #2
    • Enter
  • Would you like to deploy the image to this computer now?
    • N

Phew… Questions over questions.

Now your Win10 General Image is registered in your FOG-Server.

Power off your VM after the registration process is finished and the machine attempts to reboot.

Part 10: Capturing our Image

Bear with me guys, just a few more steps and we are golden.

Back to your FOG-Server Web Interface.

Head to Hosts -> List All Hosts and click on your Win10General Host.

Create Windows 10 Image for Deployment with FOG Server

In case your host is not listed under its hostname, you can simply network boot your Win10General VM once again and look up its MAC Address, then rename it in FOG:

Create Windows 10 Image for Deployment with FOG Server

After you select your host, choose your Windows 10 General Image that you created earlier.

Don’t mind the different names on the screenshots, just select what you created.

Create Windows 10 Image for Deployment with FOG Server

Click on Update.

When that’s done, Navigate to Task Management -> List All Hosts and click on Capture next to your Win10General Host.

Create Windows 10 Image for Deployment with FOG Server

Head back to the System tab in your VirtualBox VM. You should now have Network on first and Hard Disk on the second position:

Create Windows 10 Image for Deployment with FOG Server

Now start your VM. The Image Capturing process starts automatically.

After the capturing process is finished, just switch off your Win10General Host until you need to have some changes done on it again. It can rest for now.

Head over to Images and click on All Images in your FOG-Server Web Interface.

If all went well, you should now see that your Win10General Image grew to a certain size.

Create Windows 10 Image for Deployment with FOG Server

This means that the capture task was completed successfully.

Part 11: Deploying the Image

You probably have guessed it by now.

The Deploying process is very simple now. I won’t step-by-step screenshot it for you because if you have followed through with everything before, it should be a breeze for you.

  1. Boot a new client via PXE Boot.
  2. Perform a Full Host Registration.
  3. Choose a Hostname
  4. You can now already decide if you want to associate an Image ID with this computer. Press ? to list all Image IDs and choose the one you would like to deploy. You can also NOT do this and associate an Image with the host registration via FOG-Web Interface. You select the Host, associate the Win10General Image to it and head to Task Management, and choose Deploy Image. That’s way more steps, so I always opt for Associate Image ID with this computer already here.
  5. On the last question of the registration process: Would you like to deploy the Image to this Computer now? You choose Yes.

That’s it. Now FOG will deploy the Image to your computer fully automatic.

I hope those last steps are clear. It’s far easier to just associate an Image ID within the Host Registration Process than to do everything via the Web Interface. Saves a ton of time.

Conclusion Create Windows 10 Image for Deployment with FOG Server

This was Create Windows 10 Image for Deployment with FOG Server. If you stick around until here, congratulations, you have a fully operational, FREE Imaging solution up and running! We have been using FOG for a while now and we are still very satisfied with how easy it is once it’s running.

ADDITIONAL INFORMATION REGARDING WINDOWS SERVER DHCP + EXTRAS

Thanks to the User “ICT” below in the comments, I can share a bit of additional information with you regarding the whole setup with Windows Server and a couple of other options.

He pointed out:

Great tutorial, with a few bugs for me and a last question to you.
Question: Does this also work for multicast, I can’t configure it. Multicast does the job but after Windows boots, I get the error in the Windows installation that something has gone wrong…

Bugs and answers:
– If you work with Windows Server DHCP, please activate in DHCP Scope Options 66 with value ip-address fogserver and 67 with value undionly.kpxe
– Choose in VirtualBox also with Clipboard for bidirectional
– Install on the client Fog Client and uncheck enable Fog Tray and give the Server IP-address in the box on top
– If you work with Windows Education, replace in the Answer file with Education and not EDU

Thanks again, buddy!

More additional Windows Server DHCP Information from another reader, Dylan P.:

Hi Stefan, I followed your guide for the setup and configuration of FOG with a Windows 10 Pro image and I have been using Windows Server to handle DHCP with virtual machines to run FOG and capture the deployment image. It really took some time to get the DHCP server policies setup correctly and I wanted to share some of the specifics that I have been using with the hope of benefiting others that may be having similar issues.

Note: Option 66 and 67 need to be enabled for PXEClient:Arch:00000 (DHCP Manager > T310-Demo.TestRealm.lcl > IPv4 > Policies > PXEClient:Arch:00000 > Options > DHCP Standard Options > …) FOG DHCP Settings https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence

—————————————

Expand DHCP server Right click IPv4 Select Define vendor classes Click Add Repeat for each of the following: PXEClient:Arch:00000 PXEClient:Arch:00002 PXEClient:Arch:00008 PXEClient:Arch:00009 PXEClient:Arch:00007

—————————————-

Expand DHCP server Expand IPv4 Right click Policies Select New Policy Name/Desc: Allow UEFI PXE handout Click Next Click Add Criteria: Vendor Class Operator: Equals Value: Select each of the following, check Append Wildcard, and Click Add PXEClient:Arch:00007* PXEClient:Arch:00008* PXEClient:Arch:00009* Click Ok Click Next Select Option 067 from DHCP Standard Options Set String Value to: ipxe.efi

—————————————-

Right click Policies Select New Policy Name/Desc: PXEClient:Arch:00000 Click Next Click Add Criteria: Vendor Class Operator: Equals Value: Select each of the following, check Append Wildcard, and Click Add PXEClient:Arch:00000 Click Ok Click Next Select Option 067 from DHCP Standard Options Set String Value to: undionly.kpxe

—————————————-

Name/Desc: i386 EFI boot Click Next Click Add Criteria: Vendor Class Operator: Equals Value: Select each of the following, check Append Wildcard, and Click Add PXEClient:Arch:00002* PXEClient:Arch:00006* Click Ok Click Next Select Option 067 from DHCP Standard Options Set String Value to: i386-efi/ipxe.efi

—————————————-

Thank you, Dylan!

24 thoughts on “Create Windows 10 Image for Deployment with FOG Server”

  1. For automating tasks AFTER you deploy your image… You are going to want to look over the link below to refresh yourself on creating an AutoUnattend.xml file that will run your firstlogoncommands script. Along with that link, I have included the resources that helped my FOG environment succeed. I tried to keep things in order, if not for @MylesOSS, then for the next person reading this.

    I started doing all automation through FOG, but then found it easier to create powershell scripts that are setoff by changing the “RunOnce” registry entry. From there you can chain custom automated software installations, defaults, etc. I really think that powershell is the way to go. So once you get your “firstlogoncomand” running correctly in your autounattend.xml as well as your auto-logon chain, everything becomes easy as 1-2-3. Below are links to good resources to get done what needs be done. I also included snipets of script that I found to work.

    unattended win10 install
    https://www.windowscentral.com/how-create-unattended-media-do-automated-installation-windows-10
    ————–

    en-US
    en-US
    en-US
    en-US

    Central Standard Time

    true
    true
    true
    true
    3

    UAA0AHMAcwBXADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=
    false

    localadmin
    Administrators
    localadmin

    asdfasdfasdfasdfasdfasdf
    false

    true
    1
    localadmin

    C:\folder\FirstLogonCommands.bat
    1
    false
    FirstLogonCommands

    ——————————-

    ###script to auto login and edit runonce registry###
    https://social.technet.microsoft.com/wiki/contents/articles/33682.powershell-enable-windows-auto-logon-at-next-boot.aspx

    ###example autounattend.xml###
    https://forums.fogproject.org/topic/12227/fog-sysprep-windows-10-1803/16

    ###firstlogoncommand.bat###
    start /wait %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -noprofile -file C:\folder\yourscript1.ps1
    —————-

    ###yourscript1.ps1###
    # Join domain DN
    Start-Sleep -Seconds 2
    $domain = “DN”
    $password = “domainpassword” | ConvertTo-SecureString -asPlainText -Force
    $username = “$domain\domainuser”
    $credential = New-Object System.Management.Automation.PSCredential($username,$password)
    Add-Computer -DomainName $domain -Credential $credential -OUPath “~yourpath~”

    # set next autologon
    Set-AutoLogon -DefaultUsername “localadmin” -DefaultPassword “password” -AutoLogonCount “1” -script “powershell.exe -ExecutionPolicy Bypass -NoProfile -file C:\folder\yourscript1.ps1”
    Start-Sleep -seconds 3

    # Reboot the computer
    Restart-Computer
    ———————-

    ###yourscript2.ps1###
    Start-Sleep -seconds 2
    # Rename the computer to serial number
    $serial_number = (get-ciminstance -class win32_bios).SerialNumber
    Rename-Computer -NewName $serial_number

    # set next autologon
    Set-AutoLogon -DefaultUsername “localadmin” -DefaultPassword “password” -AutoLogonCount “1” -script “powershell.exe -ExecutionPolicy Bypass -NoProfile -file C:\folder\yourscript2.ps1”
    Start-Sleep -seconds 3

    # Reboot the computer
    Restart-Computer

    ~~Cheers,
    ~~Nelson

    Reply
  2. You are going to want to look over the link below to refresh yourself on creating an AutoUnattend.xml file that will run your firstlogoncommands script. Along with that link, I have included the resources that helped my FOG environment succeed. I tried to keep things in order, if not for you, then for the next person reading this.

    I started doing all automation through FOG, but then found it easier to create powershell scripts that are setoff by changing the “RunOnce” registry entry. From there you can chain custom automated software installations, defaults, etc. I really think that powershell is the way to go. So once you get your “firstlogoncomand” running correctly in your autounattend.xml as well as your auto-logon chain, everything becomes easy as 1-2-3. Below are links to good resources to get done what needs be done. I also included snipets of script that I found to work.

    unattended win10 install
    https://www.windowscentral.com/how-create-unattended-media-do-automated-installation-windows-10
    ————–

    en-US
    en-US
    en-US
    en-US

    Central Standard Time

    true
    true
    true
    true
    3

    UAA0AHMAcwBXADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=
    false

    localadmin
    Administrators
    localadmin

    asdfasdfasdfasdfasdfasdf
    false

    true
    1
    localadmin

    C:\folder\FirstLogonCommands.bat
    1
    false
    FirstLogonCommands

    ——————————-

    ###script to auto login and edit runonce registry###
    https://social.technet.microsoft.com/wiki/contents/articles/33682.powershell-enable-windows-auto-logon-at-next-boot.aspx

    ###example autounattend.xml###
    https://forums.fogproject.org/topic/12227/fog-sysprep-windows-10-1803/16

    ###firstlogoncommand.bat###
    start /wait %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -noprofile -file C:\folder\yourscript1.ps1
    —————-

    ###yourscript1.ps1###
    # Join domain
    Start-Sleep -Seconds 2
    $domain = “DN”
    $password = “domainpassword” | ConvertTo-SecureString -asPlainText -Force
    $username = “$domain\domainuser”
    $credential = New-Object System.Management.Automation.PSCredential($username,$password)
    Add-Computer -DomainName $domain -Credential $credential -OUPath “OU=Computers,OU=DN,DC=dn,DC=LOCAL”

    # set next autologon
    Set-AutoLogon -DefaultUsername “localadmin” -DefaultPassword “password” -AutoLogonCount “1” -script “powershell.exe -ExecutionPolicy Bypass -NoProfile -file C:\folder\yourscript1.ps1”
    Start-Sleep -seconds 3

    # Reboot the computer
    Restart-Computer
    ———————-

    ###yourscript2.ps1###
    Start-Sleep -seconds 2
    # Rename the computer to serial number
    $serial_number = (get-ciminstance -class win32_bios).SerialNumber
    Rename-Computer -NewName $serial_number

    # set next autologon
    Set-AutoLogon -DefaultUsername “localadmin” -DefaultPassword “password” -AutoLogonCount “1” -script “powershell.exe -ExecutionPolicy Bypass -NoProfile -file C:\folder\yourscript2.ps1”
    Start-Sleep -seconds 3

    # Reboot the computer
    Restart-Computer

    Reply
  3. Has anyone got any thoughts about also having all of the following done automatically after the re-image is finished? Would love to know how to get this to happen: skip oobe, create local admin account, auto join domain.

    Reply
  4. To save space, can the .esd file be deleted from “C:\customize\Win10\sources\install.esd” once the desired .wim file has been generated?

    Reply
  5. very good tutorial , so i have a question :
    1.i already install debian on my computer , can fog format disk and install w10 ?
    2.i want to create 2 partition C and D how can i do it ?

    Reply
  6. Question on this, but first, THANK YOU. I’ve been able to successfully set this up following your instructions. Only change I’ve made it using VMware instead of VirtualBox (I could never get hardware to boot after capturing image from VBox).

    My question is, how do you guys keep Windows updated? I’ve taken snapshots right before I generalize the image, so I’m able to go back and keep the answer file as configured.
    Would you go back to this snapshot and perform a Windows update?

    Reply
  7. Any tips on how to deal with multiple models of workstation all using OEM keys? There is no volume license so taking these workstations from Win7 to Win10 goes via the USB upgrade path offered by Microsoft. Unfortunately this also means that a generalised image fails to activate windows after the re-imaging process is finished. An image for each workstation would be quite hectic. Any ideas?

    Reply
  8. Hi Stefan. I wanted 3 partitions, because having disk C and D is wise. I have set the second partition size of 102500 and added the 3rd partition as extended, set up the modify partitions accordingly, but why when I deploy the image to a new PC, there are no disk C and D ? There’s a big 500 Gig Local Disk. It means that it didn’t even renamed the C drive as Windows, as you proposed in tutorial.

    Reply
  9. Great tutorial! Thanks! Is there any particular reason for it to be done through VM though? I’ve got lots of workstations that range in models so require different drivers etc.. Can I use this method by running sysprep locally after doing clean installs on those machines or would I be missing something crucial by doing it that way? Thanks in advance.

    Reply
  10. Thanks great tutorial!! now I want to use a default taskbar and default app associations is there a way to do this in sysprep?

    Reply
  11. Thank you very much for sharing your experience. One note: sysprep freezed the whole vm after view secounds (Win 1803, Vbox 5.1.8). Tried installing guest-tools. Problem still exists. After some tests: it seems the activated network produced the freeze. Shutting down the vm before syspreping it and disabling the LAN-Adapter solved the problem. (I additionally catched the mouse-pointer in the vm instead of not catched , I don´t think this has any impact, only for information.) Now I can run as many syspreps I like 😉

    Reply
  12. Hi ceos3c

    I follow your tutorial everything was ok. But when I use the golden image on a computer (HP or ACER) I stay blocked on black screen with „Host is registered as XXX“ and loop on the option boot from hard disk….

    I use FOG 1.5.4

    Reply
  13. Great tutorial! Some options have change with the last version of FOG, but still easy to use.

    I just want to add that the current version of VirtualBox (5.2.12) can’t boot to network in EFI mode. I learned it after some hours of searching why it wouldn’t work.

    Reply
  14. Great tutorial, I just have one question. I saw this on the wiki pages:
    ———
    If you plan to use Sysprep before image capture and are also planning to use the FOG Client, You must disable the FOGService service from running at boot before you Sysprep to take your image, and then re-enable it within your SetupComplete.cmd file so that it is re-enabled after the image deployment is complete.

    Failing to do so will break the Sysprep post-deployment process with an error message that says “Windows Setup could not configure Windows to run on this computer’s hardware.”
    ———
    Source: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client
    Chapter: FOG Client with Sysprep

    I was just wondering, what is that all about, you didn’t seem to disable this service in your tutorial. I can’t remember, but I don’t think I got the message: “Windows Setup could not configure Windows to run on this computer’s hardware”

    Reply
  15. Great tutorial, with a few bugs for me and a last question to you.
    Question: Does this also work for multicast, I can’t configure it. Multicast does the job but after Windows boots, I get the error in the Windows installation that something has gone wrong…

    Bugs and answers:
    – If you work with Windows Server DHCP, please activate in DHCP Scope Options 66 with value ip-address fogserver and 67 with value undionly.kpxe
    – Choose in VirtualBox also with Clipboard for bidirectional
    – Install on the client Fog Client and uncheck enable Fog Tray and give the Server IP-address in the box on top
    – If you work with Windows Education, replace in the Answer file with Education and not EDU

    Thanks for the great tutorial!

    Reply
  16. I cant boot in pxe. I keep getting

    Downloaded WDSNBP from 192.168.1.10 WDS.contoso.com

    Press F12 for network service boot

    Windows Deployement Services: PXE Boot Aborted

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link