Windows Vista Forums

SBS_LOGIN_SCRIPT.bat
  1. #1


    mido1971 Guest

    SBS_LOGIN_SCRIPT.bat

    hi, and sorry for may bad english

    when i boot the client the SBS_LOGIN_SCRIPT.bat create a map drive i thing
    with latter Z i need to change it

    how can i change map drive from z to y in client pc
    i try NET USE Y: \\server\...\setup /s but it dosent change any thing in
    the client



    thanks for help




      My System SpecsSystem Spec

  2. #2


    Larry Struckmeyer [SBS-MVP] Guest

    Re: SBS_LOGIN_SCRIPT.bat

    Hi Mido:

    On the SBS, use search to find the sbs*.bat file. Specify hidden files and
    folders. There are two of them, but they are in replicated folders, so only
    need to edit one.

    Make a copy somewhere in case of later issues. Do not skip this step.

    Open it with notepad.... that is, right click - "edit".

    Make the required changes.

    Save the file, verify that .txt has not been added to the end, as in
    ..bat.txt

    Below is a sample: One removes and replaces the mapped drives to avoid the
    error that the drive is already mapped. You can use this to stop mapping the
    z drive, as in:

    if exist z: net use z: /delete

    after everyone has logged on, you could then remove or rem out the remove z
    line.

    _______
    echo on

    rem:map P drive for Line of Business App

    if exist P: net use P: /delete

    net use P: \\sbs-server\petro /persistent:yes
    _______

    --
    Larry
    Please post the resolution to your
    issue so that others may benefit.

    Get a Health Check for SBS at:
    www.sbsbpa.com


    "mido1971" <mido1971@newsgroup> wrote in message
    news:C3CD03F5-F478-4989-93C1-E62EFCEF7EC3@newsgroup

    > hi, and sorry for may bad english
    >
    > when i boot the client the SBS_LOGIN_SCRIPT.bat create a map drive i
    > thing
    > with latter Z i need to change it
    >
    > how can i change map drive from z to y in client pc
    > i try NET USE Y: \\server\...\setup /s but it dosent change any thing in
    > the client
    >
    > thanks for help
    >
    >
    >

      My System SpecsSystem Spec

  3. #3


    Merv Porter Guest

    Re: SBS_LOGIN_SCRIPT.bat

    If the user's profile was migrated from SBS 2000 to SBS the 2003, the Home
    Folder may be mapped to drive Z. If the user was created new on the SBS
    2003, no drive mapping is created. Drive mapping is not part of the
    SBS_Login_Script, rather it is a function of the setting in the Profile tab:

    Server Management | Users | <rt. click a user> | Properties | Profile | Home
    Folder | Connect

    Change the mapping to Y:

    BTW... your English is just fine. :-)

    --
    Merv Porter [SBS-MVP]
    ============================

    "mido1971" <mido1971@newsgroup> wrote in message
    news:C3CD03F5-F478-4989-93C1-E62EFCEF7EC3@newsgroup

    > hi, and sorry for may bad english
    >
    > when i boot the client the SBS_LOGIN_SCRIPT.bat create a map drive i
    > thing
    > with latter Z i need to change it
    >
    > how can i change map drive from z to y in client pc
    > i try NET USE Y: \\server\...\setup /s but it dosent change any thing in
    > the client
    >
    > thanks for help
    >
    >
    >

      My System SpecsSystem Spec

  4. #4


    Dave Nickason [SBS MVP] Guest

    Re: SBS_LOGIN_SCRIPT.bat

    I still map Z that way for all my users as I create accounts. IMO when
    you're working on a client PC, it's super handy to have a network location
    to park stuff temporarily for backup or to copy it to another PC. A couple
    of power users like it themselves, but I use it all the time.


    "Merv Porter" <mwport@newsgroup_spam_hotmail.com> wrote in message
    news:eQNxxbkUKHA.1372@newsgroup

    > If the user's profile was migrated from SBS 2000 to SBS the 2003, the Home
    > Folder may be mapped to drive Z. If the user was created new on the SBS
    > 2003, no drive mapping is created. Drive mapping is not part of the
    > SBS_Login_Script, rather it is a function of the setting in the Profile
    > tab:
    >
    > Server Management | Users | <rt. click a user> | Properties | Profile |
    > Home Folder | Connect
    >
    > Change the mapping to Y:
    >
    > BTW... your English is just fine. :-)
    >
    > --
    > Merv Porter [SBS-MVP]
    > ============================
    >
    > "mido1971" <mido1971@newsgroup> wrote in message
    > news:C3CD03F5-F478-4989-93C1-E62EFCEF7EC3@newsgroup

    >> hi, and sorry for may bad english
    >>
    >> when i boot the client the SBS_LOGIN_SCRIPT.bat create a map drive i
    >> thing
    >> with latter Z i need to change it
    >>
    >> how can i change map drive from z to y in client pc
    >> i try NET USE Y: \\server\...\setup /s but it dosent change any thing in
    >> the client
    >>
    >> thanks for help
    >>
    >>
    >>

      My System SpecsSystem Spec

SBS_LOGIN_SCRIPT.bat problems?