Jump to content

connect WinPe to network.


mdnchauhan

Recommended Posts

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

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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