Topic: Newbie question - adding network drivers and getting network connectivity  (Read 2233 times)

tsherr

  • Jr. Chef
  • **
  • Date Registered: Nov 2013
  • Posts: 23
Hello all,
  I'm new to Win7PE SE (I've used UBCD4Win and BartPE for a long time).  I'm trying to build a bootable stick that will load the proper network and mass storage drivers so I can connect to my network and access files from a shared location (it'd be really cool if I could setup the mapping at boot as well).

  I tried adding the Driver packs drivers, but when I boot and click on the Driver Packs install icon, it sits for about five minutes and then bluescreens (0x0000007e), so clearly I'm doing something wrong.

  If someone has some pointers or a link to a tutorial that explains how to do this, I'd really appreciate it.

Thanks,

T

Re: Newbie question - adding network drivers and getting network connectivity
« Reply #1 on: November 21, 2013, 03:43:18 PM »

whorled

  • Apprentice
  • *
  • Date Registered: Nov 2013
  • Posts: 9
Greetings

I haven't been doing this very long either, but what you are trying to do is already working for me so maybe I can help.

I started with the Small package.  Just used the default settings, made the iso, and tested it in a vm, it worked.  penetwork automatically detected my virtual intel 1000 lan card and installed networking.  Have you tried that?  I didn't have to load any drivers to get the lan up

As far as mapping drives, I use a simple script for that,  there is a file in system32 called autorun.cmd, I add a line to run my script after the last command there (before 'end').

this is what is working for me, I'm sure there are many other ways to go about it and someone will offer some alternatives:

Code: [Select]

@echo off

:offline
sleep 1
if not exist "\\192.168.2.139\nas" goto :offline

net use n: \\192.168.2.139\nas
call nas.vbs

nas.vbs is a script to relabel the share so it doesn't have the ip in the name in explorer:

Code: [Select]

mDrive = "n:\"
Set oShell = CreateObject("Shell.Application")
oShell.NameSpace(mDrive).Self.Name = "nas"


there are different methods to edit autorun.cmd, the simplest for you at first might be to wait until the build finishes, then go to the Win7PE_SE\Target\Win7PESE\Windows\System32 folder in winbuilder, make the edit, then use the 'Create new Target Image and ISO' button in Finals | PostConfig to make a new iso that has your edits without doing a complete rebuild (which would remove your edits in that folder).  You can also add your script into the system32 folder there if you want for testing, or use the Additional Files option for both files to preserve them thru rebuilds

hth







Re: Newbie question - adding network drivers and getting network connectivity
« Reply #2 on: November 21, 2013, 03:55:26 PM »

whorled

  • Apprentice
  • *
  • Date Registered: Nov 2013
  • Posts: 9
hmm, no 'edit' feature here that I see...someone called on the phone with an urgent issue while I was trying to get that posted and I typed 'end' instead of 'exit'.  silly.
my script has an 'exit /b' at the bottom too, that didn't make it in the code box, it was down at the bottom below some other code.  sorry for any confusion, I don't multitask very well

Re: Newbie question - adding network drivers and getting network connectivity
« Reply #3 on: November 22, 2013, 04:23:24 AM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
hmm, no 'edit' feature here that I see

Edit post will start to work one you have 10 posts. It's just a spam protection measure of the forum software.

Regards,
Galapo.

Re: Newbie question - adding network drivers and getting network connectivity
« Reply #4 on: November 22, 2013, 05:15:26 PM »

whorled

  • Apprentice
  • *
  • Date Registered: Nov 2013
  • Posts: 9
ah, of course.  makes sense.  thank you Galapo

 

Powered by EzPortal