Click to See Complete Forum and Search --> : who has what open
jhermiz
Feb 25th, 2004, 04:10 PM
In Linux I can determine someone and some file that has been opened over the network. So say I've got this file that I want to delete, but the system keeps telling you it's locked or in use, but who, what is using that file?
In Linux I can run fuser -u filename. and I could kill the process using kill -pid.
How can I do this in windows???
Jon
Kasracer
Feb 25th, 2004, 04:13 PM
SFU might have those abilities if you're using NT/XP Pro/2K or 2K3.
If you don't know what SFU is, it's a free UNIX utilities made by Microsoft and it pretty much adds alot of Unix commands into the command prompt. I would like to add that the kill command included in the SFU works ALOT better than anything built into Windows.
jhermiz
Feb 25th, 2004, 04:15 PM
Originally posted by kasracer
SFU might have those abilities if you're using NT/XP Pro/2K or 2K3.
If you don't know what SFU is, it's a free UNIX utilities made by Microsoft and it pretty much adds alot of Unix commands into the command prompt. I would like to add that the kill command included in the SFU works ALOT better than anything built into Windows.
Hmm./..got a link?
A download ?
???
jhermiz
Feb 25th, 2004, 04:18 PM
Originally posted by kasracer
SFU might have those abilities if you're using NT/XP Pro/2K or 2K3.
If you don't know what SFU is, it's a free UNIX utilities made by Microsoft and it pretty much adds alot of Unix commands into the command prompt. I would like to add that the kill command included in the SFU works ALOT better than anything built into Windows.
Do you use it ?
if so does it have fuser ???
I need to find out which user has what file open in a multi network environment.
Jon
Kasracer
Feb 25th, 2004, 04:24 PM
I can't seem to find fuser but it still may be useful for you. It's a free download from Microsoft.com (just search for it on google).
You may want to check out if cygwin has fuser.
I don't know of any windows ways of doing this
jhermiz
Feb 25th, 2004, 04:46 PM
Can anyone else jump in on this...
I need to be able to see what user has a specific file open...
In winders...over a network...
I need some program that allows me to determine this. I cant find much info on SFU or Cygwin..specifically fuser.
Jon
plenderj
Feb 26th, 2004, 07:08 AM
If you're running a Windows Server Operating System, then go into :
Start > Programs > Administrative Tools > Server Manager
You can look at a list of open files, file locks and shares from in there.
On the other hand, if you're running a Windows Client Operating System, then I would suggest using "Process Explorer" by http://www.sysinternals.com
jhermiz
Feb 26th, 2004, 07:26 AM
Originally posted by plenderj
If you're running a Windows Server Operating System, then go into :
Start > Programs > Administrative Tools > Server Manager
You can look at a list of open files, file locks and shares from in there.
On the other hand, if you're running a Windows Client Operating System, then I would suggest using "Process Explorer" by http://www.sysinternals.com
This is nice locally, but what about other users across the network?
plenderj
Feb 26th, 2004, 08:21 AM
Erm what do you mean across the network?
jhermiz
Feb 26th, 2004, 08:31 AM
See my first post...
Multi user corporate network.
Lets say I am on my local machine
\\JONNY
There is a file server out there called
\\VENUS. This file server holds CAD drawings and files avaliable to all users as mapped drives to their PC's. Lets say I want to delete a file 1.CAD located on the file server \\VENUS..I try to delete it..and I cant I get the message that the file is currently being used by another process. That other process is Joe Blow who has the file open...Joe Blow left his desk for 12 hours...that means this file sits there for 12 hours because he left it open.
I want to be able to see who has WHAT FILE and their NAME across a network not just locally....
Jon
plenderj
Feb 26th, 2004, 09:42 AM
In theory you could install a remote admin package, but anyway, you can (I think) use the Computer Management tool in Administrative Tools on a 2000 or XP machine to view server manager on an NT Server.
So, from my own desk in work (A Windows 2000 Professional Workstation) :
Start > Settings > Control Panel > Administrative Tools > Computer Management
Action > Connect to another computer
I put in, for example, our PDC's name : NT1
I can then go into :
Computer Management (NT1) > System Tools > Shared Folders
From there I can look at :
Shares, Sessions & Open Files
:)
jhermiz
Feb 26th, 2004, 10:11 AM
Exactly what I was looking for.
BTW I downloaded SFU on the MS Site, got a virus...had to do a boot up from the startup and delete the 227 megabyte VIRUS download.
Thanks MS!
Thanks Plender!!!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.