Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

net use command

Posted on 2013-02-06
2
Medium Priority
?
505 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 85

Accepted Solution

by:
oBdA earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

877 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