Go Back   AnandTech Forums > Hardware and Technology > Networking

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Home and Garden
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 07-09-2007, 05:19 AM   #1
HDTVNZ
Member
 
Join Date: Jul 2004
Posts: 40
Default Mapped network drive not auto reconnecting at startup

Hi all, I am running Vista Ultimate and have mapped a network drive which is on my file server (running Ubuntu 7.04). Vista maps it without any problems, but when I restart the computer, the message "could not reconnect all network drives" appears and find that I have to type the login name & password again. I have the Reconnect at logon box selected (as shown in screenshot below), so why is it not auto logging on?

http://img467.imageshack.us/my...ge=networkdrivela0.jpg
HDTVNZ is offline   Reply With Quote
Old 07-09-2007, 08:48 AM   #2
Kelemvor
Lifer
 
Kelemvor's Avatar
 
Join Date: May 2002
Posts: 16,739
Default Mapped network drive not auto reconnecting at startup

Windows won't remap the drives automatically if they require you to put in an ID and password. I'd make a simple batch file that maps it using the NET USE command every time you boot up.

Using Notepad, make a file that says:

net use <drive letter>: "\\<server>\<path>" <password> /USER:"<user>"

So an example would be:
net use J: "\\data\my documents" mypass /USER:"data\userid"

Then just add that to the Startup group so it runs every time you login.
__________________
Take It Outside!!
Kelemvor is offline   Reply With Quote
Old 07-09-2007, 01:30 PM   #3
RebateMonger
Super Moderator
Elite Member
 
RebateMonger's Avatar
 
Join Date: Dec 2005
Location: Tempe, Arizona, USA
Posts: 11,592
Default Mapped network drive not auto reconnecting at startup

Yeah. You'll get automatic authentication if you're logging into an Active Direcotry Domain Controller, but in the case of an Ubuntu server, you are going to have to authenticate somehow.
__________________
MCSE:Security:2003 - MCTS:SBS 2008 - Arizona's 1st Microsoft Small Business Specialist
--- In loving memory of my beautiful Australian Shepherd, Skye. July 2001-January 2010 ---
War on Terror 2000-2010 ~ Terrorist-caused Deaths < 10,000 ~ Bush's Wars > 1,000,000 ~ Winning?
RebateMonger is offline   Reply With Quote
Old 07-09-2007, 03:25 PM   #4
HDTVNZ
Member
 
Join Date: Jul 2004
Posts: 40
Default Mapped network drive not auto reconnecting at startup

Quote:
Originally posted by: Kelemvor
Windows won't remap the drives automatically if they require you to put in an ID and password. I'd make a simple batch file that maps it using the NET USE command every time you boot up.

Using Notepad, make a file that says:

net use <drive letter>: "\\<server>\<path>" <password> /USER:"<user>"

So an example would be:
net use J: "\\data\my documents" mypass /USER:"data\userid"

Then just add that to the Startup group so it runs every time you login.
I've created a .txt document, with this information in it, but it just opens the document up at login. Is there anything else I need to edit to get it to auto map the drive?

HDTVNZ is offline   Reply With Quote
Old 07-09-2007, 04:36 PM   #5
Flashram
Diamond Member
 
Join Date: Apr 2000
Posts: 3,967
Default Mapped network drive not auto reconnecting at startup

Quote:
Originally posted by: HDTVNZ
Quote:
Originally posted by: Kelemvor
Windows won't remap the drives automatically if they require you to put in an ID and password. I'd make a simple batch file that maps it using the NET USE command every time you boot up.

Using Notepad, make a file that says:

net use <drive letter>: "\\<server>\<path>" <password> /USER:"<user>"

So an example would be:
net use J: "\\data\my documents" mypass /USER:"data\userid"

Then just add that to the Startup group so it runs every time you login.
I've created a .txt document, with this information in it, but it just opens the document up at login. Is there anything else I need to edit to get it to auto map the drive?
It needs to be a .bat file.

If you add the same user/password that you are using on your Vista Ultimate machine to the user list on the file server it should connect without the .bat file.
__________________
Heatware
Flashram is offline   Reply With Quote
Old 07-09-2007, 06:00 PM   #6
Kelemvor
Lifer
 
Kelemvor's Avatar
 
Join Date: May 2002
Posts: 16,739
Default Mapped network drive not auto reconnecting at startup

Yeah, what Flash said. just change the .txt to .bat and try it again. Try it manually to test it too.
__________________
Take It Outside!!
Kelemvor is offline   Reply With Quote
Old 07-10-2007, 03:03 AM   #7
HDTVNZ
Member
 
Join Date: Jul 2004
Posts: 40
Default Mapped network drive not auto reconnecting at startup

After renaming to .bat, it worked! Many thanks for the help Kelemvor & Flashram!
HDTVNZ is offline   Reply With Quote
Old 02-28-2009, 05:39 PM   #8
sirk98
Junior Member
 
Join Date: Feb 2009
Posts: 2
Default Mapped network drive not auto reconnecting at startup

any tips on how to encrypt the password so it isnt sitting out there on the HD in clear text?
sirk98 is offline   Reply With Quote
Old 02-28-2009, 06:58 PM   #9
Zstream
Platinum Member
 
Zstream's Avatar
 
Join Date: Oct 2005
Posts: 2,093
Default Mapped network drive not auto reconnecting at startup

http://lifehacker.com/software...crypt-files-231815.php


http://support.microsoft.com/kb/307877

Either that or purchase something
Zstream is offline   Reply With Quote
Old 02-28-2009, 07:33 PM   #10
sirk98
Junior Member
 
Join Date: Feb 2009
Posts: 2
Default Mapped network drive not auto reconnecting at startup

ugh.... sounds like I would have to upgrade to Vista Ultimate to make that work

Any tips on 3rd party software that would encrypt a file relatively seamlessly?
sirk98 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.