Remote disconnection re-connection

I need to force a disconnection / reconnection of a mpapped drive within my environment (Which is a WAN) but do not want to have to visit every machine to do it.

Machine1 is a small desktop that acts as a login server for an application within our business. This server still runs on NT4, the client machines are all XP Pro (SP1)

I have been unable to update some records as I was unable to write to the files as the trust had been broken between the XP & NT networks. This trust is not being re-established  - political reasons within the business groups :-(   - I then modified the permissions on the NT box, rebooted my client PC and re tried updating records held on the server. This failed.

I then did a manual network disconnect & re-connect and re-tested and all was ok. I am therefore surmising that a reboot on a client machine with a mapped network drive set to 're-connect at log on' doesn't actually disconnect during the re-boot phase. So, does anyone out there have any suggestions on how to force a disconnection / re-connection remotely without an input from the userbase?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If all you need for them to do is force disconnect and reconnect on logon and/or reboot, then a simple batch file with net use /delete then net use to re-map will solve your problem.  Otherwise, you'll need to use server manager and some remote scripting.  Either way is possible.  For the server manager to work, you'll need some administrative type access to the clients (you'll need access to remote control the system services)
FYI - to use the batch file method, use the following syntax, where z: is your network drive

Net Use z: /delete
Net Use z: \\servername\sharename

Copy that to a file called connect.bat or whatever you want to name it as long as it's .BAT, then drop that file in the All Users->Start Menu->Programs->Startup folder .

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thebusiesAuthor Commented:
I love a simple straight-forward answer as I am a straight-foward  simple sort of guy
Thanks Focusyn
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.