Re: Login Script

Discussion in 'Microsoft Certification' started by DalePres, Apr 3, 2004.

  1. DalePres

    DalePres Guest

    Here's a great scripting site. There are some really good login script
    samples.

    http://cwashington.netreach.net/

    Hope it helps,

    Dale

    "Rafay Aslam" <> wrote in message
    news:...
    > I want to write a Login script, so that when user login, they get the

    network drives and printers.
    > But i want to do first is in the script is ,.. before it map any drive,

    script should disconnect any mappped network share that mapped to that Drive
    Letter that i want to use.
    >
    >
     
    DalePres, Apr 3, 2004
    #1
    1. Advertising

  2. DalePres

    RMachado Guest

    @echo off

    @echo.
    @echo Deleting existing drives.....
    net use z: /delete /yes >null
    net use y: /delete /yes >null
    @echo.
    @echo Mapping drives.....
    net use z: \\server\share1 /persistent:no >null
    net use y: \\server\share2 /persistent:no >null
    "DalePres" <> wrote in message
    news:#...
    > Here's a great scripting site. There are some really good login script
    > samples.
    >
    > http://cwashington.netreach.net/
    >
    > Hope it helps,
    >
    > Dale
    >
    > "Rafay Aslam" <> wrote in message
    > news:...
    > > I want to write a Login script, so that when user login, they get the

    > network drives and printers.
    > > But i want to do first is in the script is ,.. before it map any drive,

    > script should disconnect any mappped network share that mapped to that

    Drive
    > Letter that i want to use.
    > >
    > >

    >
    >
     
    RMachado, Apr 9, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QUo=?=

    Login Script

    =?Utf-8?B?QUo=?=, Jun 14, 2005, in forum: Wireless Networking
    Replies:
    2
    Views:
    2,251
    =?Utf-8?B?QUo=?=
    Jun 21, 2005
  2. Paul

    login script not running

    Paul, Nov 3, 2005, in forum: Wireless Networking
    Replies:
    2
    Views:
    6,796
  3. Brendon Rogers

    Re: Login Script

    Brendon Rogers, Apr 1, 2004, in forum: Microsoft Certification
    Replies:
    0
    Views:
    512
    Brendon Rogers
    Apr 1, 2004
  4. =?Utf-8?B?PHNjcmlwdD5hbGVydCgpOzwvc2NyaXB0Pg==?= a

    <script>alert();</script>

    =?Utf-8?B?PHNjcmlwdD5hbGVydCgpOzwvc2NyaXB0Pg==?= a, Apr 13, 2004, in forum: Microsoft Certification
    Replies:
    0
    Views:
    7,872
    =?Utf-8?B?PHNjcmlwdD5hbGVydCgpOzwvc2NyaXB0Pg==?= a
    Apr 13, 2004
  5. nadiralishah
    Replies:
    0
    Views:
    1,213
    nadiralishah
    Jan 6, 2008
Loading...

Share This Page