Solved

Cannot change default program for *.txt anymore

Posted on 2016-10-10
5
83 Views
Last Modified: 2016-10-10
The checkbox "Always use the selected program to open this kind of file" is grayed out.
It does not help to open Windows Explorer "as administrator".

Clicking on *.txt file will now open in "cmd"!
Need to restore this..

The checkbox "Always use the selected program to open this kind of file" is grayed out.
0
Comment
Question by:dr_fred
5 Comments
 
LVL 94

Assisted Solution

by:John Hurst
John Hurst earned 125 total points
ID: 41836774
Try changing it in Control Panel, Default Programs. Use the Associate submenu.

Does this work?
1
 
LVL 19

Assisted Solution

by:Thommy
Thommy earned 125 total points
ID: 41836839
You have to change below registry key:
HKEY_CLASSES_ROOT\Unknown\shell\opendlg\command


This is how you can do it:

Type regedit in RUN dialog box

Go to HKEY_CLASSES_ROOT\Unknown\shell\opendlg\command

On right side change value of "Default" key exactly as below:
%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,OpenAs_RunDLL %1
1
 
LVL 19

Assisted Solution

by:Thommy
Thommy earned 125 total points
ID: 41836850
You can make it greyed-out again by adding " %2" or any other number from 2-9 to the key value
"%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,OpenAs_RunDLL %1"
1
 
LVL 4

Accepted Solution

by:
Uttam Kumar earned 250 total points
ID: 41837026
Backup registry key before editing. For me what worked was deleting the file type key in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts for which the option got greyed out, you can use .txt if happening only for this.
1
 

Author Closing Comment

by:dr_fred
ID: 41837849
Nice!
Deleted..
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt ->UserChoice
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question