Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Sometimes the best way to deal with an infected computer is to boot from external media and run your tools from there.  The reason you may wish to do this really depends on the infection.  Some malware is so recalcitrant that no matter what you do i…
In this article, I provide some information on storage disks which go into calculations that will help you figure out how much Input/output Operations Per Second (IOPS) your disk subsystem can deliver. To effectively size & tune up applications l…
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…

760 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

18 Experts available now in Live!

Get 1:1 Help Now