Solved

Mapping network drives to a Network Attached Storage (NAS) device in Windows 2000

Posted on 2007-11-14
4
365 Views
Last Modified: 2013-11-14
Hi,

I have a Windows 2000 Professional machine and a NAS (Network Attached Storage) device on the same home network. I can map network drives that point to the NAS within Windows no problem, and they work immediately when setup (I have to choose the connect with a different username and password option).

I also choose Reconnect at Logon. However everytime I reboot I get prompted for the password for the drive mapping even though I've told it to remember the credentials. It seems to remember the username but not the password. I put it in and the drives connect straight away no problem. Is there anyway I can get Windows 2000 to remember the credentials for the NAS resource? I know in XP you can store different credentials but can't see similar funcationality in 2000?

Anyone know how to  get round this? Why does it not remember the password?
0
Comment
Question by:grjitdept
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
Michael Pfister earned 500 total points
ID: 20280532
Create a small text-file containing 1 line:

net use X: \\NAS-DEVICE\Share password  /user:NAS-DEVICE\YourUser

Replace thje drive letter, NAS device name and share and username/password with your data.
Save this file with extension .cmd, i.e. nasconn.cmd
Place the nasconn.cmd in the autostart-folder of your Windows 2000.

Hope it helps,

Michael

0
 
LVL 1

Author Comment

by:grjitdept
ID: 20280570
Thanks. I did consider writing a script to do it, but was slightly wary of the security implications of having the password in plain text.

Is this behaviour to be expected in 2000 then? Is a script the best way round it?
0
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 20280869
I understand your security concerns...
I have no Windows 2000 around to check if it can work, but I've seen this fail on XP as well.

Some things you may want to check (from XP, so your system may be different!):

Is the service "Protected Storage" running?
Is the service "security Accounts" runing?

Start gpedit.msc and verify that under Computer -> Security -> Security options
"Network access: Do not allow storage of credentials or .NET passports for network authentication" is disabled
0
 
LVL 1

Author Comment

by:grjitdept
ID: 20297426
Thanks - that worked fine. Worth adding though (for anyone else that does this) that by default the cmd window will be visible as it runs the cmd script, thus showing your password in the string. I called the cmd file from a vbscript in a shell with the shell parameter set to not visible, meaning the cmd script is still run but in the background - just adds a little extra security.
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Solid State Drive Performance Tips: Solid state storage technology is now a standard.  After testing and using several different brands and revisions of SSD's over the years I have put together a collection of tips,tools and suggestions that I ha…
Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
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…

911 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