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

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.
 
T

Technical Joe

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
 
D

Dave Patrick

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.
|
 
C

charles

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.
 
D

Dave Patrick

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.
|
|
 
C

charles

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top