• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
lansing

how to stop a program from modifying file association?

11 posts in this topic

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?

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

Some programs have an options to disable that from happening. What program is it?

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

0

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.