Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

net use command sometimes hangs

Posted on 2008-10-15
2
Medium Priority
?
527 Views
Last Modified: 2010-04-21
We are running Oracle's ERP suite.  For one task, we have it spawn a bat file.  This file does a net use to map a drive, copies a file and demaps the drive.

Sometimes, the net use command just hangs and eventually has to be killed.  Always works from the command line.  Any suggestions on what could cause it to hang sometimes and other times work?
0
Comment
Question by:jbeckstrom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
anil_u earned 2000 total points
ID: 22732033
Not a lot of info to work with here but the cause could be the network - it cannot map the drive and continues to try to connect.
When the network or remote host is fine, it connects successfully.

You could use the /persistent switch to keep the drive mapped
0
 

Author Closing Comment

by:jbeckstrom
ID: 31506404
That is what we elected to do.  Just leave the drive mapped instead of mapping/demapping it.
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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
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 …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

705 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