Ghost Solution Suite

 View Only
Expand all | Collapse all

how to get Prompt for username/pass with map drive boot disk ?

  • 1.  how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 02:26 PM

    I am setting up a boot disk with boot wizard.  Suite 2.5

    I can map and it works with my username/pass but I really need is for a Prompt to come up for that.  There will be others that use the CD, our passwords expire, security issues keep me from wanting to use a set UN/pass.

    Is there a way to do this ? 

    I left the un/pass box's blank and put the server name in but it just ignored it and never did anything with the mapping.

    Jimbo



  • 2.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 02:31 PM

    On the Review screen in the GBW where you can edit the files, do you see a "net use" command in there?

     

    An example of what you would want is:

     

    net use g: \\server\share

     

    if you have:

     

    net use g: \\server\share /user:user.name password

     

    then remove everything from the /user up.



  • 3.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 02:48 PM

    Here is what is there:  I am taking out the " /user:" and will try again.

    Configuration Files:

    START.BAT:

    set path=%path%;x:\ghost

    net use P: \\perseus\img /user:

    x:

    cd \ghost

    rem --- This will create primary OS drive configuration ---

    ghost32.exe /setosdrives /blind >> x:\ghost\startlog.txt

    start ghost32.exe



  • 4.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 04:51 PM

    OK.  On one old pc it's works.  I get a dos prompt for username - then I hit enter and get prompt for password - I can see the letters and the cursor moves with the username but with the password the cursor never shows anything and doesn't move - BUT - it must be taking it becasue I get past that and the main window comes up.

    When I choose to Disk to Image I can see the server and get to all the folders just fine.

    But - when I tried it in a Lenovo laptop it never comes up asking me for UN/pass.  It just goes to the main screen with no server listed.

    Any idea's ?

    Thanks for your help by the way !



  • 5.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 05:00 PM

    Ok. Tried it on another laptop, Toshiba M5.  Worked fine.

    So far just the Lenovo T500 won't prompt correctly.

    any idea's why ?

    I'm looking at the BIOS but don't see anything that would stop this.

    Jim



  • 6.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 05:05 PM

    Jimbo007 wrote:

    OK.  On one old pc it's works.  I get a dos prompt for username - then I hit enter and get prompt for password - I can see the letters and the cursor moves with the username but with the password the cursor never shows anything and doesn't move - BUT - it must be taking it becasue I get past that and the main window comes up.


    If this is happening, try typing in a bad user name, I'm willing to bet it will still work. If it still connects to the share with a bad user name and no password, then it means the security on the folder is set to "Everyone" and you will need to fix that.

     

    Another option is to remove ghost from the auto start, instead make a batch file that asks for the user name and password, does the net use command, then starts ghost. Something like:

     

     

    Configuration Files:

    START.BAT:

    set path=%path%;x:\ghost

    x:

    cd \ghost

    rem --- This will create primary OS drive configuration ---

    ghost32.exe /setosdrives /blind >> x:\ghost\startlog.txt

    custom.bat 

     

    @echo off
    echo "Enter user name "
    set /p UserName=

    echo "Enter password"

    set /p Password=

    net use P: \\perseus\img /user:%UserName% %Password%

    start ghost32.exe

     

    Not sure if this will work right "out of the box" but something like this should work. It will be kind of annoying due to the fact that you will need to modify each disk/ISO you make to add these in, but easily done.



  • 7.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 08:08 PM

    It works better and I like the format better but haven't had a chance to try in the Lenovo yet.  I will and then let you know.....

     

    A couple minor questions....

    there is a statement that comes up with all the rest that says the "custom.bat" command was not recognized as a proper command ?  Make any sense ?

     

    Also - is there a way to make the password, when typed in, show ***** instead of the actual letters ?

    Some command in the Bat file ?

     

     



  • 8.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 08:21 PM

    The "custom.bat" should have been removed, it was from when I was drafting the script. Just take it out.

     

    As for the password, I'm not the best with DOS scripting, so while there may be a way I do not know it. Maybe one of the Symantec people here know of one, I think James Lee knows a bit more about this than I do.

     

    Did you check security on the share? Make sure it does not say "Everyone" or the username/password will be pointless.



  • 9.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 11, 2009 08:24 PM

    Positive about the security on the share.  The net admin would have a fit !

     

    Thanks !

     

    Jim



  • 10.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 12, 2009 02:53 PM

    Well the Lenovo T500 prompts me for UN/pass but doesn't connect to the network drive. 

    There is a dos box that flashes very quickly before the prompts come up.  It's too quick to stop/pause (if it would even pause).  Maybe there is an error message in that but it goes by so fast I can't see.

    What command can I insert to show all the dos boxes with out having them go away ?

    Is it Echo On ? instead of Echo Off ?

     

    I'm going to find the drivers for the Lenovo and put them in the boot package.  Maybe that's the main issue but I just can't see the error message.

    Any idea's ?

     

    Jim



  • 11.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 12, 2009 02:55 PM
    yes, on the computer your having troubles with, type ipconfig and let me know if an ip address shows up. If it does not then it's a problem with the drivers. All you do then is add them into GBW and remake the disk.


  • 12.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 12, 2009 03:04 PM

    When the GUI comes up I minumize it and use the dos command ipconfig - It just returns with "Windows IP Configuration"  not IP or subnet or any list.

    Driver ?  Probably



  • 13.  RE: how to get Prompt for username/pass with map drive boot disk ?

    Posted Feb 12, 2009 04:19 PM

    If you want to see the error message just exit out of ghost and run x:\ghost\start.bat, or you can run the "net use..." command yourself, but odds are it's the drivers.

     

    The correct drivers for your T500 are the same ones I have instructions for here:

    https://forums.symantec.com/syment/board/message?board.id=109&message.id=20024#M20024

     

    Please note I have 2 messages on this post.