Solved

Mapping drives at log on

Posted on 2016-10-03
7
49 Views
Last Modified: 2016-10-23
I have a 2012 Server and created a GP to map a drive not part of the domain (in a work-group), everything works OK, but I keep getting the prompt asking for credentials to access this NAS server. I saved the credentials in the GP created to map this drive, however I still get the prompt asking for credentials regardless.

Thanks,
0
Comment
Question by:sanchez2077
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 28

Accepted Solution

by:
Michael Pfister earned 250 total points (awarded by participants)
ID: 41827542
You can't store credentials anymore due to security reasons.

https://support.microsoft.com/en-us/kb/2962486
0
 
LVL 28

Assisted Solution

by:Michael Pfister
Michael Pfister earned 250 total points (awarded by participants)
ID: 41827546
You could run a logon batch script to map the drive but the password will be in clear text!

net use Z: \\NAS\Share <Password> /User:<Username>

Would be better if you could add the NAS to the Domain and grant the required users access to the share
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 41827595
Can you join the NAS to the domain and /or setup LDAP so that when you map the drive, it knows the users credentials and won't ask for it?

What make / model is the NAS?

I know that Synology NAS's can 'join' a domain and we use them extensively for our customers and they work very well.

Alan
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 27

Expert Comment

by:Thomas Zucker-Scharff
ID: 41827837
Qnap and buffalo NAS boxes can also join domains.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 41827894
Cheers Thomas - always good to know Synology are not unique ;)  I had a feeling Qnap would but haven't played with a Buffalo before (too big and hairy for my liking)!!
0
 
LVL 29

Assisted Solution

by:Sudeep Sharma
Sudeep Sharma earned 250 total points (awarded by participants)
ID: 41828012
QNAP, Synology, Buffalo and NetGear NAS, all could join to domain, however the problem user has explained says that the system through which it is connecting is in Work-Group. So I don't think joining the NAS to domain would help.

However if the NAS is not joined to domain, you would need to provide Anonymous access on the folder, so that user would be able to access it without supplying the password.

Sudeep
0
 
LVL 27

Expert Comment

by:Thomas Zucker-Scharff
ID: 41855862
Inactivity and user has not closed question.  The answers designated best answer this question.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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…

776 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