Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Enforce Mapped Drive

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
casscar
Asked:
casscar
1 Solution
 
TimAllanCommented:
To force a deletion, try using :
net use J: /delete /no

Once it's deleted, it shouldnt have an issue reconnecting up again.  
0
 
casscarAuthor Commented:
good
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now