Help - Search - Members - Calendar
Full Version: BartPE - Loading a program on startup - Need Help
MSFN Forums > Unattended Windows Discussion & Support > Windows PE

   


Google Internet Forums Unattended CD/DVD Guide
ribuck
Hi all,

I'm a complete Newbie to BartPE. could someone explain how I launch a program on startup. I've had a look at the autorun folder and renaming the .cmd files as the forums suggest, but it just doesn't seem to want to work.

Could somone give me an example of a plugin folder which autoruns an .exe file on startup.

Any help would be greatly appreciated, as my boss is really riding my a** on this one.

Thanks,
Ribuck.
koszopal
go to pebuiler site and read there smile.gif
check for example a penetcfg plugin smile.gif
koszopal
nilsmf
Hi! I had the same problem, both with BartPE and boss, and here's how I solved it after peering helplessly at the rather unhelpful help files for help. huh.gif

Include the "Startup groups" plugin in your build. This is our ticket. The help file says to put your autorun_1.cmd file in the %systemroot%\System32 directory, but doesn't tell you how to get it there. A test build showed that %systemroot% on the CD was named the same as the directory where my Windows install files resides. In my case this was C:\i386, so %systemroot% on the bootable CD became \i386.

So I made a directory for inclusion in BartPE. Under this directory I made a directory tree \i386\System32, and put a file named autorun_1.cmd in System32. And it actually ran on boot. thumbup.gif Well, it did after I remembered to include the directory in PEbuilder. blushing.gif

"Can I go home now boss? No? Still more testing to do on the scripted install? Yes, boss, I'm on it..."

Ah, well, you can't win. confused.gif But you can definitely run a program when BartPE boots.

Nils




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.