All Questions
Tagged with windows-registry file-association
46
questions
0
votes
1
answer
71
views
How to get Windows always prompt an "open with" dialog?
As said, I want my Windows to always send me to "Open With" dialog, when I try to open a file.
There is a similar XPosed module for Android, named Kill Domain Verification, but it's working ...
0
votes
2
answers
600
views
Unable to remove entries in Windows File Explorer's New context menu which have no Registry ShellNew keys
On Windows File Explorer, I like to keep the New right-click context menu decluttered by removing most entries except those that I specifically want.
Thus, in the Registry, I delete (replacing "...
1
vote
0
answers
50
views
Fixing the broken .exe lin by associating the .exe to execfile prevents app from launching
Recently I started running into this issue that when I tried to open OneNote/Excel/PowerPoint, the .exe file would open up in Notepad.
I tried a bunch of things to solve this issue. A combination of ...
2
votes
1
answer
813
views
PowerShell, properly association .jar files with java.exe or javaw.exe
Using the answer from this question Copy Java installation to another system I can manually install Java (without running the installer) and port it to other systems. This works well.
However, I still ...
0
votes
1
answer
25
views
Pass along calling process when specifying open-with behavior for file types and protocols on Windows
To associate certain file types or protocols like https with a particular program it's possible to edit the registry and basically add an association that goes like this:
"C:\MyApp.exe" &...
1
vote
1
answer
3k
views
Win 11 Regedit - set Default app for HTTP / HTTPS launch from app (e.g. npm run serve)
I want a specific web browser to open when a Windows app calls to open a web browser. I've seen various solutions specific to Chrome, for example, but I'm not interested in Chrome-specific solutions.
...
0
votes
1
answer
498
views
Trouble with registry key updating/uninstalling iTunes
I am trying to update iTunes and the updater fails. So I then decided to manually download the installer, however it then throws an error saying it could not open the registry key HKLM\Software\...
1
vote
0
answers
321
views
How to change default "Edit" programs for .ahk file extension in Windows? [closed]
I need to change the default "Edit" program for file extension .ahk to Sublime Text in Windows.
How do I do that?
11
votes
4
answers
4k
views
Is there any straightforward way to replace notepad.exe in Windows 11?
After upgrading to Win 11 a bit over a week ago, I found that my Image File Execution (i.e. HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe) replacement for ...
1
vote
2
answers
116
views
How to create multiple Windows file extensions with different descriptions but identical actions?
In Windows 7, is it possible to have different file extensions with unique description names, but all the same actions, without duplicating all the actions (for each extension) in the Windows registry?...
3
votes
1
answer
2k
views
In Windows 10, how can we set an application to be the default for all of its supported file types?
I don't have much experience with the newer versions of Windows, and I'm having trouble doing something that I remember used to be possible in Windows 7.
When a program is installed, it was possible ...
2
votes
2
answers
340
views
How to associate a command with files that have no extension (Regedit)
I have several processes that generate files with no extension at all and would like to add a custom context menu menu (i.e. be able to right click on them and select 'open in Notepad' or 'make .txt ...
0
votes
0
answers
355
views
Change default behavior of a check box
When I double click a file that doesn't have a program associated with it, I get the How do you want to open this file? dialog box where I can chose a program, the problem is Always use this app to ...
1
vote
0
answers
444
views
How to fix .exe file associations on windows 7
I know that there are lot of similar questions on this site, but I've looked at over 10 of those, as well as some other websites, and none of the solutions I found seemed to work.
In short, I was ...
0
votes
1
answer
1k
views
Windows 7 64bit- Can't run batch files
I know a lot of people have posted on the internet about not being able to run batch files but I haven't been able to find a solution for myself.
I arrived at this problem trying to run a game I just ...
0
votes
1
answer
590
views
Issue associating ms-powerpoint protocol to powerpoint
When trying to open powerpoint through sharepoint or teams I get an error that no application is associated to the protocol (ms-powerpoint). This seems to be true when I check in windows setting but ...
1
vote
0
answers
77
views
Windows 10 command shell not running associated apps
Recently the behaviour of my CMD shell (windows 10) changed, and I have no idea why.
Previously , when typing the name of a script xxx.py or blabla.txt would either run the script using python or ...
3
votes
0
answers
151
views
How to extend the file types recognized by category in HKCR\SystemFileAssociations
I have a similar question to the one that was asked here: Custom Windows context menu shell command targetting documents: *.docx and *.pdf except I am concerned with Audio file types.
I want to ...
1
vote
1
answer
2k
views
How to add submenus to Windows (7 and above) right click dropdowns
I want to know how to modify the registry so that I can group menu-items in the dropdown menu (right-clicking from file in the explorer) and put those menu-items in submenus.
The picture illustrates ...
9
votes
3
answers
14k
views
I want to replace the default Windows 10 calculator with CalcTape.exe in the registry. How?
I want to replace the default Windows 10 calculator with CalcTape.exe in the registry. How and where would I find this in the Windows 10 registry editor? :-)
10
votes
1
answer
50k
views
Fully remove a default program association for file types in Windows 10?
Not a single answer from here worked for me.
I want to delete the .resource association with Total Commander.
Approach 1
I open registry, go to HKEY_CURRENT_USER\Software\Microsoft\Windows\...
1
vote
1
answer
1k
views
Windows 10 adds ---open-url to registry value for default program open command
I am running Windows 10.1803, build 17134.320. I am trying to get .asp files to open with VS Code. I went through the normal process, but no matter what, Windows would always ask me what program I ...
1
vote
1
answer
2k
views
How do I modify an Expandable String Value in the registry with PowerShell or a batch file?
I would like to use a PowerShell or batch script to modify an existing expandable string value to another. Specifically, I want to change the default value at
HKEY_CLASSES_ROOT\...
0
votes
0
answers
259
views
Accidentally Deleted '.exe' file association in Nullsoft script? [duplicate]
I accidentally changed the `.exe file association with the following Nullsoft script (generated by VBConverter)
# MyProg-Standard.nsi installation script
# Automatically generated by VB6Converter by ...
2
votes
2
answers
3k
views
Change the default program to open .bat files
I want to change the default program to open .bat files to cmder , so in the registry key : HKEY_CLASSES_ROOT\batfile\shell\open\command I did as following :
But when I open some .bat file I get the ...
7
votes
3
answers
30k
views
Default app for a bunch of URL Protocols controlled by .htm default app?
I was trying to setup my PC to open FTP and File urls in IE and everything else browser-related (http/https/html etc) in Chrome.
I've hit a snag - after manipulating just about every single registry ...
0
votes
1
answer
331
views
Manually set file type association with non-installed program via registry?
I seem to have an issue where I can no longer associate XML files with the editor I use, which is a portable version of EmEditor. It doesn't matter what I do, when I try to associate it using the "...
0
votes
1
answer
2k
views
Reset Batch File Open Command for Windows 10
Awhile ago I attempted to change the default editor program for batch files to Notepad++ but instead set the default way to open it.
I've attempted:
https://social.technet.microsoft.com/Forums/office/...
0
votes
0
answers
39
views
Windows file associations [duplicate]
I'm currently creating a .vbs script which is used to change the default program for a specific file extension however I'm not fully certain as to what registry keys/values I need to change. Doing a ...
2
votes
1
answer
661
views
Use an environment variable to point to an "Open With" program
I have Windows Vista, but I guess this pertains to other versions as well.
I want to set a program to be used in the Open With context menu. Now I want that the path to the .exe contain an environment ...
9
votes
1
answer
1k
views
What do these cryptic strings really mean in registry associations?
Looking at my HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command\command value (Word 2010 'Open' shell association) I see this sort of nonsense:
xb'BV5!!!!!!!!!MKKSkWORDFiles>bi$T!V!0Z={Pk0vm~...
0
votes
0
answers
2k
views
Fix .lnk file association WITHOUT admin/registry access
I managed to recreate the problems detailed here and here. I tried to use Notepad to open a .lnk file. Now all shorcuts appear as .lnk files, and open in Notepad. This isn't an uncommon problem and ...
-1
votes
1
answer
3k
views
How to remove extension association using regedit.exe?
Following my post here - Can't un-associate .css extension from Visual Stdio 2013
and the suggested solution - Why are certain default application associations "locked"?
What do I ...
1
vote
1
answer
526
views
Backup registry that stores file association data?
I want to backup only the registry that contain the file association data so after reinstalling windows i will be able to restore the file associations with restoring the registry. Which registry ...
4
votes
3
answers
2k
views
.cmd runs from cmd.exe but not from start menu / Run dialog
problem
If I run a .cmd file from cmd.exe it works fine. However if I run it from Start menu / Run line, it opens in Notepad++, my editor. (edit I've it installed for years, didn't update it recently....
1
vote
1
answer
141
views
Stop Office file type associations
Microsoft Office wants to use Microsoft Word as the default HTML editor. I do not want this. I changed the value at
HKEY_CLASSES_ROOT\htmlfile\shell\Edit\command
However the next time I start ...
0
votes
3
answers
3k
views
Restore default registry key
I associated "Unknown" files with notepad.exe, that is to say files with no or unknown extension.
HKEY_CLASSES_ROOT\Unknown
However I am not certain of the keys I changed to that effect. I would ...
5
votes
1
answer
4k
views
How to associate the mailto protocol with a custom exe?
In Windows 8, How do you set the default program for the mailto protocol to a custom exe? Under Default Programs, the only option I get is to select from a list of programs (Mail or Google Chrome) or ...
5
votes
1
answer
1k
views
Is there a tool for managing file extensions and their respective program command lines?
I'm trying to associate .appx files with a utility I wrote which needs a command line similar to appinstaller --install-only --force path\to\appxfile.appx. It also must run as an administrator
I ...
10
votes
1
answer
27k
views
What is the purpose of the .ZFSendToTarget extension?
I learned about this from watching a video about some "Tech Support" scam (watch the last 10 minutes if you want a good laugh) where one of the tactics used by the scammer is getting the victim to ...
20
votes
1
answer
118k
views
Where is the Default Program associations stored in the registry? [duplicate]
If I run the assoc command-line utility for an extension, it shows the file type/description for the extension I set in the registry. But if I go to Control Panel -> Default Programs - Set ...
3
votes
2
answers
16k
views
Repairing file associations for a user profile [duplicate]
Possible Duplicate:
How to repair a broken .EXE file association
A system that I'm working on got the Windows 7 Anti-Spyware 2012 virus. Before it was giving to me it had been running a while ...
12
votes
2
answers
25k
views
How to create registry key of type REG_NONE?
Information on files' associations are stored in HKLM\SOFTWARE\Classes and HKCU\SOFTWARE\Classes Windows' registry branches (among others). Each entry there can have OpenWithProgIDs key which adds ...
0
votes
2
answers
2k
views
Pictures clicked on Start Menu's Recent Items list opens in non default program
I am using Picasa Photo Viewer and have associated all JPG and PNG files to open with it. However when I open an image from the Recent Items list in the Windows 7 Start Menu it opens with Windows ...
12
votes
2
answers
21k
views
Delete Windows file association using .reg file
Question: Using a .reg file, how do I completely remove a file type association? I tried e.g. deleting HKEY_CLASSES_ROOT\myextension_auto_file but that's apparently not enough.
Background: On Windows ...
2
votes
2
answers
615
views
Prevent Windows XP running programs except for selected ones
Came accross a client with a badly virus infected computer.
One virus prevented the running of all programs except for those that the virus choose to allow.
Googling showed me how this might be done ...