Create media for automated unattended install of Windows 10  

Page 75 of 99 FirstFirst ... 2565737475767785 ... LastLast

  1. Posts : 11
    W10
       #740

    I tried every combination possible lol.. Black, IP address as the domain, no domain, user name and password to the root account..

    I ended up working around it anyway. Instead I had the data image just bring a few files across that mapped the static IP to a drive. The scripts then mostly just pull what they need from the NAS now :)
      My Computer


  2. Posts : 4,187
    Windows 11 Pro, 22H2
       #741

    Drwaffles90, If your goal is to install from the network, why not consider making use of the MDT (Microsoft Deployment Toolkit)?

    Here is yet another fantastic tutorial from Kari on that topic:

    Microsoft Deployment Toolkit - Easy and Fast Windows Deployment
      My Computers


  3. Posts : 10
    W10 LTSC 2019 x64/W10 PRO21H1 modified by mee
       #742

    Wow, what a fantastic work, congratulations for everything and for sharing with us your vast knowledge thank you very much
      My Computer


  4. Posts : 4,187
    Windows 11 Pro, 22H2
       #743

    Zebulon, I strongly urge you to check out Kari's other tutorials as well. He has a lot of them, and like this tutorial, they are all of the highest quality. It's amazing how much I have learned from them.
      My Computers


  5. Posts : 11
    W10
       #744

    I'll look at that in future :)

    Honestly because the project evolved over time.. I originally wanted it portable, and wanted to avoid buying a NAS and switch, and this was easier...
      My Computer


  6. Posts : 2,667
    Windows 11 21H2 (22000.593)
       #745

    Zebulon said:
    Wow, what a fantastic work, congratulations for everything and for sharing with us your vast knowledge thank you very much
    hsehestedt said:
    Zebulon, I strongly urge you to check out Kari's other tutorials as well. He has a lot of them, and like this tutorial, they are all of the highest quality. It's amazing how much I have learned from them.

    ^^^^ This. The tutorials here are all of top quality, not just Kari's - but he does have the lion's share (alongside Brink, of course).
      My Computers


  7. Posts : 4,187
    Windows 11 Pro, 22H2
       #746

    John, I agree. There are so many fantastic tutorials here. It wasn't my intention to say that other tutorials are any lower in quality. To be a little more precise I should have indicated that many of Kari's tutorials are great works on similar topics involving the deployment of Windows 10.

    It's merely that this is a topic I'm particularly fond of so I've gotten MANY hours of enjoyment from them
      My Computers


  8. Posts : 2,667
    Windows 11 21H2 (22000.593)
       #747

    Nope - I know that I was merely extending your complimentary remarks to all tutorials here.
      My Computers


  9. Posts : 10
    Windows 10
       #748

    Hello. I`ve made a few posts in this thread in the past and got a follow up issue, hope someone could advise.

    So I made a sysprep using this tutorial which works great. There are a few issues with the company that supposed to deploy the image. The outcome - some PCs they ship to various institutions got no LAN drivers (and 0 other drivers and other updates) because Windows 10 20H2 cant see the network hardware on some new models

    The machines are useless unless local technician comes with external USB drive and installs LAN driver.

    I am considering creation of a bunch of sysprep images on specific machines models that will be deployed to exactly the same hardware.

    On a reference machine I have to:

    1. Format and install fresh Windows 10. Install drivers, download all available updates from Windows Update. Install required software and make minor system tweaks.

    2. Run sysprep keeping local admin user, keeping all my changes, settings and drivers. No new user creation needed. No OOBE needed.

    3. Capture the disk with Acronis, this is a must. Image must be .tib format.

    Basically I need to sysprep a machine with minimum changes: keep the user as is, keep all drivers etc. The only thing sysprep should take care of is SID reset and set unique PC name.

    Should all this be done in Audit Mode? Do I need to set /oobe key?

    Could someone please share a tutorial for such task? Or maybe help out with answers file?

    I know this is not the right way but this is the requirement and I`m trying to see if this can be done with minimum issues on deployed machines.
      My Computer


  10. Posts : 4,187
    Windows 11 Pro, 22H2
       #749

    There is no need to create a bunch of different sysprep images. You can simply inject the drivers that you need into your existing image.

    Before I begin the detailed instructions, I suggest that you have the Windows ADK installed and that all the commands below be run from an elevated "Deployment and imaging tools environment" command prompt.

    Also, I suggest reading through this entire procedure as there are tips near the end that may modify the steps that you take in this procedure.

    NOTE: You reference TrueImage. This entire procedure is geared toward modifying a Windows image and injecting the drivers that you need into that image. If that does not suit your needs, make sure to see SECTION 2 below where I have an idea for an alternate method of deploying your drivers without needing to inject the drivers into your Windows image. I'm not really familiar with TrueImage (been a long time since I used it), so hopefully something here at least gives you ideas you can use.

    Begin by mounting the INSTALL.WIM file for your sysprep image. A sysprep image usually has only 1 index so I'm using index #1 in the below example. In this example substitute the correct paths in place of these:

    C:\ISO_Files\Sources\install.wim <-- This is the location of the INSTALL.WIM file. Typically I use C:\ISO_Files as the location where I extract the entire ISO image to.
    C:\Mount <-- This is where I wish to mount the WIM file so that I can make changes to it.

    Here then is the command to run:
    Code:
    Dism /Mount-Image /ImageFile:C:\ISO_Files\Sources\install.wim /Index:1 /MountDir:C:\Mount
    To add a single driver use one of these commands:

    Next, for signed drivers, use this command:
    Code:
    dism /Image:C:\Mount /Add-Driver /Driver:C:\Drivers\DriverName.inf
    For unsigned drivers, use this command:
    Code:
    dism /Image:C:\Mount /Add-Driver /Driver:C:\Drivers\DriverName.inf /ForceUnsigned
    If you have a folder that has multiple drivers in multiple subdirectories, you can add all of them to your image like this (use in place of the command above):
    Code:
    dism /Image:C:\Mount /Add-Driver /Driver:C:\Drivers /Recurse
    Once the drivers have been added using any of the above, unmount the image like this:
    Code:
    dism /Unmount-Image /MountDir:C:\Mount /Commit
    Now, re-create your Windows image with the newly updated INSTALL.WIM.

    Here is an example of re-creating the ISO image file. Be careful with the syntax of this command; there are spots in this command where you might expect a space but none is present.
    Code:
    oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,bc:\iso_files\boot\etfsboot.com#pEF,e,bc:\iso_files\efi\microsoft\boot\efisys.bin c:\iso_files c:\Win10PROx64.iso
    Replace the 3 occurrences of c:\iso_files with the correct path to where your files are located. Also, replace the c:\Win10PROx64.iso at the end of command with the correct path and name for the output file that you want to save. If that path contains spaces, enclose it in quotes.

    TIPS:

    When you add drivers, the .INF for the driver must be available for the above procedure to work. If you have a single driver in .CAB file format, you will need to extract it first. Here is an example of how to do this:

    At your command prompt, change to the directory where your CAB file is located and then run these 2 commands:
    Code:
    md .\extracted
    expand .\driver.cab -f:*.* .\extracted
    The extracted driver will now be available in the "extracted" subdirectory.

    It is possible to inject ALL drivers needed for system into your image file. By doing this, all the drivers will be installed on the system during Windows installation. Note that it is perfectly fine to install drivers from multiple systems into your image. During setup, Windows will install the drivers appropriate for the system onto which you are installing. As an example, I have a single sysprep image with all the drivers for all of my systems. When I install my sysprep image on any of my systems, all the drivers for that system get installed automatically.

    To do this, follow these steps:

    Setup a system with all the correct drives for that system.
    From an elevated command prompt on that system, run this command:
    Code:
    pnputil /export-driver * C:\ExportedDrivers
    Now, simply use the steps above to inject these drivers into the image using the option for injecting multiple drivers and recursing all subdirectories.

    SECTION 2: An alternative way to install your drivers without injecting them into your image.

    As noted earlier, the steps above are all geared toward updated a Windows Image (sysprepped or not). If you are going install Windows not through the normal Windows unattended setup mechanisms, but using TrueImage, consider creating your image to include a RunOnce section and point that to a batch file located on your install media (flash drive).

    An advantage of this is that you won't need to modify your image and that you can make changes by simply changing that batch file at any time. You can even omit that batch file or leave it empty to take no action.

    In the batch file, simply include a line like this:
    Code:
    pnputil /add-driver D:\ExportedDrivers\*.inf /subdirs /install
    This will install all drivers from the D:\ExportedDrivers folder, recursing all subdirectories. In this example, I'm making the assumption that D: is the flash drive.

    I hope that all of this at least sparks some ideas for you!
      My Computers


 

Tutorial Categories

Create media for automated unattended install of Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:00.
Find Us




Windows 10 Forums