Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Configuring Raid controllers in boot.wim


  • Please log in to reply
9 replies to this topic

#1
lamaii

lamaii

    Newbie

  • Member
  • 17 posts
  • Joined 05-November 11
  • OS:Windows 7 x86
  • Country: Country Flag
Hi all new to the forum and was hoping to get some assistance on a problem I’m having.

I’m trying to get the boot.wim file to configure an Adaptec raid controller before the windows 7 installation starts. I can inject the drivers & command line interface files and the script I need to create the raid container, but for the life of me I cannot figure out how to get the boot.wim file to run any commands before the win7 installation.


How to remove advertisement from MSFN

#2
arwidmark

arwidmark

    Member

  • Member
  • PipPip
  • 105 posts
  • Joined 22-December 05
  • OS:none specified
  • Country: Country Flag
The best way (IMHO) is to use the Microsoft Deployment Toolkit (MDT) to deploy your images. It has ready made functions (sequences) to allow you to do your commands before, and after deployment. In addition it also provides driver injections, admin UI, application installs and update... It's totally free, just download from www.microsoft.com/deployment.

Then you can download (or view online) the following free video tutorials on how to set it up.

Videos from the MDT 2010 Lite Touch - Unleashed series

/ Johan
Regards

Johan Arwidmark
Microsoft MVP - Setup / Deployment

#3
lamaii

lamaii

    Newbie

  • Member
  • 17 posts
  • Joined 05-November 11
  • OS:Windows 7 x86
  • Country: Country Flag
Thanks for the link I will take a look at the software and go through the videos.

#4
lamaii

lamaii

    Newbie

  • Member
  • 17 posts
  • Joined 05-November 11
  • OS:Windows 7 x86
  • Country: Country Flag
Had a play with MDT and I cannot get it to do what I need. I've got a fully Automated Win7 installation and that is all working fine. Currently all deployments are done off DVD's, I do have plans to move to WDS but the company I work for is FDA audited and making changes to how we build systems takes time due to the testing and documentation required.

I've got a boot.wim file which I have injected all the required drivers & applications. The boot.wim file is a standard MS Windows 7 boot.wim from an install disk.

All I need it to do is run a .cmd file before setup starts, but for the life of me I just cannot figure it out.

#5
iamtheky

iamtheky

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 849 posts
  • Joined 11-November 08
what about making it the first thing done in startnet.cmd, then calling your install from there?
iamtheKy

#6
lamaii

lamaii

    Newbie

  • Member
  • 17 posts
  • Joined 05-November 11
  • OS:Windows 7 x86
  • Country: Country Flag
Yer, I've got an old PE disk that uses startnet.cmd then runs an XP OS setup.

On a standard boot.wim you have the 2 images PE & Windows setup, I take it that if I make changes to the startnet.cmd on the "Windows setup" wim then that will be processed prior to windows setup starting?

#7
iamtheky

iamtheky

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 849 posts
  • Joined 11-November 08
i would assume so, though none of my boot.wim(s) are exactly standard but we use startnet to verify the system and initiate our custom deployments since its the first thing to fire.

Edited by iamtheky, 10 November 2011 - 10:25 AM.

iamtheKy

#8
lamaii

lamaii

    Newbie

  • Member
  • 17 posts
  • Joined 05-November 11
  • OS:Windows 7 x86
  • Country: Country Flag
So after a week of head scratching I finaly looked into the registry and found the Winpeshl.exe, so changed that to startnet.cmd. Now able to dump all pre-installing commands I need then re-run the Winpeshl.exe at the end of the file.

Thanks for your help.

#9
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 10,007 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

FYI, WinPE will ignore the startnet.cmd file if there is anything in the winpeshl.ini.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#10
ceylongreats

ceylongreats
  • Member
  • 1 posts
  • Joined 03-December 13
  • OS:Windows 7 x64
  • Country: Country Flag

Tell me how did you use Winpeshl.exe to load raid configuration and the tool you guys used to do it.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users