• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Can't set default program in Windows

5.00 star(s)

xoggoth

More fingers than teeth
Joined
Jul 8, 2005
Messages
17,117
Likes received
4,942
Thanks received
1,183
Location
xoggoth towers
Searching net and nothing works, nobody seems to have quite the same problem.

I just want to click on php files and have them open in a text editor but keep getting the "Windows can't open this file" popup. I can then open by selecting the program but next time I get the pop up again even though the "Always use the selected program" thing is working and ticked.

In php file properties, "Opens with" shows Windows Shell Common Dll and I can't change it although my user account is shown as having full control.

In control panel/default programs/associate a file type with a program type php does not appear and there is no means of adding it.

This is only a problem in standard user, admin works ok.

Any ideas? Ta.
 
Searching net and nothing works, nobody seems to have quite the same problem.

I just want to click on php files and have them open in a text editor but keep getting the "Windows can't open this file" popup. I can then open by selecting the program but next time I get the pop up again even though the "Always use the selected program" thing is working and ticked.

In php file properties, "Opens with" shows Windows Shell Common Dll and I can't change it although my user account is shown as having full control.

In control panel/default programs/associate a file type with a program type php does not appear and there is no means of adding it.

This is only a problem in standard user, admin works ok.

Any ideas? Ta.

Can you not right clcik the file and select "Open With" there should be a check box that says always do this?

When you go into file properties and change the assoicated program the check box is greyed out, but not when you do it this way
 
Ta but no. All approaches get the same open with box and the same problem - it opens in selected program but next time it doesn't although "Always use this program" is ticked. It isn't greyed out (as relevant links on net) and is changeable, just doesn't help to tick it.
 
Last edited: 19:02
Try Start (or Search for Windows 8), Default Programs.

Either "Associate a file type or protocol with a program" or "Set your default programs" should work.
 
Can't. PHP does not appear in the file type list. Although it does for another user.
 
Run as administrator?
 
Cheers. Expect last may have worked but wanted to use PFE. Ancient but I like it.

Did everything I could find on net, changed to admin, permissions, fiddled with registry, used various utils, nowt worked.

In the end had to set up a new user and copy across the essential stuff. Copying all of appdata just copied the problem so it isn't to do with the registry.

PS Drag and drop onto PFE or use "send to" (that's just a folder in appdata) were alternatives but not quite so convenient as just clicking,
 
Last edited: 22:40
Cheers. Expect last may have worked but wanted to use PFE. Ancient but I like it.

Did everything I could find on net, changed to admin, permissions, fiddled with registry, used various utils, nowt worked.

In the end had to set up a new user and copy across the essential stuff. Copying all of appdata just copied the problem so it isn't to do with the registry.

PS Drag and drop onto PFE or use "send to" (that's just a folder in appdata) were alternatives but not quite so convenient as just clicking,

I've had this sort of issue with java webstart files.
It was caused by a dodgy entry in the registry giving duplicate entries for the registered program assigned to the file extension.
Windows didn't know which of the programs I wanted so it didn't open it at all and refused to let me reassign a default program.
It was originally caused by the evil Java update process.
I don't remember the exact registry key or even the branch, but the info above may be enough to help a google search.
 
Cheers. Got it sorted now by just creating a new user and being very selective about what I copy. Probably some install or update did it but so far has not recurred.
 

Advertisers

Back
Top