Go Back   Velocity Reviews > Newsgroups > Microsoft Certification
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Microsoft Certification - Re: Login Script

 
Thread Tools Search this Thread
Old 04-03-2004, 04:22 AM   #1
Default Re: Login Script


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:9EC483F4-E96C-4AAC-9203-...
> 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
  Reply With Quote
Old 04-09-2004, 06:23 PM   #2
RMachado
 
Posts: n/a
Default Re: Login Script

@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" <don-t-spa-m-me@lea-ve-me-a-lone--.com> 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:9EC483F4-E96C-4AAC-9203-...
> > 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.
> >
> >

>
>



  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump