Discussion Locked

How to manually close a file on Win NT

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I manually (force) close an open database (DBF) file on a Win NT 4 Server
that has been accidently left open by one of the workstations? I do not want to delete it, just close the file.

Also, what tool is there on Win NT 4 to
view open files?

Thank you,
Terry Harris

11 replies

by paul d. masley

The easiest way that appears to me would be log on as administrator, log on to the workstation (administator) that has the file open, open the database program, save and close the file, then log off of the workstation.

I am not sure of any toolin NT4 that will show all open files at once. Explorer will show recently accessed files, but with the file load on a server, this would take quite a bit of time. Wish I could help you furthr on this one.

Paul.

by terryyy

I appreciate the attempt to help, but one of the main problems is that we do not know what workstation left the file open. It appears to be the result of a "crash" that leaves the file open. So, we cannot "log on to the workstation (administator) that has the file open, open the database program, save and close the file, then log off of the workstation."

by shanghai sam

IF..I understand: start>programs>administrative tools>server manager. Double click the server in question and this will bring up a "properties" dialogue box. At the bottom left will be a "Users" tab that will allow you to forcibly disconnect everyone and everything connected to the file allowing you to close it.

by sswitkin

IF I understand the issue:
Start>programs>administrative tools(common)>
server manager. Double click the server with the file in question. This will bring up a "properties" dialogue box. At the bottom left will be a tab "users". Click on that andit should show everyone connected, and allow you to forcibly disconnect all users so you can close the file.

by mtnsqs

From server manager you shoudl be able to see the open reosurce and forcibly close it - I suggest you hunt though this at a time when all users are supposedly off the systemas the list is much shorted then.

If you can't find it, forcibly close all reosurces!

If none of that works, then reboot the server!

by don christner

Terry,

I found a great little freeware utility that does exactly what you want. I downloaded it from www.merxsoft.com, it is called ofl.exe. With it you can see who is connected to what and forceably close all or selected resources. I run it from my workstation to close resources on my servers before I run some other batch files.

Don

by terryyy

Thanks for the Utility.
It may help when I get a chance to
test it on the NT Server.

This discussion is closed to new replies.