?
Solved

Mapping does not succeed

Posted on 2008-11-13
7
Medium Priority
?
390 Views
Last Modified: 2012-05-05
Hello,

Since a couple of weeks we have the problem that some of our mappings do not work.
We make a couple of mappings during a user's logon and use these statements:
net use f: \\applicatie\programs
net use g: \\data\data
net use h: \\archief\masters

and so on

Five of the seven mappings succeed - they map to two different servers. The two that don't succeed have to map to the so called storage server. Just an ordinary server - nothing special. But over and over again the mappings don't succeed. If, however, after a couple of minutes the user starts a little batch we made with just these two mappings in it, the mappings appear (of course instead of that mapping te drives manually works too). The next time a user logs on they've disappeared however, even if we use the /persistent:yes statement. Another workaround (in the mapping.bat: insert a delay of 30 seconds before mapping to the two drives) did not help either.
What can be the cause of this?
Any help would be appreciated!
0
Comment
Question by:vbvb01
7 Comments
 
LVL 1

Expert Comment

by:Brattis
ID: 22948250
Hi!

I'm having the same issues. Windows explorer do not show the mapping, thought, ex. Excel->File->Open dialog show the mapped drive. Disconnect and connect will show the drive in Windows Explorer. Think this is a sweet Bug in Winserver2003/XP, This has never happend on Vista for me.

Any tricks will be helpful for me to...

/Brattis
0
 
LVL 7

Expert Comment

by:pr0t0c0l12
ID: 22949207
You might need to be carefull when windows maps drives.  If you are trying to use or map a drive and you don't put the right credentials, you might get stock with the first try you made to map the drive.  It will be better to map a drive and parse the credentials information so the mapping happens with certaing credentials and not with the ones you are intending to use.

To un-map or disconnect erroneous credentials:

tools-->disconnect network drives. // This will give you a list of the drives you have mapped. Disconnect and start from scratch.  

To map a drive with credenatials use:

net use \\computer\folder /user:administrator domain\password
or
net use \\computer\folder /user:administrator password.

Good luck.
0
 
LVL 7

Expert Comment

by:pr0t0c0l12
ID: 22949223
This is to delete the mapped drive.  

net use [DRIVE]: \\[PATH]\ /DELETE

Good luck.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:vbvb01
ID: 22950250
Thanks for your reply, but sorry, the net use \\computer\folder /user:administrator password solution does not work.

Anyone another solution?
0
 
LVL 1

Expert Comment

by:aballeras
ID: 22958194
Hi vbv01

Just to clarify your, your problem is, you cannot map to one server using batch files but it works when you use net use manually?

Can you make sure that the net logon service in the server is not disabled and set to manual?

good luck.

0
 
LVL 1

Author Comment

by:vbvb01
ID: 22974054
"Just to clarify your, your problem is, you cannot map to one server using batch files but it works when you use net use manually?"

The problem with this one server is that the mapping-code in the initial (logon) batch does not work. When a user starts a little batch (in which only the two mappings involved are programmed) later on it does work. So it's not a batch-problem or a matter of using the wrong string.

The Netlogon Service is enabled on the server involved.

Another suggestion would be appreciated.
0
 
LVL 1

Accepted Solution

by:
vbvb01 earned 0 total points
ID: 23012501
Problem solved!

We have two domain controllers and the replication of the netlogon between those two did not work anymore. Therefor it happened that the changes I made in the mapping batch weren't copied to the other netlogon folder. And because our network apparantly favors our second server more than the first one most users didn't read the right batch.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This is a fine trick which I've found useful many times, when you just don't want to accidentally run a batch script or the commands needs administrator rights.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

621 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