How to restore file non-association for .tmp files?

  • Thread starter Thread starter charles
  • Start date Start date
C

charles

Someone opened a .tmp file with an application and checked the always
use this application box.

How can I reset that association to nothing as the original default
assoc. is?

Thank you.
 
Open a CMD prompt and use the ASSOC cmd to see what EXE
the .TMP file is associate with; it should look like
this: "ASSOC .TMP" (sans quotes). Then open the Registry
via REGEDIT, then open HKEY_CLASSES_ROOT. Look for EXE
that's associated with the .TMP association, then look for
the OPENWITH folder. Find the .TMP association and delete.
Remember playing with the registry can cause issue so you
might want to backup anything before just killing it.

Technical Joe
 
From a command prompt;

assoc .tmp=

to remove the file association.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Someone opened a .tmp file with an application and checked the always
| use this application box.
|
| How can I reset that association to nothing as the original default
| assoc. is?
|
| Thank you.
|
 
From a command prompt;

assoc .tmp=

to remove the file association.

Thanks to both of you but the puzzling thing is that

assoc .tmp returns File association not found for extension .tmp
yet any "file.tmp" will appear with the apps. icon and will open with it
(Irfanview).

I have searched through the registry and can find nothing for .tmp in
CLASSES_ROOT nor find any ref to the type running ftype.
 
Have a look in;
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Thanks to both of you but the puzzling thing is that
|
| assoc .tmp returns File association not found for extension .tmp
| yet any "file.tmp" will appear with the apps. icon and will open with it
| (Irfanview).
|
| I have searched through the registry and can find nothing for .tmp in
| CLASSES_ROOT nor find any ref to the type running ftype.
|
|
 
Have a look in;
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

Thanks, that did it.

I never thought to look in the User hive for that kind of setting.
 
Back
Top