Jump to content











Photo
- - - - -

HELP! Auto mapping drives! Drivers! and Startup folder!


  • Please log in to reply
12 replies to this topic

#1 SuiDog

SuiDog
  • Members
  • 6 posts
  •  
    United States

Posted 11 August 2008 - 05:37 PM

Ok. So far I'm really liking this product, but I'm having a lot of trouble figuring out some really simple things that were cake with BartPE. Can someone help me?

*****1) Why can't I just find an easy way to automatically map a drive. I've searched the forums and mostly I have found programs that map manually after boot. With BartPE I just edited the startnet and it worked. As far as I can tell you can't do that with v12.3. I like the map drive program and know I will use it so I modified the map drive plugin and created an automapdrive.cmd. I repackage and reattached the files to the plugin. I can run the batch file (which contain just a simple net use command) manually from the x:\Program Files\MAPDRIVE\ dir after it's started but it doesn't autorun like it should.

I added the following to the plugin

AddPostConfig,"Map Drive","%ProgramFiles%\MAPDRIVE\AutoMapDrive.cmd",,2,

but it doesn't run.

*****2) With version 3.1.10a (and some previous) I was able to quickly add drivers to my PE by just dumping them into a driver folder and when I built my CD they would automatically be added to the disk. It sounds like with the latest version you are the verge of this or maybe I'm mistaken and you can do this already. If so please let me know how.

*****3) I used XPE for BartPE (most did). I was able to easily add items to the desktop and start menu (even more so when I started using reatogo). Is there a method for adding items to the start menu/startup folder using BSexplorer? I'm having a hard time even finding the syntax to add items to the startup folder.

This product is awesome and using the winbuilder is really nice. The only thing I'm worried about is driver support.

Any help on any of these topics would be great.

Suidog

#2 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 12 August 2008 - 05:31 AM

I attached here a driver add script and an automap script (both have never been released before, so please test them and post your findings:-))

To use the new scripts you need the latest winbuilder. get it from here (just winbuilder.exe needs to be copied over your vistape installation)

Adding Startmenu and desktop item works by Add_Shortcut see here http://vistape.net/vistape-api.html

This works the same way for bsexplorer and explorer shell..

Attached Files



#3 SuiDog

SuiDog
  • Members
  • 6 posts
  •  
    United States

Posted 12 August 2008 - 10:18 PM

Thank you very much! I'm going to test both of these out. Question.. for the drivers will it search sub-folders also? I would like to keep the current "Drivers - *" plugins but I want anything I put in the folders to be used instead. Should I run this plug after that so if I have an updated driver it will take precedence? If so, do I just need to rename the plugin in the script to do that?

Sui

#4 SuiDog

SuiDog
  • Members
  • 6 posts
  •  
    United States

Posted 12 August 2008 - 11:46 PM

Well it looked like both plugins worked for me. I did have to make one change to the automapdrive plugin. I use a domain account to map my drive where you had it hard coded to use the server name. Thanks for the great plugins.

The only thing now I need is the ability to password protect the boot. On my bartpe I had the press any key but it was then followed by a password prompt. (I used the bcdw plugin v2.0a1 which allow you to specify a password). I've searched the forums but most of the info is on grub4dos. I don't see a way to add a pasword to it. Any help on this would be appreicated.

Sui

p.s. is there way to prebuild the infcache? would that speed up the boot process?

#5 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 13 August 2008 - 05:51 AM

infcache does not help with vistape 12

please post the changes you made to the automap script, i will add domain settings to mine too

password protection can be done with the shell, but i never used it...there exists a script for that

#6 SuiDog

SuiDog
  • Members
  • 6 posts
  •  
    United States

Posted 13 August 2008 - 05:38 PM

Here is the updated script. I only changed a few lines of code. If you want to know what they are I can post.

I've searched the forums but can't find the password thing. I did find some stuff about BDCW but I can't find a script that shows me how it might be done. Any help would be great!


Suidog

Attached Files



#7 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 13 August 2008 - 06:04 PM

look here

there exsists a combobox script which can set a pwd for the bootet shell...but i never used it...not sure if it works ok with vpe12b3

#8 SuiDog

SuiDog
  • Members
  • 6 posts
  •  
    United States

Posted 13 August 2008 - 10:34 PM

Had a look at that. It look like it comes up after PE boots. Not really what I'm looking for. I was looking for password protection right after I do the "press any key to boot" option. Got any other suggestions?

#9 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 14 August 2008 - 05:06 AM

hmm, i believe grub4dos does not support paswords, so you could use bcdw with vistape but this is a bit of work ...

#10 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 19 August 2008 - 02:29 PM

hmm, i believe grub4dos does not support paswords, so you could use bcdw with vistape but this is a bit of work ...


WRONG belief! ;)

Read here :whistling::
http://www.boot-land...?showtopic=2984

Of course, if there are security concerns, adding a password protection MUST be done in grub4dos, otherwise one can access it's command line and boot virtually anything....;)

jaclaz

#11 SuiDog

SuiDog
  • Members
  • 6 posts
  •  
    United States

Posted 19 August 2008 - 04:28 PM

I was hoping to find a script that could automate it. Like have a password check box and auto encrypt the password.

Sui

#12 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 20 August 2008 - 06:22 AM

as far as i know this does not yet exist...i may do something like this, but right now i do not have the time, sorry..

#13 wbfei

wbfei
  • Members
  • 3 posts
  •  
    Singapore

Posted 30 August 2008 - 02:45 PM

Hi, I tried to add the following line to the automap script, so that it can launch hdtune automatically,
AddPostConfig,"hdtune","z:\hdtune.exe","",4
but it does not work. Assume I mapped the network drive as Z drive. I have a file hdtune.exe in the Z drive. How do I launch the hdtune immediately after the automap script is executed. Do I need a separate script for that?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users