?
Solved

Enforce Mapped Drive

Posted on 2010-09-20
2
Medium Priority
?
267 Views
Last Modified: 2012-05-10
Dear all,

I have the following mapped drives login script and I would like to enforce them /y  by default.
Since sometimes it ask a user if he would like to disconnect and connect again.

NET USE J: /DELETE
NET USE J: \\testing.com\Shared to all"

NET USE Z: /DELETE
NET USE Z: \\testing.com\Public

Which command i have to use?

Regards,
0
Comment
Question by:casscar
[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 5

Accepted Solution

by:
TimAllan earned 1500 total points
ID: 33714878
To force a deletion, try using :
net use J: /delete /no

Once it's deleted, it shouldnt have an issue reconnecting up again.  
0
 

Author Closing Comment

by:casscar
ID: 34101616
good
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

762 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