Windows 10: How do i revert back to default .lua application

  1.    02 Dec 2016 #1

    How do i revert back to default .lua application


    So i've recently downloaded Civ 6, so I decided to look up some mods for it. Because it would make it abit more interesting.
    I had a mod that would require me to manually change some of the text in the file to my own liking.

    You probably guessed it by now, I forgot to tick off the "set default app" thing.

    I've played around with a lot of civ 5 mods in the past. So I feel so stupid to do the mistake now.
    I have tried going into cmd with admin and writing "assoc .lua=" but it didnt work, i've also tried to to locate the the default .lua app in the settings on windows 10. But I cannot revert it back, I only have the option to choose Notepad and some other apps.

    Can someone please help me? Civ 6 wont register the file unless it gets reverted back to its default "app" or w/e it is
      My ComputerSystem Spec

  2.    02 Dec 2016 #2

    .lua doesn't have an association by default in Windows.

    If you want to get rid of the association just open regedit and delete HKEY_CLASSES_ROOT\.lua or select .lua and blank out the (Default) value
      My ComputerSystem Spec

  3.    02 Dec 2016 #3

    That didnt work, it still shows as notepad as the default app
      My ComputerSystem Spec

  4.    02 Dec 2016 #4

    See if you have an association in regedit under HKEY_CURRENT_USER\SOFTWARE\Classes
      My ComputerSystem Spec

  5.    02 Dec 2016 #5

    There is a folder called "lua_auto_file"

    But nothing else that has anything with lua in it of the folders
      My ComputerSystem Spec

  6. Posts : 975
    Windows 10 Professional
       03 Dec 2016 #6

    Go to: Control Panel > Default Programs > Associate a file type...
      My ComputerSystem Spec

  7. Posts : 7,591
    10 Home x64 (1803) (10 Pro on 2nd pc)
       03 Dec 2016 #7

    Exiledmemphis said: View Post
    You probably guessed it by now, I forgot to tick off the "set default app" thing. ... But I cannot revert it back, I only have the option to choose Notepad and some other apps. ... Civ 6 wont register the file unless it gets reverted back to its default "app" or w/e it is
    A .lua file may be used by many different apps, particularly games.
    Lua is a powerful, efficient, lightweight, embeddable scripting language. ... Lua has been used in many industrial applications ... and games (e.g., World of Warcraft and Angry Birds).

    My guess is that you don't need to associate .lua with anything. It's probably just the fact it's already associated with something else that Civ 6 is objecting to.

    I have files with an extension .vdbsag, like your .lua it's not a known file extension for Windows. I've previously tried to associate this with 7zip File Manager (it couldn't open them) and then used File Explorer's 'Open with...' (ticking the 'always use this app...' box) to open it in Wordpad.

    Searching the Registry for all occurrences of 'vdbsag' found the following keys...

     containing the DWORD values: Applications\7zFM.exe_.vdbsag, Applications\WORDPAD.EXE_.vdbsag, vdbsag_auto_file_.vdbsag

    I deleted all the keys and values with 'vdbsag' in their name, after which File Explorer showed Open with... as the default action when I right-clicked on a .vdbsag file. Selecting Wordpad to open .vdbsag and ticking 'always use this app...' recreated them (except the 7zFM one, of course).

    Hope that helps.
      My ComputersSystem Spec


Related Threads
I some how changed file type .dst to open with Corel Draw. I need to change it back to unknown application. I am operating with Windows 10. I have tried going through control panel/default programs/ however it forces me to pick an application, no...
Solved upgrade to 10, revert to 7, then back to 10 in Installation and Upgrade
I have upgraded all of my one-generation-back Win boxes, but want to ease into 10 at leisure. As I understand it, the registry is modified at the first upgrade to 10 with the activation "approval", but I am concerned that this will be lost upon...
Solved Revert back to Win 7 in Installation and Upgrade
I had reloaded Win 7 just prior to my upgrade to WIN10. Dont normally like to do an upgradebut I was pretty sure it was still clean. So on 2/14/16 id did the upgrade so I'm in the 30 day timeframe if that makes any difference. I just don't really...
I was running win 10 bld 10130, but had no sound. Tried what I thought was everything to update the drivers, with no success. Finally reverted back to bld 10074. Still no sound, so I downloaded a driver program and it downloaded the needed new...
I recently upgraded to 10041, thinking after all the time spent, things would work a little better.. apparently, it didn't make things easier. I was just wondering if I can download the 9926 ISO and revert back to that and keep my files and...
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 11:40.
Find Us