Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  
lansing

how to stop a program from modifying file association?

Recommended Posts

lansing    0

i have a program that kept changing my file association of a file type on every start of that program. Even though it has a setting to disable it, after every program start it'll still going to change the association to none, which is really annoying.

Is there any way to stop this?

Share this post


Link to post
Share on other sites
lansing    0

You should report this problem to the author of the software and maybe they'll fix it in an update.

it's call qq download, it's a downloading client.

I think many users had reported this issue but they didn't seem to care, i'm suspecting that they are doing that on purpose.

Share this post


Link to post
Share on other sites
jaclaz    927

You should report this problem to the author of the software and maybe they'll fix it in an update.

it's call qq download, it's a downloading client.

I think many users had reported this issue but they didn't seem to care, i'm suspecting that they are doing that on purpose.

Check with which credentials the programs writes to the registry, then either remove those credentials from the relevant Registry key (adding to it a "special" user credential in order to be not "locked out") and see if the program errors out by being denied access to that Registry key, if it doesn't you are set :).

jaclaz

Share this post


Link to post
Share on other sites
lansing    0

Check with which credentials the programs writes to the registry, then either remove those credentials from the relevant Registry key (adding to it a "special" user credential in order to be not "locked out") and see if the program errors out by being denied access to that Registry key, if it doesn't you are set :).

jaclaz

can you elaborate on this? What part in the registry should i do i search on usually? Thanks

Edited by lansing

Share this post


Link to post
Share on other sites
jaclaz    927

The actual part where file association is.

HKEY_Classes_Root

begins with them, at first there are file extensions to filetype, and then usually file associations.

Check this tool:

http://wstudios.home.xs4all.nl/Associate/

it explains quite well the structure of file association.

Mind you particular programs may have more complex structures for "right click" contextual menus and the like, but the "base" file association should be "standard".

jaclaz

Share this post


Link to post
Share on other sites
lansing    0

i tried wAssociate, the main problem is that even though i changed the file association, after the restart of that qq downloader, it auto wipe out the file association again.

Share this post


Link to post
Share on other sites
jaclaz    927

i tried wAssociate, the main problem is that even though i changed the file association, after the restart of that qq downloader, it auto wipe out the file association again.

Well, no.

The idea is that once you have the "right" file association set you remove from the key the privileges to edit/access the key, leaving access to the key ONLY allowed to a given "named" user account  (of course NOT the one you use and you might need to remove also "SYSTEM").

Though everything is possible, I doubt that that program will be able to find and impersonate another user.

Once the program will not be able to write anymore to that key (or wipe it) there are two possibilities:

  1. this will cause a crash/malfunctioning of the program
  2. this will be ignored and the program will continue working alright.

What I forgot to mention (my bad, I gave it for already known fact) is that HKEY_Classes_Root doesn't really "exists" :w00t:, it is an on-the-fly "mirror" of HKEY_LOCAL_MACHINE\SOFTWARE\Classes, you might need to set the permissions there instead. :unsure:

 

jaclaz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×