"Always use selected program" - Always Checked or Unchecked

How to Have "Always use selected program" Always Checked or Unchecked in "Open with"


   Information
This will show you how to have the Always use the selected program to open this kind of file check box to always be checked or unchecked by default in the Open with dialog box in Windows 7 and Vista.

You must be logged in as an administrator to be able to do this tutorial.


EXAMPLE: "Open with" with "Always use selected program" Always Unchecked by Default
Open-with.jpg



OPTION ONE

To Have "Always use selected program" Check Box Always Unchecked by Default


1. Go to the site below, or click on the Download button below, to download the MyOpenAs.zip file.
How to display the "Open With" dialog box with the "Always associate this program" checkbox unchecked by default | The Hows and Whys of Windows

OR


Download




OR

(Direct download below)


Download


2. Click on Save, save the zip file to your desktop, and extract all (drag and drop) contents of the zip to your desktop. (see screenshot below)
extracted-contents.jpg
3. Do either step 4 or 5 below depending on if you have 32-bit (x86) or 64-bit(x64) Windows 7 or Vista installed.

4. If you have 32-bit (x86) Windows 7 or Vista Installed
A) Open the extracted x86 folder from step 2, and copy and paste the MyOpenAs.dll file into the C:\Windows\System32 folder.

B) If prompted, click on Continue and Yes to approve pasting it into the C:\Windows\System32 folder.

C) Go to step 6.
5. If you have 64-bit (x64) Windows 7 or Vista Installed
A) Open the extracted x64 folder from step 2, and copy and paste the MyOpenAs.dll file into the C:\Windows\System32 folder.

B) If prompted, click on Continue and Yes to approve pasting it into the C:\Windows\System32 folder.

C) Go to step 6.
6. Right click on the extracted MyOpenAs.reg file from step 2, and click on Merge.

7. If prompted, click on Run, Yes (UAC-Windows 7) or Continue (UAC-Vista), Yes, and OK.

8. Go to the site below, and follow the instructions there.
How to display the "Open With" dialog box with the ?Always associate this program? checkbox unchecked by default ? Part III | The Hows and Whys of Windows






OPTION TWO

To Have "Always use selected program" Check Box Always Checked by Default


NOTE: This is the default setting.
1. Go to the site below, or click on the Download button below, to download the MyOpenAs.zip file.
How to display the "Open With" dialog box with the "Always associate this program" checkbox unchecked by default | The Hows and Whys of Windows

OR


Download



OR

(Direct download below)


Download


2. Click on Save, save the zip file to your desktop, and extract all (drag and drop) contents of the zip to your desktop. (see screenshot below)
extracted-contents.jpg
3. Right click on the extracted MyOpenAs_RestoreDefaults.reg file from step 2, and click on Merge.

4. If prompted, click on Run, Yes (UAC-Windows 7) or Continue (UAC-Vista), Yes, and OK.

5. Open the C:\Windows\System32 folder in Windows Explorer, and delete the MyOpenAs.dll file. (see screenshot below)
System32.jpg
6. If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista) to approve deleting it.

7. Go to the site below, and follow the instructions there.
How to display the "Open With" dialog box with the ?Always associate this program? checkbox unchecked by default ? Part III | The Hows and Whys of Windows



That's it,
Shawn


 

Attachments

Last edited:
This should be the default factory setting. I find unbelievable that Microsoft went to such extent to make their OS secure, castrating users of their basic rights, but left that checkmark so that inexperienced users can easily install spyware and rogue programs.
 

My Computer

Computer Manufacturer/Model Number
custom
OS
Windows 7 Home Premium 64 bit
CPU
3.40 gigahertz Intel Core i7-2600K
Motherboard
Gigabyte
Memory
2 TB
Monitor(s) Displays
Samsung SyncMaster 275T 27 inch
Hard Drives
2x 120GB AData SSDs
PSU
NotSure
Cooling
air
Hello Nondisposable,

I agree that it would be best to have it always unchecked to be safe. I suppose that Microsoft felt that if you went to the trouble to change the "Open with" program, then you would most likely want to have it as the new default program as well, so they were just trying to make it more convenient to do so. To bad, it could backfire on the inexperienced though.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
So far I have managed to Extract but how do I find the system32 folder to do the "copy/paste" step?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
emachines
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X2 220 Processor
Motherboard
eMachines EL1358G
Memory
3.00 GB
Graphics Card(s)
NVIDIA GeForce 6150SE nForce 430
Sound Card
Realtek High Definition Audio
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
(1) WDC WD10 EADX-22TDHB0 SCSI Disk Device (2) Generic- Multi-Card USB Device
Keyboard
came with PC
Mouse
came with PC
Antivirus
Avast
Browser
IE 9
Other Info
don't know how to get info for the other 5 areas
Hello Grits,

You would need to open Windows Explorer, manually navigate to the C:\Windows\System32 folder, and open the System32 folder. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Whew, stumbled a bit but believe I got it done, now do I save or delete everything except the two that got copied/pasted & merged?

Thanks.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
emachines
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X2 220 Processor
Motherboard
eMachines EL1358G
Memory
3.00 GB
Graphics Card(s)
NVIDIA GeForce 6150SE nForce 430
Sound Card
Realtek High Definition Audio
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
(1) WDC WD10 EADX-22TDHB0 SCSI Disk Device (2) Generic- Multi-Card USB Device
Keyboard
came with PC
Mouse
came with PC
Antivirus
Avast
Browser
IE 9
Other Info
don't know how to get info for the other 5 areas
You're most welcome. Nope that's it. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
File not found anyone has it please share

File not found anyone has it please share
 

My Computer

