Link to home
Start Free TrialLog in
Avatar of okcuser
okcuser

asked on

Removing share disconnects user from entire server and other shares

I have a Win 2000 Server.  The server is set up with the following directory structure:

d:\ (security with everyone & authenticated users full control - not shared)
d:\login (security & shared with everyone & authenticated users full control)
d:\shared (security & shared with everyone & authenticated users full control - security on sub folders)
d:\users (security with everyone & authenticated users full control - propegates down - not shared)
d:\users\username (each users is shared as username$ with permission on the share for that user, security is inherited)

The login script is run from \\server2k\login.  The login script maps each user's X drive to \\server2k\shared folder and each user's U drive to \\server2k\username$.

This works fine and has for some time.

I've recently added a Windows 2003 server and am moving the "U drives" (the users personal directory space) to the new server.  To do this, one by one, I've had the users close their mail (address book and pst files on U drive) and any network files.  I copy their username directory from server2k to server2003.  I remove the share on server2k and rename the folder username-moved.  On the server2003 I set up the share to usersname$ and set the permissions as before.  When the login script runs it runs off server2k and then maps the U drive to server2003 since that is where it finds the share.

This has worked for about 40 users.  Howerver, I have 2 users with an unusual problem.  I'm not sure what else to try.  On these two users, the second I unshare the \\server2k\username$ share they get a pop up that they are disconnected from \\server2k.  I'd expect the disconnect from the "U drive" which is mapped to the username$ share, but it also disconnects them from the X drive which is mapped to \\server2k\shared (with everyone and authenticated users full control) and they can no longer access the \\server2k\login share - so they can't run the login script.  I can ping server2k fine from the machine when it is "disconnected".  I can reboot the client machine (XP) and/or reboot the server and cannot attach to \\server2k for these 2 users.  I can log in on the client machine with my account and connect to the server just fine (which tells me it is account related).  If I put the share back on the \\server2k\username$ folder they immediately have access to all the shares on \\server2k.  

WHY does removing one share disconnect them completely from all shares on that server and not let them connect to them at all even after a reboot??  Why is this only happening for 2 of my users.

The user accounts are NT accounts.  We are doing all this moving in preparation tomove the users into Active Directory accounts, but for now I need the NT domain accounts to continue working.  I could try explicitely adding these users to the shares I need them to access, but it shouldn't be necessary since everyone else works fine.  

Any suggestions would be greatly appreciated.  

Julie
Avatar of maehdros
maehdros

I would try running "net use" from a command prompt to see all the connections. Then run "net use x: /delete" for all connections. Then logout and login to see how the login script remaps the drives.

You may have a persistent connection or alternate credentials messing things up.

Good luck.
Avatar of SysExpert
In addition it could be a local corrupted User profile.

I hope this helps !
What if you use the FQDN to remap the drive? or \\server2k'sIP\username$ ?

Any change?


Are these 2 users using laptops with Offline files enabled?
Avatar of okcuser

ASKER

I tried deleting her user profile and having it recreated -that didn't fix it.  Also, it is a desktop and not a laptop.  It does come up tring to synchronize files.  Is that something that is enabled?  I haven't tried with the fqdn.  I'll try that.  
If it is trying to synchronize files, then I would try and disable Offline Files on the machine. That could be what is flagging the machine as "Unavailable"

Also, in a Run prompt, type

mobsync /logon

and then try and remap the share.....
Avatar of okcuser

ASKER

OK - If I map using the fqdn it works.  Why?  No one else needs it.  It is something on her machine though because I can log in with my account and have the same problem on her machine.  I checked the settings on the ip and we have it appending the suffix so it should be getting it.

Also, if I remove her network driver and reboot and set it up again then the login script will run (because it connects to the server) and map her drives and then immediately the server gets disconnected.  The only way I can reconnect is putting the share back on her user drive or by removing the network drivers again.

I'm baffled.   We are going to try and find updated drivers for the network card.
ASKER CERTIFIED SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of okcuser

ASKER

That makes sense.  Somehow it is trying to synchronize files to her old "u drive" on the 2k server, but because I removed the share and put it on the 2k3 server it is seeing it as offline and therefore the entire server as disconnected.  After I install the network again it works for the initial connection and mapping, but then it is probably trying to synchronize and can't find the old share so it disconnects???  She is in a meeting so I'll have to try it out after a while or in the morning.  I'll let you know.

Thanks for your help.
How to re-initialize the offline files cache and database
http://support.microsoft.com/kb/230738

That should start the offline database from scratch.....

The shares to be synched are located here in the registry,....

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Netcache\Shares

You can simply delete any outdated items as well....
Avatar of okcuser

ASKER

That worked.  I turned off the offline files,  ran the mobsync and added the netchache registry key.  When I rebooted she connected with no errors.  

What I don't know is which thing fixed it.  I'll try your last suggestion on the other machine that is having problems.  We are in a winter storm warning and I don't feel like walking across the street to check it right now.  

Thanks for all your help!  
NP....The reg key should have been the standalone fix......