Solved

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

Posted on 2007-11-14
4
368 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Problem description :  Some external hard disks / USB flash drives do not show actual space as mentioned in the factory settings. This is a common problem when you use an 8 GB USB drive to make it bootable to install a firmware/ driver on a serv…
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 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 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…

810 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