Solved

net use command

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

738 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