Solved

net use command sometimes hangs

Posted on 2008-10-15
2
487 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 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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…
This article outlines the struggles that Macs encounter in Windows-dominated workplace environments – and what Mac users can do to improve their network connectivity and remain productive.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

623 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