Windows 10: Custom file extension not working on Windows 10

  1.    10 Sep 2017 #1

    Custom file extension not working on Windows 10


    I added a custom file extension (".custom" for example) to HKEY_LOCAL_MACHINE\SOFTWARE\Classes, and set its value to "batfile", so it would run as a batch file. This works fine on all my machines, except the one running Windows 10. I get an error: "This app can't run on your PC", when I try to run anything with my custom extension ("file.custom" for example). The solutions online say to disable Windows SmartScreen or enable App Side-loading in the settings, but I do not have a Windows SmartScreen option available and App Side-loading is already enabled. One solution said that if you don't have the Windows SmartScreen option in Settings, then disable it in Windows Defender, but my Windows Defender is already disabled.
    I tried changing it's value to "txtfile" and it worked, but I couldn't change it back. Now, any time I make a new file extension, they all open as a text file regardless of what their value is. I've tried restarting the computer. I don't understand what is going on. Can anyone help me solve this issue?
      My ComputerSystem Spec

  2.    10 Sep 2017 #2

    Just considering Smart Screen:

    You should consider whether disabling a protective element of the OS is worth it.
    How to Disable the SmartScreen Filter In Windows 8 or 10

    If you have Win 10 Pro up, you could use group policy.
    Available Windows Defender SmartScreen Group Policy and mobile device management (MDM) settings (Windows 10) | Microsoft Docs

    http://www.askvg.com/tip-how-to-disa...in-windows-10/
    mentions a reg edit.

    You could also try accessing the Defender interface irrespective of whether Defender is disabled or not.
      My ComputerSystem Spec

  3.    11 Sep 2017 #3

    dalchina said: View Post
    Just considering Smart Screen:

    You should consider whether disabling a protective element of the OS is worth it.
    How to Disable the SmartScreen Filter In Windows 8 or 10

    If you have Win 10 Pro up, you could use group policy.
    Available Windows Defender SmartScreen Group Policy and mobile device management (MDM) settings (Windows 10) | Microsoft Docs

    http://www.askvg.com/tip-how-to-disa...in-windows-10/
    mentions a reg edit.

    You could also try accessing the Defender interface irrespective of whether Defender is disabled or not.
    That's irrelevant, because I said I don't have a SmartScreen option at all to disable or enable.
    Also, I can't access the Defender interface, because it's disabled.
      My ComputerSystem Spec

  4.    11 Sep 2017 #4

    Did you actually read what I posted for you?

    mentions a reg edit.
    A registry edit does NOT require Defender. Does it?

    No, you launch... Defender? No. The registry editor.

    If Windows is complaining about your custom stuff and Smart Screen, then surely smart screen issues are worth looking into.

    Good luck. Bye.
      My ComputerSystem Spec

  5.    11 Sep 2017 #5

    dalchina said: View Post
    Did you actually read what I posted for you?



    A registry edit does NOT require Defender. Does it?

    No, you launch... Defender? No. The registry editor.

    If Windows is complaining about your custom stuff and Smart Screen, then surely smart screen issues are worth looking into.

    Good luck. Bye.
    The registry edit did nothing. When I launch Defender, it doesn't open, because it's disabled. I have no SmartScreen options to look at.
      My ComputerSystem Spec


 

Related Threads
Hello, I use Notepad++ to edit Python files which have the file extension .py such as "sample.py" I would like to set Notepad++ as the default program to open .py files. When I open a .py file I get the popup asking me which file I want to use...
afp file extension? in Software and Apps
During cleaning up old personal documents I found documents with an afp file extension. These documents are 12 years old, made in the XP period. In view of the file names they should be normal text documents, made in Word or pdf. Maybe also in...
Solved File extension in General Support
How can I add a new file extension windows 10 Don Cole
File without extension in General Support
Hi everyone,I have download a file recently, called "download" which has no extension,so I wonder what it is. ***It's from onlinevideoconverter.com,I downloaded a song.
I have tried to download an Excel (.xls extension) from a web site I use. On download I get a file with a .xlsx extension which will not open in Windows Office 2010. I successfully downloaded the file using Chromodo so I assume there is something...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:29.
Find Us