Computer type
Laptop
OS
Windows 7 X64
Hello Rachini, and welcome to Seven Forums.

Looks like their server is down for now. I've added a direct download link for the file to use. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Doesn't Work For Unknown Filetypes

This does not work if opening an unknown filetype (aka a file for which there isn't already a program associated); in that case, the checkbox is still checked by default. This only seems to work if you right-click a file that's *already* associated with a program, and Open With->Choose default program.

It appears that the dll posted is part 1 of the tutorial here: http://blogs.msmvps.com/dmartin/blo...e-this-program-checkbox-unchecked-by-default/

...But omits part 3, for a complete solution: http://blogs.msmvps.com/dmartin/blo...ogram-checkbox-unchecked-by-default-part-iii/
 

My Computer

OS
Windows 7
Thank you metal450. Tutorial updated. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
If you have a look at the part 3 link, he's expanded his dll to provide a complete solution. However, the link is dead (same as your 1st "download" link - only the 2nd link, which you've mirrored here on sevenforums works). In other words, the DLL you've posted is for the partial solution, and linking to his "part 3" article doesn't really enable the complete solution as it describes a different DLL than you've posted - which is no longer available on his site :(
 

My Computer

OS
Windows 7
It looks like we are stuck with the current partial solution unless someone has a copy of the MyOpenAs_v2.zip file from part 3, and would like to upload it here to share.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
For the perpetually inquisitive, the reg entry changes HKEY_CLASSES_ROOT\Unknown\shell\opendlg\command

from
%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,OpenAs_RunDLL %1
to
%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\MyOpenAs.dll,MyOpenAs_RunDLL %1
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 64bit
CPU
2.2
Memory
8Gb
Graphics Card(s)
NVIDIA
Screen Resolution
1280/762
Mouse
built in pad || iphone || MS wireless
Internet Speed
100MB
Antivirus
Avast
Browser
Chrome, Chrome portable
For the perpetually inquisitive, the reg entry changes HKEY_CLASSES_ROOT\Unknown\shell\opendlg\command

from
%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,OpenAs_RunDLL %1
to
%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\MyOpenAs.dll,MyOpenAs_RunDLL %1
Thanks for bumping this old tut. This has bugged me for years and I never heard of this solution before!

:o:D
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude E6540 Laptop
OS
Windows 7 Professional 64bit
CPU
Intel Core i7 4600M @ 2.90GHz
Motherboard
Dell Inc. 0CYT5F (SOCKET 0)
Memory
16.0GB Dual-Channel DDR3 @ 797MHz (11-11-11-28)
Graphics Card(s)
Intel HD Graphics 4600 (Dell) 2048MB ATI AMD Radeon HD 8790M
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
HP ZR30w (2560x1600@60Hz)
Hard Drives
256GB LITEONIT LMT-256M6M-41 mm SATA (SSD)
1TB Samsung SSD 860 EVO mSATA SATA (SSD)
2TB USB 3.0 USB Device
115GB SanDisk Ultra Fit USB
Other Info
Multiple Dell E-Port Plus II Port Replicator/Docking Stations 0Y72NH USB 3.0 + 130W AC Adapters
pleasure!

sadly, I suspect that v2 full-solution is forever lost - sent a msg to a grateful commentator but couldn't reach the original webmaster, and wayback doesn't have that zip cached... nearly installed some dev stuff, might waste another night trying to take reveng on MS!
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 64bit
CPU
2.2
Memory
8Gb
Graphics Card(s)
NVIDIA
Screen Resolution
1280/762
Mouse
built in pad || iphone || MS wireless
Internet Speed
100MB
Antivirus
Avast
Browser
Chrome, Chrome portable

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Satellite L640
OS
Windows 7 Ultimate x64
CPU
Intel Core i3
Memory
8GB
Graphics Card(s)
integrated
Hard Drives
750GB Hybrid Seagate
It looks like we are stuck with the current partial solution unless someone has a copy of the MyOpenAs_v2.zip file from part 3, and would like to upload it here to share.


That file is currently, once again available from the author's site. I just read that series of articles & downloaded it before looking at this thread. Here's the link:

http://www.wintecnico.com/Ficheros/MyOpenAs_v2.zip



In your tutorial, the last item (#8) of option one needs to be edited. Have you actually read those 3 posts about this issue?
Sending folks to follow the instructions on that site doesn't make any sense & creates confusion because there are NO instructions per se in his article- he explains the scope of the issue and traces how he created the DLL but doesn't explain how to use it; essentially sending folks on a wild goose chase!
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Satellite L640
OS
Windows 7 Ultimate x64
CPU
Intel Core i3
Memory
8GB
Graphics Card(s)
integrated
Hard Drives
750GB Hybrid Seagate
Hello AuralArch,

The link you posted doesn't work.

Considering this tutorial was originally posted in 2011, it's not uncommon for the site linked to have changed by then, and not noticed.

I'll see if I can find a new solution.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thank you very much , it was very helpful to me , and solve my problem .
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude - Laptop
OS
Windows 7 Ultimate 64-bit SP1
CPU
Intel Core i5 2520M Sandy Bridge 32nm Technology
Motherboard
Dell Inc. 032T9K (CPU 1)
Memory
Type DDR3 Size 4096 MBytes
Graphics Card(s)
PnP Monitor (1600x900@40Hz) 511MB NVIDIA NVS 4200M (Dell)
Hard Drives
WDC WD3200BEKT-75PVMT1
Manufacturer Western Digital
Form Factor GB/2.5-inch
Business Unit/Brand Mobile/WD Scorpio
Antivirus
Microsoft Security Essentials
Browser
Firefox 45 on Windows 7
Back
Top