0

I have iPXE working to boot the Win10 installer. Problem is: after it boots to the installer, I have to do the following:

net use s: \\192.168.250.74\pxe\boot\Win10lts bar /user:foo
s:\sources\setup.exe

Then, the installer starts over, and I can install Windows.

I need to have this be an automatic process for when a user in the field needs Windows re-installed. I do not have the patience (and they don't have the time, and in some cases lack the skill / interest) to open a command prompt, run these commands, and then run the installer.

I feel like I should be able to update the boot.wim file with DSIM to add some sort of autoexec.bat that will do this upon boot.

If I can solve this problem, all I need is an answer file, which I can handle, and we can do re-installs in the field overnight for remote employees.

Dave M
  • 4,494
  • 21
  • 30
  • 30
DrDamnit
  • 348
  • 4
  • 16

1 Answers1

0

The top entry in Google for "winpe autorun script" is Wpeinit and Startnet.cmd: Using WinPE Startup Scripts

You can add customized command-line scripts in Windows PE by using Startnet.cmd. By default, Windows PE includes a Startnet.cmd script located at %SYSTEMROOT%\System32 of your customized Windows PE image.

RalfFriedl
  • 3,008
  • 4
  • 12
  • 17
  • Had I searched for that instead of autoexec.bat, I would have found it. Problem was: I didn't know to search for that. Everything is easy to find if you know what to search for. – DrDamnit Sep 24 '18 at 22:06