Re: net use

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
>
>
>
.



Relevant Pages

  • Re: cannot open logon script
    ... then, when I tried to edit the logon scripts, that is when i got those ... I tried to edit some of my logon script, but i got error message: ... Can't tell - you need to post the exact command & file name ...
    (microsoft.public.windows.server.general)
  • Re: Problem with installing "client.msi" manually
    ... logon scripts should be ran with the capinst.exe and the right command ... but again should post to a sms newsgroup. ... > This one works perfect...if you are local Admin on your Win XP machine. ...
    (microsoft.public.sms.installer)
  • Re: net use
    ... > i have logon scripts for all users to map various drives and printers. ... > I would like to use 1 common script if possible but the following command ...
    (microsoft.public.win2000.networking)
  • Re: Mapped network drives not showing in Explorer!
    ... Not sure if this will solve it, but configure "run logon scripts ... MCSE, CCEA, Microsoft MVP - Terminal Server ... > doesn't show the mapped network drives (mapped during logon ... > it's just that explorer dos not show them. ...
    (microsoft.public.windows.terminal_services)
  • net use
    ... i have logon scripts for all users to map various drives and printers. ... can i get Windows 2000 and XP machines to disable/disconnect these mappings ...
    (microsoft.public.win2000.networking)