SSMS wont give up file associations
up vote
2
down vote
favorite
Apparently this is a known Win10 bug and should hopefully be fixed in an upcoming update.
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql
files with SSMS.
I want to associate .sql
files with a plain text editor (eg: Sublime) but I am unable to change the default application. I have tried:
- Right click
.sql
file -> Open With -> Sublime + "Always use this program". - Settings -> Default Applications by File Type -> Find
.sql
-> Change to Sublime - Right click
.sql
file -> Properties -> "Change" button -> Sublime. - Using
ftype
via elevated command prompt as seen here
In all 3 cases, my selection is not reflected in any way, anywhere. The icon remains SSMS, and the file opens with SSMS.
Is there some kind of "File Association retention" setting within SSMS I am unaware of?
Edit: I can change the default application for non-SSMS-associated extensions without issue.
Edit: after deleting registry key HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sql
, .sql
files show a VSCode icon:
If I then double-click New Users.sql
, it opens with SSMS and a refresh of regedit shows the .sql
entry recreated with ssms.exe associated (the icon remains VSCode):
If I then right-click -> open with -> Choose Another App -> Select Sublime and hit "Always use this to open .sql files", it opens with Sublime and a refresh of regedit shows a new "b" entry created for Sublime. The icon remains VSCode, and double-clicking opens it in SSMS:
If I then delete the a
entry for ssms.exe
and rename b
-> a
such that only sublime exists, then double-click the .sql file, it opens with SSMS and generates a new b
entry for itself:
windows-10 file-association ssms
|
show 1 more comment
up vote
2
down vote
favorite
Apparently this is a known Win10 bug and should hopefully be fixed in an upcoming update.
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql
files with SSMS.
I want to associate .sql
files with a plain text editor (eg: Sublime) but I am unable to change the default application. I have tried:
- Right click
.sql
file -> Open With -> Sublime + "Always use this program". - Settings -> Default Applications by File Type -> Find
.sql
-> Change to Sublime - Right click
.sql
file -> Properties -> "Change" button -> Sublime. - Using
ftype
via elevated command prompt as seen here
In all 3 cases, my selection is not reflected in any way, anywhere. The icon remains SSMS, and the file opens with SSMS.
Is there some kind of "File Association retention" setting within SSMS I am unaware of?
Edit: I can change the default application for non-SSMS-associated extensions without issue.
Edit: after deleting registry key HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sql
, .sql
files show a VSCode icon:
If I then double-click New Users.sql
, it opens with SSMS and a refresh of regedit shows the .sql
entry recreated with ssms.exe associated (the icon remains VSCode):
If I then right-click -> open with -> Choose Another App -> Select Sublime and hit "Always use this to open .sql files", it opens with Sublime and a refresh of regedit shows a new "b" entry created for Sublime. The icon remains VSCode, and double-clicking opens it in SSMS:
If I then delete the a
entry for ssms.exe
and rename b
-> a
such that only sublime exists, then double-click the .sql file, it opens with SSMS and generates a new b
entry for itself:
windows-10 file-association ssms
What are the contents of the registry keyHKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sqlOpenWithList
? Do they change when you associate the files with Sublime or are they somehow locked? If they seem locked, right-click the key, choose Permissions and add a screenshot. Note this.
– harrymc
Nov 9 at 9:16
Deleting that key from registry,.sql
files show VSCode icon. Double-clicking file opens it in SSMS and creates new.sql
registry entry withssms.exe
. Open with -> anything adds new key "b", "c" etc in the OpenWithList.
– Alex McMillan
Nov 10 at 4:58
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. It’s also going to be fixed by the end of November. There really isn’t a work around at this time. All you can do is wait for the cumulative patch that fixes it.
– Ramhound
Nov 10 at 5:32
@Ramhound yeah I'm running 1803. Do you have any links you could share in an answer for me to accept?
– Alex McMillan
Nov 10 at 5:38
1
@AlexMcMillan There are about 12 duplicates here at SuperUser. Granted all with commentary from myself indicating it’s a bug.
– Ramhound
Nov 10 at 5:56
|
show 1 more comment
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Apparently this is a known Win10 bug and should hopefully be fixed in an upcoming update.
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql
files with SSMS.
I want to associate .sql
files with a plain text editor (eg: Sublime) but I am unable to change the default application. I have tried:
- Right click
.sql
file -> Open With -> Sublime + "Always use this program". - Settings -> Default Applications by File Type -> Find
.sql
-> Change to Sublime - Right click
.sql
file -> Properties -> "Change" button -> Sublime. - Using
ftype
via elevated command prompt as seen here
In all 3 cases, my selection is not reflected in any way, anywhere. The icon remains SSMS, and the file opens with SSMS.
Is there some kind of "File Association retention" setting within SSMS I am unaware of?
Edit: I can change the default application for non-SSMS-associated extensions without issue.
Edit: after deleting registry key HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sql
, .sql
files show a VSCode icon:
If I then double-click New Users.sql
, it opens with SSMS and a refresh of regedit shows the .sql
entry recreated with ssms.exe associated (the icon remains VSCode):
If I then right-click -> open with -> Choose Another App -> Select Sublime and hit "Always use this to open .sql files", it opens with Sublime and a refresh of regedit shows a new "b" entry created for Sublime. The icon remains VSCode, and double-clicking opens it in SSMS:
If I then delete the a
entry for ssms.exe
and rename b
-> a
such that only sublime exists, then double-click the .sql file, it opens with SSMS and generates a new b
entry for itself:
windows-10 file-association ssms
Apparently this is a known Win10 bug and should hopefully be fixed in an upcoming update.
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql
files with SSMS.
I want to associate .sql
files with a plain text editor (eg: Sublime) but I am unable to change the default application. I have tried:
- Right click
.sql
file -> Open With -> Sublime + "Always use this program". - Settings -> Default Applications by File Type -> Find
.sql
-> Change to Sublime - Right click
.sql
file -> Properties -> "Change" button -> Sublime. - Using
ftype
via elevated command prompt as seen here
In all 3 cases, my selection is not reflected in any way, anywhere. The icon remains SSMS, and the file opens with SSMS.
Is there some kind of "File Association retention" setting within SSMS I am unaware of?
Edit: I can change the default application for non-SSMS-associated extensions without issue.
Edit: after deleting registry key HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sql
, .sql
files show a VSCode icon:
If I then double-click New Users.sql
, it opens with SSMS and a refresh of regedit shows the .sql
entry recreated with ssms.exe associated (the icon remains VSCode):
If I then right-click -> open with -> Choose Another App -> Select Sublime and hit "Always use this to open .sql files", it opens with Sublime and a refresh of regedit shows a new "b" entry created for Sublime. The icon remains VSCode, and double-clicking opens it in SSMS:
If I then delete the a
entry for ssms.exe
and rename b
-> a
such that only sublime exists, then double-click the .sql file, it opens with SSMS and generates a new b
entry for itself:
windows-10 file-association ssms
windows-10 file-association ssms
edited Nov 10 at 5:46
asked Nov 7 at 0:56
Alex McMillan
637
637
What are the contents of the registry keyHKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sqlOpenWithList
? Do they change when you associate the files with Sublime or are they somehow locked? If they seem locked, right-click the key, choose Permissions and add a screenshot. Note this.
– harrymc
Nov 9 at 9:16
Deleting that key from registry,.sql
files show VSCode icon. Double-clicking file opens it in SSMS and creates new.sql
registry entry withssms.exe
. Open with -> anything adds new key "b", "c" etc in the OpenWithList.
– Alex McMillan
Nov 10 at 4:58
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. It’s also going to be fixed by the end of November. There really isn’t a work around at this time. All you can do is wait for the cumulative patch that fixes it.
– Ramhound
Nov 10 at 5:32
@Ramhound yeah I'm running 1803. Do you have any links you could share in an answer for me to accept?
– Alex McMillan
Nov 10 at 5:38
1
@AlexMcMillan There are about 12 duplicates here at SuperUser. Granted all with commentary from myself indicating it’s a bug.
– Ramhound
Nov 10 at 5:56
|
show 1 more comment
What are the contents of the registry keyHKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sqlOpenWithList
? Do they change when you associate the files with Sublime or are they somehow locked? If they seem locked, right-click the key, choose Permissions and add a screenshot. Note this.
– harrymc
Nov 9 at 9:16
Deleting that key from registry,.sql
files show VSCode icon. Double-clicking file opens it in SSMS and creates new.sql
registry entry withssms.exe
. Open with -> anything adds new key "b", "c" etc in the OpenWithList.
– Alex McMillan
Nov 10 at 4:58
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. It’s also going to be fixed by the end of November. There really isn’t a work around at this time. All you can do is wait for the cumulative patch that fixes it.
– Ramhound
Nov 10 at 5:32
@Ramhound yeah I'm running 1803. Do you have any links you could share in an answer for me to accept?
– Alex McMillan
Nov 10 at 5:38
1
@AlexMcMillan There are about 12 duplicates here at SuperUser. Granted all with commentary from myself indicating it’s a bug.
– Ramhound
Nov 10 at 5:56
What are the contents of the registry key
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sqlOpenWithList
? Do they change when you associate the files with Sublime or are they somehow locked? If they seem locked, right-click the key, choose Permissions and add a screenshot. Note this.– harrymc
Nov 9 at 9:16
What are the contents of the registry key
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sqlOpenWithList
? Do they change when you associate the files with Sublime or are they somehow locked? If they seem locked, right-click the key, choose Permissions and add a screenshot. Note this.– harrymc
Nov 9 at 9:16
Deleting that key from registry,
.sql
files show VSCode icon. Double-clicking file opens it in SSMS and creates new .sql
registry entry with ssms.exe
. Open with -> anything adds new key "b", "c" etc in the OpenWithList.– Alex McMillan
Nov 10 at 4:58
Deleting that key from registry,
.sql
files show VSCode icon. Double-clicking file opens it in SSMS and creates new .sql
registry entry with ssms.exe
. Open with -> anything adds new key "b", "c" etc in the OpenWithList.– Alex McMillan
Nov 10 at 4:58
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. It’s also going to be fixed by the end of November. There really isn’t a work around at this time. All you can do is wait for the cumulative patch that fixes it.
– Ramhound
Nov 10 at 5:32
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. It’s also going to be fixed by the end of November. There really isn’t a work around at this time. All you can do is wait for the cumulative patch that fixes it.
– Ramhound
Nov 10 at 5:32
@Ramhound yeah I'm running 1803. Do you have any links you could share in an answer for me to accept?
– Alex McMillan
Nov 10 at 5:38
@Ramhound yeah I'm running 1803. Do you have any links you could share in an answer for me to accept?
– Alex McMillan
Nov 10 at 5:38
1
1
@AlexMcMillan There are about 12 duplicates here at SuperUser. Granted all with commentary from myself indicating it’s a bug.
– Ramhound
Nov 10 at 5:56
@AlexMcMillan There are about 12 duplicates here at SuperUser. Granted all with commentary from myself indicating it’s a bug.
– Ramhound
Nov 10 at 5:56
|
show 1 more comment
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql files with SSMS. I want to associate .sql files with a plain text editor (eg: Sublime) but I am unable to change the default application.
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. The bug first appeared on PCs running Windows 10 April 2018 Update Build 17134.320 (KB4458469) which was issued on October 9. It also appears on PCs running Windows 10 October 2018 Update Build 17763.55 (KB4464330) which was also issued on October 9th, 2018.
Microsoft issued a patch (KB4467682) in order to this issue on November 27th, 2018. At this time, the patch only resolves the problem, for PCs running Windows 10 April 2018 Update.
Addresses an issue that prevents some users from setting Win32 program defaults for certain app and file type combinations using the Open with… command or Settings > Apps > Default apps.
Source
This information took my thinking in a completely different direction; thanks.
– Alex McMillan
Nov 10 at 5:53
1
This likely will be resolved with a build equal or greater to 17763.165+ for the October 2018 Update (1809) based on an analysis of when 17134.441 was built compared to when it was released (about 10 days).
– Ramhound
Nov 27 at 20:09
add a comment |
up vote
0
down vote
I could not get 7zFM.exe to be the default program for it's own .7z ext files. I also could not get the .7z ext's to show up in Windows 10's own "Set defaults by extension type" menu. It didn't even exist in the list. This registry change fixed it and now all .7z extensions are openable with 7zFM.exe and the correct icon shows up next to the files as well instead of the blank white boxes that were there before.
MAKE SURE YOU BACKUP YOUR REGISTRY BEFORE MAKING ANY CHANGES.
Add the below to notepad or your editor of choice and save the file as "7z.reg"
Merge the file and see if it helps you too.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7z]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithList]
"a"="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\OpenWith.exe"
"b"="Microsoft.Windows.Explorer"
"c"="7zFM.exe"
"MRUList"="cab"
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithProgids]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zUserChoice]
"Hash"="H61W157831A="
"ProgId"="Applications\7zFM.exe"
This is a different issue altogether.
– Alex McMillan
Nov 27 at 11:06
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql files with SSMS. I want to associate .sql files with a plain text editor (eg: Sublime) but I am unable to change the default application.
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. The bug first appeared on PCs running Windows 10 April 2018 Update Build 17134.320 (KB4458469) which was issued on October 9. It also appears on PCs running Windows 10 October 2018 Update Build 17763.55 (KB4464330) which was also issued on October 9th, 2018.
Microsoft issued a patch (KB4467682) in order to this issue on November 27th, 2018. At this time, the patch only resolves the problem, for PCs running Windows 10 April 2018 Update.
Addresses an issue that prevents some users from setting Win32 program defaults for certain app and file type combinations using the Open with… command or Settings > Apps > Default apps.
Source
This information took my thinking in a completely different direction; thanks.
– Alex McMillan
Nov 10 at 5:53
1
This likely will be resolved with a build equal or greater to 17763.165+ for the October 2018 Update (1809) based on an analysis of when 17134.441 was built compared to when it was released (about 10 days).
– Ramhound
Nov 27 at 20:09
add a comment |
up vote
2
down vote
accepted
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql files with SSMS. I want to associate .sql files with a plain text editor (eg: Sublime) but I am unable to change the default application.
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. The bug first appeared on PCs running Windows 10 April 2018 Update Build 17134.320 (KB4458469) which was issued on October 9. It also appears on PCs running Windows 10 October 2018 Update Build 17763.55 (KB4464330) which was also issued on October 9th, 2018.
Microsoft issued a patch (KB4467682) in order to this issue on November 27th, 2018. At this time, the patch only resolves the problem, for PCs running Windows 10 April 2018 Update.
Addresses an issue that prevents some users from setting Win32 program defaults for certain app and file type combinations using the Open with… command or Settings > Apps > Default apps.
Source
This information took my thinking in a completely different direction; thanks.
– Alex McMillan
Nov 10 at 5:53
1
This likely will be resolved with a build equal or greater to 17763.165+ for the October 2018 Update (1809) based on an analysis of when 17134.441 was built compared to when it was released (about 10 days).
– Ramhound
Nov 27 at 20:09
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql files with SSMS. I want to associate .sql files with a plain text editor (eg: Sublime) but I am unable to change the default application.
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. The bug first appeared on PCs running Windows 10 April 2018 Update Build 17134.320 (KB4458469) which was issued on October 9. It also appears on PCs running Windows 10 October 2018 Update Build 17763.55 (KB4464330) which was also issued on October 9th, 2018.
Microsoft issued a patch (KB4467682) in order to this issue on November 27th, 2018. At this time, the patch only resolves the problem, for PCs running Windows 10 April 2018 Update.
Addresses an issue that prevents some users from setting Win32 program defaults for certain app and file type combinations using the Open with… command or Settings > Apps > Default apps.
Source
I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all .sql files with SSMS. I want to associate .sql files with a plain text editor (eg: Sublime) but I am unable to change the default application.
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. The bug first appeared on PCs running Windows 10 April 2018 Update Build 17134.320 (KB4458469) which was issued on October 9. It also appears on PCs running Windows 10 October 2018 Update Build 17763.55 (KB4464330) which was also issued on October 9th, 2018.
Microsoft issued a patch (KB4467682) in order to this issue on November 27th, 2018. At this time, the patch only resolves the problem, for PCs running Windows 10 April 2018 Update.
Addresses an issue that prevents some users from setting Win32 program defaults for certain app and file type combinations using the Open with… command or Settings > Apps > Default apps.
Source
edited Nov 27 at 20:05
answered Nov 10 at 5:51
Ramhound
19.5k156084
19.5k156084
This information took my thinking in a completely different direction; thanks.
– Alex McMillan
Nov 10 at 5:53
1
This likely will be resolved with a build equal or greater to 17763.165+ for the October 2018 Update (1809) based on an analysis of when 17134.441 was built compared to when it was released (about 10 days).
– Ramhound
Nov 27 at 20:09
add a comment |
This information took my thinking in a completely different direction; thanks.
– Alex McMillan
Nov 10 at 5:53
1
This likely will be resolved with a build equal or greater to 17763.165+ for the October 2018 Update (1809) based on an analysis of when 17134.441 was built compared to when it was released (about 10 days).
– Ramhound
Nov 27 at 20:09
This information took my thinking in a completely different direction; thanks.
– Alex McMillan
Nov 10 at 5:53
This information took my thinking in a completely different direction; thanks.
– Alex McMillan
Nov 10 at 5:53
1
1
This likely will be resolved with a build equal or greater to 17763.165+ for the October 2018 Update (1809) based on an analysis of when 17134.441 was built compared to when it was released (about 10 days).
– Ramhound
Nov 27 at 20:09
This likely will be resolved with a build equal or greater to 17763.165+ for the October 2018 Update (1809) based on an analysis of when 17134.441 was built compared to when it was released (about 10 days).
– Ramhound
Nov 27 at 20:09
add a comment |
up vote
0
down vote
I could not get 7zFM.exe to be the default program for it's own .7z ext files. I also could not get the .7z ext's to show up in Windows 10's own "Set defaults by extension type" menu. It didn't even exist in the list. This registry change fixed it and now all .7z extensions are openable with 7zFM.exe and the correct icon shows up next to the files as well instead of the blank white boxes that were there before.
MAKE SURE YOU BACKUP YOUR REGISTRY BEFORE MAKING ANY CHANGES.
Add the below to notepad or your editor of choice and save the file as "7z.reg"
Merge the file and see if it helps you too.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7z]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithList]
"a"="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\OpenWith.exe"
"b"="Microsoft.Windows.Explorer"
"c"="7zFM.exe"
"MRUList"="cab"
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithProgids]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zUserChoice]
"Hash"="H61W157831A="
"ProgId"="Applications\7zFM.exe"
This is a different issue altogether.
– Alex McMillan
Nov 27 at 11:06
add a comment |
up vote
0
down vote
I could not get 7zFM.exe to be the default program for it's own .7z ext files. I also could not get the .7z ext's to show up in Windows 10's own "Set defaults by extension type" menu. It didn't even exist in the list. This registry change fixed it and now all .7z extensions are openable with 7zFM.exe and the correct icon shows up next to the files as well instead of the blank white boxes that were there before.
MAKE SURE YOU BACKUP YOUR REGISTRY BEFORE MAKING ANY CHANGES.
Add the below to notepad or your editor of choice and save the file as "7z.reg"
Merge the file and see if it helps you too.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7z]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithList]
"a"="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\OpenWith.exe"
"b"="Microsoft.Windows.Explorer"
"c"="7zFM.exe"
"MRUList"="cab"
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithProgids]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zUserChoice]
"Hash"="H61W157831A="
"ProgId"="Applications\7zFM.exe"
This is a different issue altogether.
– Alex McMillan
Nov 27 at 11:06
add a comment |
up vote
0
down vote
up vote
0
down vote
I could not get 7zFM.exe to be the default program for it's own .7z ext files. I also could not get the .7z ext's to show up in Windows 10's own "Set defaults by extension type" menu. It didn't even exist in the list. This registry change fixed it and now all .7z extensions are openable with 7zFM.exe and the correct icon shows up next to the files as well instead of the blank white boxes that were there before.
MAKE SURE YOU BACKUP YOUR REGISTRY BEFORE MAKING ANY CHANGES.
Add the below to notepad or your editor of choice and save the file as "7z.reg"
Merge the file and see if it helps you too.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7z]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithList]
"a"="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\OpenWith.exe"
"b"="Microsoft.Windows.Explorer"
"c"="7zFM.exe"
"MRUList"="cab"
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithProgids]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zUserChoice]
"Hash"="H61W157831A="
"ProgId"="Applications\7zFM.exe"
I could not get 7zFM.exe to be the default program for it's own .7z ext files. I also could not get the .7z ext's to show up in Windows 10's own "Set defaults by extension type" menu. It didn't even exist in the list. This registry change fixed it and now all .7z extensions are openable with 7zFM.exe and the correct icon shows up next to the files as well instead of the blank white boxes that were there before.
MAKE SURE YOU BACKUP YOUR REGISTRY BEFORE MAKING ANY CHANGES.
Add the below to notepad or your editor of choice and save the file as "7z.reg"
Merge the file and see if it helps you too.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7z]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithList]
"a"="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\OpenWith.exe"
"b"="Microsoft.Windows.Explorer"
"c"="7zFM.exe"
"MRUList"="cab"
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zOpenWithProgids]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.7zUserChoice]
"Hash"="H61W157831A="
"ProgId"="Applications\7zFM.exe"
answered Nov 27 at 1:10
slyfox1186
1
1
This is a different issue altogether.
– Alex McMillan
Nov 27 at 11:06
add a comment |
This is a different issue altogether.
– Alex McMillan
Nov 27 at 11:06
This is a different issue altogether.
– Alex McMillan
Nov 27 at 11:06
This is a different issue altogether.
– Alex McMillan
Nov 27 at 11:06
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1373310%2fssms-wont-give-up-file-associations%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What are the contents of the registry key
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.sqlOpenWithList
? Do they change when you associate the files with Sublime or are they somehow locked? If they seem locked, right-click the key, choose Permissions and add a screenshot. Note this.– harrymc
Nov 9 at 9:16
Deleting that key from registry,
.sql
files show VSCode icon. Double-clicking file opens it in SSMS and creates new.sql
registry entry withssms.exe
. Open with -> anything adds new key "b", "c" etc in the OpenWithList.– Alex McMillan
Nov 10 at 4:58
If you are running Windows 10 1803 or 1809 this is a known confirmed bug. It’s also going to be fixed by the end of November. There really isn’t a work around at this time. All you can do is wait for the cumulative patch that fixes it.
– Ramhound
Nov 10 at 5:32
@Ramhound yeah I'm running 1803. Do you have any links you could share in an answer for me to accept?
– Alex McMillan
Nov 10 at 5:38
1
@AlexMcMillan There are about 12 duplicates here at SuperUser. Granted all with commentary from myself indicating it’s a bug.
– Ramhound
Nov 10 at 5:56