Solved

net use command sometimes hangs

Posted on 2008-10-15
2
379 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
2 Comments
 
LVL 8

Accepted Solution

by:
anil_u earned 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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…
A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint a…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now