Solved

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

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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…

856 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