Nerd wannabe

lazy weblog

fuser on win32

leave a comment »

In case you were wondering if there’s a fuser.exe utility (just like I did today), for native windows programs (not the cygwin-only port), http://www.sysinternals.com has the answer, of course: handle.exe, which manages to do exactly what fuser does.

Good luck with “safely removing” your hardware, now!

Example:

C:\\>handle -u c:\\WINDOWS\\system32\\config\\SAM
Handle v3.11
Copyright (C) 1997-2005 Mark Russinovich


Sysinternals - http://www.sysinternals.com
System pid: 4 NT AUTHORITY\\SYSTEM 164: C:\\WINDOWS\\system32\\config\\SAM
System pid: 4 NT AUTHORITY\\SYSTEM 48C: C:\\WINDOWS\\system32\\config\\SAM.LOG

(P.S. Contratulations for the guys at SysInternals for “Process Explorer” and “Handle”, too bad they haven’t named it “fuser.exe” to show up in a common search…)

About these ads

Written by vlad

May 11, 2006 at 10:03 pm

Posted in trivia

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: