Solved

Auto reconnect a mapped drive in Vista?

Posted on 2009-05-11
5
605 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 47

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 47

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A bootable USB key can be very handy now-a-days. My favorite USB key consists of our Windows 7 image, network card drivers (to connect up to a Ghost server), the latest BIOS updates for all of our PCs and CopyWipe (to erase a retired PC) Creating…
AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now