LozanoMatheus
LozanoMatheus

Reputation: 407

How to list all files are accessed by Windows Process

I have an Application was compiled and I need list all directories he tries/have to access.

When I execute this App he returns with error message and I believe this is a permission error.

I already see the Process Explorer, but he don't show all files manipulated by Process/Application.

Upvotes: 1

Views: 6149

Answers (3)

Patrik Staron
Patrik Staron

Reputation: 409

A nice utility here: http://www.nirsoft.net/utils/process_activity_view.html did the trick for me.

Open the ProcessActivityView.exe
Select "File"->"Start New Proces"
Then enter the path for your executable and program arguments if you need.
Checking "Start tracing immediately" box did not work for me. This program attaches to the process and hooks to common syscalls for file access.

Upvotes: 1

yonisha
yonisha

Reputation: 3096

What you're looking for is Handle (also from Sysinternals). Handle application must run elevated (administrator)

handle -p myproc

Will return all handles for processes begin with the 'myproc'.

handle -pid 1234

Will return all handles for process with pid 1234.

Upvotes: 0

willll
willll

Reputation: 1839

Microsoft provides Process monitor (from sysinternals) to do so.

Upvotes: 0

Related Questions