mapping network drive problem


G

Guest

I have a script that maps a drive to a remote PC, preforms some tests then disconnects. The script moves on to the next PC to performs the tests. The problem is this. Aftera while the PC will not full disconnect a drive. This drive letter becomes unavailble for use and then my script doesn't work because it can't map a drive using the letter coded into the script. It only happens in XP. The script runs fine on Win2k and on XP safemode with networking. Something in XP 'hangs on' to a network connection. If you use it netstat, the disconnected drive shows up as an active TCP connection. You can't reuse net use /delete because XP doesn't seen it as a live connection to disconnect
Any ideas..it would be nice to get this problem solved before our whole network becomes XP...
 
Ad

Advertisements

D

Danny Slye - [MSFT}

The key here, I believe, is the fact that the script works in Safe Mode
with Networking. The following services start in Safe Mode with Networking:
Computer Browser
Cryptographic Services
DHCP Client
DNS Client
Event Log
Help and Support
Logical Disk Manager
Messenger
Plug and Play
Remote Procedure Call (RPC)
Server
System Restore Service
TCP/IP NetBIOS Helper Service
Upload Manager
Windows Management Instrumentation
Workstation

I would add services one at a time until you can reproduce the error.
--------------------
I have a script that maps a drive to a remote PC, preforms some tests then
disconnects. The script moves on to the next PC to performs the tests. The
problem is this. Aftera while the PC will not full disconnect a drive. This
drive letter becomes unavailble for use and then my script doesn't work
because it can't map a drive using the letter coded into the script. It
only happens in XP. The script runs fine on Win2k and on XP safemode with
networking. Something in XP 'hangs on' to a network connection. If you use
it netstat, the disconnected drive shows up as an active TCP connection.
You can't reuse net use /delete because XP doesn't seen it as a live
connection to disconnect.
Any ideas..it would be nice to get this problem solved before our whole
network becomes XP...
__
Danny Slye
Microsoft Support Professional
MCSE

This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top