Link to home
Start Free TrialLog in
Avatar of bankadmin
bankadminFlag for United States of America

asked on

using a .bat to map drives having issues after moving server to domain

We had a server with shares that wasn't part of our domain but we did map drives to it for some users. We used the /savecred switch and entered the local username and password the first time it ran and it would map just fine. But we moved the server on to our domain removed the savecred switch and the script stops every time on the mapping to the server. If I enter my domain creds when it prompts me for creds it does map so my permissions seem to be fine. How can I force these drive mappings to use the domain creds the users is logged in with for the mapping?
Avatar of efrimpol
efrimpol
Flag of United States of America image

After you added the computer to the domain, did you recreate the share permissions on the shared folder and give 'Domain Users' access?

Also, from the user's workstation, can you now navigate to the share by selecting Run "\\domainserver\share"?
Avatar of bankadmin

ASKER

I did change the permissions do work with domain groups and that part is working because I can access them..

Yes I can access the share when I put in what you suggested.
I can access the share if I manually put in my domain creds when the script runs also..
Trying to figure out why I have to manually put in my creds for these drives but not others that I get mapped to via logon script
"We used the /savecred switch and entered the local username and password the first time it ran and it would map just fine"

So you do not need for the users to use local accounts anymore, only domain users, right?

Also, if you run "\\servername", do you now see all the shares you have on this server and are you then able to right-click on the shared folder and select "Map network drive"?
Correct we want the users to use there personal domain creds instead of the local account on the server.

The shares do popup but map network drive is greyed out.
You may not have File/Print Sharing set correctly on the server.
ASKER CERTIFIED SOLUTION
Avatar of Scott Silva
Scott Silva
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That was it..

Thanks