Installing Windows 7 over PXE Network Boot Server on RHEL/CentOS 7 using WinPE ISO Image – Part 2

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

95 Responses

  1. hurelhuyag says:

    Can I automate net use K: \\IP_of_share\path_to_share /user: your_share_user your_share password command?

  2. ARIHANT says:


  3. Tim Stipdonk says:

    Very nice guide but when I launch the pxe boot it hangs at wpeinit, tried goggling but could not find a working solution. Have you come across this issue?

  4. Barani says:

    Hi Matei,

    This works perfect for me. Thanks!

    Now I have newer motherboards and the network don’t work. I think I have to include the NIC drivers for those board. Can you tell how to do that?

  5. Steven Mercurio says:

    Is there a way to specify an unattend.txt answer file? Ideally I’d like to build the winpe to then get a just in time generated unattend.txt file from my katello/satellite6 server. My goal is to build win systems using Satellite that have puppet installed and use puppet for ALL post install work. The new systems would use a Satellite/katello capsule as the puppet master.

  6. Ricardo Alexander Lopez Medina says:

    I have followed your guide, and well I have found some things to comment, and help this guide have the success that is expected, Then what I found and how to solve it:

    1.The file dnsmasq.conf, this line should be corrected dhcp-option=6,,, that my ip dns, use your property ip.

    2. In the case of the Samba server, if you have SELinux active as it should be my recommendation is to use these three additional commands so as not to inconvenience once you want to access from windows to the samba server.

    # setsebool -P samba_export_all_rw=1 samba_enable_home_dirs=1
    # setsebool -P samba_export_all_ro=1
    # setsebool -P samba_export_all_rw=1

    3. I had problems with the pxe when capturing the iso image, so I decided to make a change to use the same samba server to do the capture, leaving the menu as follows.

    #  nano /var/lib/tftpboot/pxelinux.cfg/default
    label 1
    menu label ^1) Install Windows 7 x32/x64
    KERNEL memdisk
    INITRD winpe_amd64.iso method=file:///
    APPEND iso raw
  7. Evie zacky says:

    I would like to ask, after successfully configure linux in part 1 After that run on this step, the problem of windows installed Windows Automated Installation Kit it belong to? for sure in the previous step we just configure linux

  8. Ted says:

    What if i have an ISO file with both architectures 32 and 64 bits? is there a way to make one WinPE with that?

    • Matei Cezar says:

      No, I don’t think will work, after all you can’t run both architectures at the same time when you generate the PE image.

  9. Matei Cezar says:

    Check permissions on the share, reboot the system, verify or turn off windows firewall and antivirus, check credentials, make sure the client has enough memory.
    Try to use the command as shown here:
    net use K: \\IP_of_share\path_to_share /user: your_share_user your_share password

  10. John says:

    Hi, used win 10 PE image, trying to install server 2012 over pxe.
    net use command gives the error: 58 the specified server cannot perform the requested operation
    Any help would be appreciated.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

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