Jump to content

Recommended Posts

Posted

Hi all,

How can I connect my machine to network while booting with WinPE so that I can access the files from LAN or from any ftp:// server?

In my application I make an ISO image and burn it to a CD, when machine boots from CD my application executes.

Please guide me about the commands and the settings that I need to do at the time of creating ISO image so that I can get connected to network when boot the machine from CD.

Please provide me some guidelines.

Thanks

Regards

Madan Chauhan


Posted

If you have added the appropriate network drivers to your PE boot image, the only thing you need is for wpeinit to run which it should already be as it is run by default.

Posted

Connecting to your network is done in the startnet.cmd. Your basic commands:

wpeinit
wpeutil initializenetworking
(add a ping command here if experiencing hardware delays)
net use z: \\server\share password /user:user
program.exe

There are certain boards that have a timing delay, so in my startnet, I have added a 16 second delay. This is done by running a ping for that time. Then I map my drive letters (I actually map to two different servers), for images and files. Then launch my program. My program is designed to look at certain drive letters for things, in my case, I have hardcoded the Z: into my program.

Hope this helps.

Also, you can manually map drives if you wish via the command prompt (or launch cmd.exe). I'm not sure about FTP, I don't think that service runs by default.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...