Re: net use
- From: BigDWhite <bigdwhite@xxxxxxxxx>
- Date: Mon, 22 Aug 2005 10:19:05 -0700
Awesome, thanks.
Never found that in MSKB either.
--
Thanks for the help.
Big D
"Pegasus (MVP)" wrote:
>
> "BigDWhite" <bigdwhite@xxxxxxxxx> wrote in message
> news:FFACCFE8-3B83-45E8-81B3-947EAF479816@xxxxxxxxxxxxxxxx
> > Hello all,
> >
> > i have logon scripts for all users to map various drives and printers. how
> > can i get Windows 2000 and XP machines to disable/disconnect these
> mappings
> > at log off? Is there a Policy Setting to do this? I can't find it if so.
> >
> > I would like to use 1 common script if possible but the following command
> > requires a response i don't want offered to users:
> > net use * /delete
> >
> > An error occurs and nothing happens with piping the y.
> > echo y | net use * /delete
> >
> > Performing a /delete for each mapping will be labor intensive since my
> > system requires individual logon scripts.
> >
> > --
> > Thanks for any help.
> > Big D
>
> The command
>
> net use * /del /yes
>
> will disconnect all network drives without a prompt.
> A more elegant solution might be to prevent the
> workstations from remembering past connections,
> by including this line in your logon script:
>
> net use /persistent:no
>
>
>
.
- References:
- net use
- From: BigDWhite
- Re: net use
- From: Pegasus \(MVP\)
- net use
- Prev by Date: Re: Connecting to Multiple networks
- Next by Date: Logically Multihomed not working with resource sharing
- Previous by thread: Re: net use
- Next by thread: can obtain ip address but cannot ping router
- Index(es):
Relevant Pages
|