Solved

net use command

Posted on 2013-02-06
2
500 Views
Last Modified: 2013-02-06
I'm setting up a simple batch file to setup my network drives. in the past i have used the /persistent switch. At one of the places i worked, /persistent:no seemed to be better for when laptop users were offsite. I think what was happening was the /persistent:no switch would keep windows from continuously trying to connect to network shares that didn't exist when they where offsite.
So my question is, does the persistent:yes switch make windows keep looking for a share, and does the :no option make windows not look for the share?
0
Comment
Question by:JeffBeall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 38859687
If a drive is mapped "persistent", it means that if the drive is still mapped when the user logs off, Windows will try to reconnect it automatically when the user logs on the next time.
If persistence is off, Windows will forget about it once the user logs off.
If you're mapping automatically(?) with a batch script anyway, using "/persistent:yes" is sort of redundant.
0
 
LVL 1

Author Closing Comment

by:JeffBeall
ID: 38859826
thank you, that is a good explanation. so i think i'll use persistent:no, so windows doesn't try to connect if I am "offline"
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question