views:

245

answers:

3

I am currently trying to make an application portable.

Where are the common places that an application puts its settings in a windows machine?

do you know know of any other places besides

-registry

-Currentuser/Application Data

-app folder

?

A: 

Just for completeness - There are a couple of places within the registry (current-user and local-machine). It depends how the developer stored it.

As sean has said in comment, this also depends on the application framework and windows version. (Thanks sean)

Andy
Also, depends on the app framework in use.
sean e
Also depends on which version of Windows. On Vista, writes to the app folder will actually hit AppData\Local\VirtualStore.
sean e
A: 

Heres a tutorial

Searock
+4  A: 

After you go over all the places you could think of, try running your app with Process Monitor in the background. Using the right filters, it will show you which registry keys and files have been accessed. And, it will show the exact stack trace of every operation, so you won't have a hard time finding the source of those calls.

eran