Solved

net use command

Posted on 2013-02-06
2
499 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
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

792 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