Eric
asked on
cannot disconnect mapped "disconnected" network drives
I have 2003 servers running terminal services.
as a domain admin I am trying to disconnect the mapped drives because our script is failing to do so. (we updated a drive path)
if i type net use * /delete y
it claims there is nothing to delete. However in "my comptuer" it shows 2 drives as disconnected. Clicking on them returns: the location is unavailable.
If i right clik on the drive and say disconnect it says "the network connection could not be found"
I noticed XP seems to work with my scripts. I dont know what windows 2003 is doing but I hate it. Please help.
as a domain admin I am trying to disconnect the mapped drives because our script is failing to do so. (we updated a drive path)
if i type net use * /delete y
it claims there is nothing to delete. However in "my comptuer" it shows 2 drives as disconnected. Clicking on them returns: the location is unavailable.
If i right clik on the drive and say disconnect it says "the network connection could not be found"
I noticed XP seems to work with my scripts. I dont know what windows 2003 is doing but I hate it. Please help.
ASKER
I tried that already :(
===============
C:\>net use * /delete /y
There are no entries in the list.
C:\>net use
New connections will not be remembered.
There are no entries in the list.
===============
C:\>net use * /delete /y
There are no entries in the list.
C:\>net use
New connections will not be remembered.
There are no entries in the list.
Just clarify, there are two commands, in this order:
NET USE /PERSISTENT:NO
NET USE * /DELETE /Y
NET USE /PERSISTENT:NO
NET USE * /DELETE /Y
ASKER
yes.
I tried every way imaginable.
I tried every way imaginable.
Can you see any existing connections (even disconnected) under Computer Management | System Tools | Shared Folders? And any sessions there, and open files??
ASKER
that only shows locally shared folders. I am not doing this on a file server.
But no nothing is in there as open. no reference to any network folders. i did check.
But no nothing is in there as open. no reference to any network folders. i did check.
> that only shows locally shared folders.
Sorry, I mean Seesions, which shows your current connections to other computers.
Sorry, I mean Seesions, which shows your current connections to other computers.
Restart your Terminal Services Server
ASKER
just one session. not connecting to any of shares in question. looks like a print server connection
ASKER
Grim:
cant. maybe later tonight. Any specific reasons behind that or just because its good practice?
cant. maybe later tonight. Any specific reasons behind that or just because its good practice?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have a large citrix farm and only reboot them once a month unless there is an issue. (rare)
and that is for windows updates.
I saw 1 comment about some regkey something/mountpoint2/ blah blah
that mentioned rebooting is required to remove them. but there was no detail.
We have way to many users in all time zones. Its not possible to just reboot servers frequently.
I am going to try this tonight. I was just wondering if you were guessing / common practice or knew something about this issue.
Thanks
and that is for windows updates.
I saw 1 comment about some regkey something/mountpoint2/ blah blah
that mentioned rebooting is required to remove them. but there was no detail.
We have way to many users in all time zones. Its not possible to just reboot servers frequently.
I am going to try this tonight. I was just wondering if you were guessing / common practice or knew something about this issue.
Thanks
ASKER
Reboot was part of the resolution.
something to do with caching of network shares or something.
something to do with caching of network shares or something.
NET USE /PERSISTENT:NO