Question How to re-enable "Always ask before opening this file type" ?

Status
Not open for further replies.

EyyMunchian

Honorable
Dec 28, 2016
321
30
10,940
When you run an application, it'll ask you to confirm if you want to run it and there is a small dialog option to remember that choice. I typically leave it checked meaning every time I download a program and run it, it will ask me to confirm. Unfortunately, I accidentally unchecked the box in haste and am struggling to find where in Windows I can re-enable that setting. This link shares my issue: https://superuser.com/questions/139...efore-opening-this-type-of-file-in-windows-10
I am browsing the internet for a solution, and everyone loves linking me to a Windows 7 solution to this issue. I am on Windows 10. If anyone knows please let me know!
Thank you!
 

Ralston18

Titan
Moderator
  • Like
Reactions: Phillip Corcoran

EyyMunchian

Honorable
Dec 28, 2016
321
30
10,940
Doesn't work because that registry doesn't exist on Windows 10
that registry key was tied to internet explorer, which is gone, so yeah no longer working :p

its in registry - hkey_classess_root, there find your file extension

lets say its .gif file
so adress would be: HKEY_CLASSES_ROOT\.gif
note that default data value, in this case its "giffile"
View: https://imgur.com/Ba5Nm5G


now go to HKEY_CLASSES_ROOT\giffile (replace "giffile" with whichever value you had on your extension)
View: https://imgur.com/cxN137v


on right side you will see EditFlags key, double click it, make sure that base is set to hexadecimal and replace it with value: 200000
thats the default


but on another look, since you have mentioned when downloading program and running it, thats more or less UAC or smartscreen related, isnt it?
so, ignore registry changes whats above if its for executable files

open explorer, type in adress bar:
Control Panel\User Accounts\User Accounts <--- not a typo xD
and there click on change user account control settings
move slider a bit, press ok to save changes, then open it again and return slider where it was (should be on "always notify" at top), then press ok to save again
you can close it now

press win +r and type in: inetcpl.cpl
go to advanced tab and there click on "restore advanced settings"

feel free to reboot afterwards

edit: forgot about smartscreen :)
 
Last edited:
When you run an application, it'll ask you to confirm if you want to run it and there is a small dialog option to remember that choice. I typically leave it checked meaning every time I download a program and run it, it will ask me to confirm. Unfortunately, I accidentally unchecked the box in haste and am struggling to find where in Windows I can re-enable that setting. This link shares my issue: https://superuser.com/questions/139...efore-opening-this-type-of-file-in-windows-10
I am browsing the internet for a solution, and everyone loves linking me to a Windows 7 solution to this issue. I am on Windows 10. If anyone knows please let me know!
Thank you!
Maybe.......type UAC in the search box.
 

EyyMunchian

Honorable
Dec 28, 2016
321
30
10,940
that registry key was tied to internet explorer, which is gone, so yeah no longer working :p

its in registry - hkey_classess_root, there find your file extension

lets say its .gif file
so adress would be: HKEY_CLASSES_ROOT\.gif
note that default data value, in this case its "giffile"
View: https://imgur.com/Ba5Nm5G


now go to HKEY_CLASSES_ROOT\giffile (replace "giffile" with whichever value you had on your extension)
View: https://imgur.com/cxN137v


on right side you will see EditFlags key, double click it, make sure that base is set to hexadecimal and replace it with value: 200000
thats the default


but on another look, since you have mentioned when downloading program and running it, thats more or less UAC or smartscreen related, isnt it?
so, ignore registry changes whats above if its for executable files

open explorer, type in adress bar:
Control Panel\User Accounts\User Accounts <--- not a typo xD
and there click on change user account control settings
move slider a bit, press ok to save changes, then open it again and return slider where it was (should be on "always notify" at top), then press ok to save again
you can close it now

press win +r and type in: inetcpl.cpl
go to advanced tab and there click on "restore advanced settings"

feel free to reboot afterwards

edit: forgot about smartscreen :)
Might be the first solution. It's not UAC nor is it SmartScreen. It's this dialogue. (I was getting this on Windows 10 despite this one being the windows 7 one, just the first one i can find)
Image: View: https://imgur.com/a/RJZM55F
 
Might be the first solution. It's not UAC nor is it SmartScreen. It's this dialogue. (I was getting this on Windows 10 despite this one being the windows 7 one, just the first one i can find)
Image: View: https://imgur.com/a/RJZM55F
this is from inetcpl security tab

View: https://imgur.com/eCNKud8


launching apps and unsafe files is set to prompt, which is what is on your picture

edit: correct registry key is
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones

that dialog box for launching downloaded content is DWORD 32bit key 1806, where data 0 = enabled, 1 = show popup, 3 = disabled

View: https://imgur.com/YnziJVk

but its somewhat buggy...lemme dig a little

edit: well then win 11 doesnt have that popup, just smartscreen+uac
 
Last edited:
Type "Notifications" in the Search box.

Next should be window System > Notifications

Scroll down:

Do you see a switch for "Startup App Notification"?

Is that what you are looking for?
no, i remember this dialog aswell, thats when you donwload something from internet and then you try to run it (first run of that downloaded executable), signed apps would throw this dialog, unsigned apps would show smartscreen
thats before UAC, used to be managed by internet zone security settings, but win 11 has that registry key removed, manualy adding it pops up "security has been changed" notification, while it bugs out when enabled from registry and refuses to open downloaded executable, zone security settings on downloaded apps doesnt add reg key and has no effect on its own
no clue if same thing happened with win 10, but it was part of internet security settings and could get borked when IE was removed

reading through this seems to be more complicated
 
Last edited:

Ralston18

Titan
Moderator
Interesting.

The following link (secpol) may prove helpful.

https://www.thewindowsclub.com/elevated-privileges-windows

On my system (Windows 11 Pro) the setting is "Not defined".

And there are quite a number of other UAC Controls available.

If the requirement is to notify and confirm the allowed start of any application the gist of that would be to deny (until confirmed) any admin rights needed by the app.

Lots of options within secpol including AppLocker.
 
Status
Not open for further replies.