Solved

Auto reconnect a mapped drive in Vista?

Posted on 2009-05-11
5
607 Views
Last Modified: 2012-06-21
I am having a problem reconnecting mapped drives on the vista computers I am deploying in the office.  Every time I restart the machine it says that the some drives failed to reconnect.  I tried the accepted solution from this post http://www.experts-exchange.com/Networking/Q_21247004.html , this is what i typed exactly in the .bat file
net use * /delete
net use V: "\\pe4600\Dictation" password Voice2005< /user:cbmclaw.local\Dict

and it says there is a syntax error.  But if i take out the password part of the syntax and hit enter and it asks me to type the password and I type Voice2005< and it works.  So I have a feeling it has to do with the  password but I'm not sure if there is a way around that or not.
0
Comment
Question by:ddenne
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:bob_the_builder
ID: 24358164
Put Voice2005< in quotation marks as

"Voice2005<"

Cheers,

Bob....
0
 

Author Comment

by:ddenne
ID: 24358207
here is what i get when i do that,
C:\Users\Andrew Emery>net use V: "\\pe4600\Dictation$" password "Voice2005<" /us
er:cbmclaw.local\Dictation
The syntax of this command is:

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]
        [/USER:[username@dotted domain name]
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]


C:\Users\Andrew Emery>
0
 
LVL 48

Accepted Solution

by:
dbrunton earned 500 total points
ID: 24360329
Might be silly but you have

net use V: "\\pe4600\Dictation$" password "Voice2005<"  /us
er:cbmclaw.local\Dictation


Might be

net use V: "\\pe4600\Dictation$" password "Voice2005" /user:cbmclaw.local\Dictation

I've removed the < from your string.

0
 

Author Comment

by:ddenne
ID: 24364093
dbrunton that is part of the password.
0
 
LVL 48

Expert Comment

by:dbrunton
ID: 24368301
That is also a redirection symbol in DOS.  In this case it is looking for information elsewhere.

It could well be that it is trying to redirect in the command line.

So when you have  Voice2005< it is redirecting.

bob the builder suggested "Voice2005<" but it may be expanding that out to Voice2005< which is redirection again.

Try changing if possible your password to something without the < and try again.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iCloud Desktop & Documents not syncing 8 118
OS drives in an array 3 74
RAID Configuration 18 49
DELL RAID MD 3260 Expansion 9 32
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

786 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