WDS boot image Need another boot image with extras
#1
Posted 26 August 2009 - 08:54 AM
I found a great fix that can be run in WDS before imaging and it makes the rest seamless.
http://social.technet.microsoft.com/Forums...a5-db8af038fb0c
What I would like to do is integrate the commands into a new boot.wim. So ideally when we PXE boot to wds, it will allow me to select Dell or HP; just like it does when we enable the capture boot wim. Since I didnt create the original boot wims im a little stumped. I see there is just one boot.wim and the rest (including our capture) is boot.wim.bcd . Any pointers on how to create a new boot option that can run a script before logon would be helpful!
If im going about this all wrong let me know too ) Thanks again MSFN!
#2
Posted 26 August 2009 - 12:43 PM
Open up WDS, and right click on the Boot Images container, and add new image. When you select your file, and hit next, you get to a part where you can change the description/name of the image. Type what you want in there and when its done, hit finish. You will then have two images in Boot Images.
When you PXE from a client, it will go to a menu, and the descriptions you typed in will appear as the selections.
My test WDS has 4 boot images, so the clients on there see 4 items:
Win PE v2.1 (x86)
Win PE v3.0 (x64)
Vista x86 Setup
Server 2008 x64 Setup
#3
Posted 26 August 2009 - 02:04 PM
Now, I can AIK mount that wim to edit it to make the changes that I need. However, i just cant wrap my head around how i can force that script to run. It will boot to the deployment screen, but i want to force the following to run before we log in to deploy an image.
DISKPART
SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY
EXIT
EXIT
*Edit - essentially i want to run an autoexec.bat when the boot image loads.. but dont know where to put it.
This post has been edited by MarkAtWag: 26 August 2009 - 02:21 PM
#4
Posted 26 August 2009 - 07:36 PM
#5
Posted 27 August 2009 - 02:43 PM
I tried with just the startnet.cmd , putting
wpeinit
DISKPART /S X:\windows\system32\deploy.txt
deploy.txt has SELECT DISK 0 ,CLEAN, EXIT.
I never saw the command prompt come up, and I can tell it didnt run.
--
I tried the winpeshl.ini way, (cleared out startnet.cmd except for wpeinit)
So in winpeshl.ini i have
[LaunchApp]
[LaunchApps]
X:\Windows\System32\deploy.cmd
same thing, didnt run.
If I Shift+F10 and search under windows\system32 I do not see my files , yet if i unmount the image and browse it I see them all. - i know im booting and mounting to the correct ones.
I'll bake a pie for anyone who leads me to solve this =)
#6
Posted 27 August 2009 - 10:47 PM
try using
x:\windows\system32\DISKPART.exe "/S X:\windows\system32\deploy.txt"
#7
Posted 28 August 2009 - 11:17 AM
[LaunchApp] [LaunchApps] x:\windows\system32\DISKPART.exe "/S X:\windows\system32\deploy.txt"
but not luck. I'm wondering if somehow the WDS part of my WinPE is loading first (Install Windows screen) even though i have winpeshl file in system32.
#8
Posted 28 August 2009 - 01:20 PM
#9
Posted 28 August 2009 - 01:51 PM
Edit: side note, i also thought that i might need to install some packages, like
peimg /install=WinPE-Scripting-Package D:\winpe_x86\mount\Windows
i get the 0x80070002 error - only thing i could think it because its mounted on D, and AIK installed on C - just a thought
This post has been edited by MarkAtWag: 28 August 2009 - 01:59 PM
#10
Posted 31 August 2009 - 10:02 AM



Help
Back to top









