Solved

Auto reconnect a mapped drive in Vista?

Posted on 2009-05-11
5
609 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
[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
  • 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

Technology Partners: 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

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
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…

726 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