Windows 10: Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have.

Discus and support Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have. in Windows 10 Support to solve the problem; So, I'm not gonna lie, I'm a geek and I just done goofed bad. I was trying to fix an irritating problem - I accidentally set a file to "always open"... Discussion in 'Windows 10 Support' started by AlexM13, Jul 7, 2017.

  1. AlexM13 Win User

    Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have.


    So, I'm not gonna lie, I'm a geek and I just done goofed bad.

    I was trying to fix an irritating problem - I accidentally set a file to "always open" .dat files and .pak files (I was using a tool to extract certain files from generic data files). I also did it with .exe because I was trying to look into something with an exe too.

    Overall, I was just annoyed that this icon shows up for dat and pak files when they're just generic files and it shouldn't. But you can't just go into Default Programs and set it to "nothing" - if you don't have a program to fall back on, it's locked.

    So I go a bit nuclear here and go into RegEdit and go and delete the keys for exe, dat, and pak entirely.

    Yeahhh... I didn't know what it would do and it seems it wasn't terribly smart.

    -----

    Now I can't open ANY exes. Further, no files AT ALL can be opened because all files are associated to an exe program to open them. For example - can't open .txt files because .txt needs to be opened by notepad.exe... which Windows doesn't know how to open anymore.

    I can't run CMD.

    I can't run Windows Powershell.

    I can't run regedit.

    I can't open anything using Run.

    I can't open Task Manager.

    I bet if you sent me the reg files to fix it, it wouldn't be able to because it'd need to talk to RegEdit to work.

    So... pretty bad error I've made here.

    I know better than to reboot the system - I figure that may just lock me out of the system for good. I can still use Windows Explorer for now, but I figure that's just because I haven't closed it since I changed the registry key.

    I've already begun the process of backing up all files on the system I really wanna keep - Documents, Downloads, Music, Pictures, and Videos, and I've got my other USB for booting from USB and format/reinstall Windows all over again ready, in case this is really a system-breaking mistake I've made.

    ... least it'll fix the registry issue I had. Kinda funny it went this far over something so small though.


    This leaves me with a curious question... I thought exes are their own thing? Why does Windows think it needs something to open it? Is there something in Windows that typically handles exes? Perhaps I could fix this simply by changing the default program to the system file that's meant to handle it. I dunno, this is something I don't know about and could be something to learn - what actually handles exes. I thought they were just binary blobs that just run themselves.

    Perhaps I've confused Windows to think there's supposed to be a default program for a type of file that there shouldn't be any default program for. I dunno.


    Does anyone by chance know how to fix this without reinstalling Windows?

    I figure this may be something a reboot might fix when Windows is trying to boot and it realizes something is amiss, but I don't wanna take that risk - for now I'm leaving it on so that I at least have access to file explorer. Keep in mind though.. no programs can be launched, not even system ones.

    Thanks.

    :)
     
    AlexM13, Jul 7, 2017
    #1

  2. i think i messed up

    I was a silly one and completely got rid of my win 8.1 and for the life of me cant find the key. I reserved my copy of win 10 then I decided I wanted it now so I got the tech preview. so my question is am I now forever bound to the tech preview and have
    to buy win 8.1/10 again to get the final release and for it to no longer be a tech preview
     
    matthewmartinsen, Jul 7, 2017
    #2
  3. WindowsOS Win User
    i think i messed up

    Even when you get the new release on July 29th you will be on the Tech Preview forever unless you Buy a Windows 10 License. Windows 10 Insiders are not going to get Windows 10 for free as such! If you want to keep using it you Must stay in the Windows
    Insider Program.
     
    WindowsOS, Jul 7, 2017
    #3
  4. dencal Win User

    Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have.

    Holding down shift key while clicking on Restart should bring up Recovery Options.
     
    dencal, Jul 7, 2017
    #4
  5. AlexM13 Win User
    Yeah I kow that, but I figured that'll pull me out of explorer which could make matters worse. Further, I might be boned anyway because I don't think there's any restore points or backups for it to fall back on anyway.

    And aside from that, isn't system restore stored in an exe as well? Or is that something that's loaded into memory anytime you open Windows?

    I figure the only things Windows will be able to open right now are things that it opens/runs before it starts considering default programs and stuff. The pilot processes that get Windows open might still work I suppose, but I figure anything after the registry is all loaded up and everything won't work anymore. Not sure if even safe mode will help me now.

    Not gonna do anything that would require a reboot yet until I get more input though reassuring that it'll be okay.

    Crazy that one key change can mess up a computer so bad, huh? If everything kinda hinges on it like this. The system's ability to open exes is probably one of those most basic things for the computer.
     
    AlexM13, Jul 7, 2017
    #5
  6. AlexM13 Win User
    You're misunderstanding my problem. Read my whole post. This is not a typical file association issue.

    Pressing the "Reset" button doesn't fix this. I'm suprised that the settings app will even open, it must be loaded into memory already as part of explorer or something. Stuff like control panel and settings are still accessible, while all the other things I listed, like CMD, are now inaccessible.

    But yeah, this isn't as simple as pressing the "Reset" button in the File Associations. That doesn't fix exe. I figure this is a very strange issue that the reset tool wasn't designed to consider.
     
    AlexM13, Jul 7, 2017
    #7
  7. Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have.

    System restore should take care of the problem.
     
    cyberrufus, Jul 7, 2017
    #8
  8. AlexM13 Win User
    I'll try it then. Just didn't wanna leave explorer and get locked out.

    System restore has no restore points. If it comes down to having to totally reinstall Windows I'll just do it from USB.
     
    AlexM13, Jul 7, 2017
    #9
  9. AlexM13 Win User
    Lol I've tried running it in Safe Mode and got the following error upon Windows opening:

    "you'll need a new app to open this program - ms-get-started".

    Man I really messed it up. I'm incredibly lucky Windows still opens at all. But yeah, Safe Mode is goofed too.

    Also there's no meaningful restore points either. If there's no way to manually fix the registry I think I'll have to just reinstall Windows from USB.

    If I could just access regedit and be told the defaults for exe I could probably fix this just by reversing what I did manually, but the issue is that I can't even run regedit. Such a mess.
     
    AlexM13, Jul 7, 2017
    #10
  10. Bree New Member
    Before you give up and do a clean install, try an in-place repair upgrade. This will allow you to keep your installed apps.

    Repair Install Windows 10 with an In-place Upgrade
     
  11. AlexM13 Win User
    Well truthfully I've been considering doing a clean install anyway. The programs don't matter and can be reinstalled easily. I have their setup files all on one of my USBs after all.

    Before this even happened I was already considering doing a clean install because I recently was trying to edit some video and audio files and was doing a frenzy of installing codecs and tools I'm not familiar with to do that. I've uninstalled them all... but from a security standpoint, it still makes me uneasy. I introduced a bunch of software I don't know anything about to it and even though I uninstalled them now, things could've been left behind. So I've been considering a clean install anyway to nuke it and start over.

    I was asking more out of curiosity about this. It touches on more fundamental things, which are deep things that even your average geekier guy like me doesn't know -- How does Windows handle exes and binaries? What does Windows actually do when you "run" an executable?

    Lately I've also been using tools to change memory values while a program is still loaded up. CheatEngine is aimed at games but you can do a ton of other things with it too, forcing things to bend to your will by directly accessing memory. I've been getting into hex-editor tools again and stuff again too, modifying values in exes and stuff.

    What I was doing before with generic data files seemed to also kinda start touching on this kind of thing. The tool I was using was extracting other file from a generic data file - I believe it did so by identifying headers and footers inside the file.

    I think the kinda topics I'm curious to know are things like how data is stored, how the system knows what a "file" is and where that "file" begins and ends on the hard drive platter, exactly what happens at the hardware level when you press that power button, how operating systems boot-up and the pilot processes that handle it all (in-detail - I already know the BIOS does it's thing first, then the OS and all that stuff... but that's a very generalized and basic understanding, not in-depth like I'd like), start talking about assembly and binary and binary trees and so on... figure I should probably find a university course for that though rather than asking on some forum though.

    Currently I'm a geek that can fix 99% of issues, I know Windows like the back of my hand, but it's that last 1% that's advanced and requires knowledge I lack, and to know how to mess with those you have to know the deepest, lowest-level fundamental basics. That's where I teeter off right now.

    That's why I was asking anyway, figured I could learn something here about how Windows does things - how exes are launched is kinda one of those fundamental things, and I'm surprised a simple registry change broke it, which tells me it must have some sort of dependency on some other process and I just broke it's bond to that. And figured maybe with that knowledge maybe I could come up with a solution. But I guess I may just go ahead and redo it now.
     
    AlexM13, Jul 8, 2017
    #12
  12. AlexM13 Win User

    Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have.

    Reinstalling Windows has begun now. Good time to clean up the house and do other stuff anyway, been in front of it nonstop the last week or so.

    Thanks for trying at least. Guess I know a way to screw up someone's machine good with just a quick registry change now, heh. I'm sure there's even better ones though. I need to get myself a cheap "toy" computer for doing experiments with. Probably plenty I could learn just by messing around but don't wanna mess up my normal machines.
     
    AlexM13, Jul 8, 2017
    #13
  13. Macrium Reflect v7 would have helped a great deal even v6. Always backup*tip
     
    Josey Wales, Jul 8, 2017
    #14
  14. AlexM13 Win User
    Guessing it must be some kinda software on a bootable Linux distro or something? Unless it boots it's own system I don't think it'd help my current situation..

    Is it possible to use a different computer and connect my SSD to it, and edit the registry files for the Windows on my SSD using the OS on the other computer? Maybe there's a software for it?

    *looks into what you mentioned*

    Ah, you're just suggesting to me a backup software, haha.

    Drive is too small to make backing up feasible. It's an SSD from the days when SSDs were small and expensive (2010 - it's a 256GB), and it doesn't have a secondary drive, so I'm constrained for space even without a backup on it. I know there's cheap storage now, but they're slow and break easily in my experience - the cheap Western Digital and Seagate drives you can get at WalMart are, in my opinion, junk that breaks if you look at it the wrong way. Further, they're slow as molasses anyway, pretty sure they're all low-rpm.

    What I really want is a nicely sized external SSD. I haven't really looked it up recently so maybe I should, I know SSDs are far more reasonable now. All I know is - mechanical hard drives are something I really wanna stay away from now, they're so much more prone to failure than SSDs and they're unbearably slow anyway.

    Once I have that I would do manual backups every so often. I don't want any automatic backups or restores because I like to minimize automatic tasks in Windows. I'll tell it when I'm ready for a backup.

    All of that being said, I'm paranoid and nuke my drive and start over every 6 months anyway for purely security reasons. Even though after any uninstallation I'm sure to also wipe %AppData%, %ProgramData%, and of course Program Files of any leftovers, I still find myself worried something could've been introduced that I'm unaware of - it's not like I have the entire folder & file tree of Windows memorized and even if I did it'd be a cumbersome task to check for if something goes and hides a file somewhere in the system folders or something, or modified a legit file which would be even more of a pain to detect.

    Lately I've been looking into switching to a blobless system and stuff because I'm one of those people that are trying to protect himself from three-letter agencies. Purism has an interesting thing going for it because they were able to neutralize the Intel ME and got Coreboot going, and now they're talking about getting rid of the binary blobs in it too. So I'm definitely following that project and may bite eventually. Planning on getting that along with some nice pfSense networking hardware when I do. Might try seeing if I could even set-up my own DNS server - though I do generally trust my VPN service's DNS, and I do know the direct IPs of most websites I often use in case of a failure, I still find myself afraid that DNS spoofing or poisoning could eventually happen so I think I'd like to set-up my own DNS too. Might look into that.

    But I'll still need a seperate Windows computer for stuff like games and creative softwares (video editors, FL Studio, etc) even if I switch all communication and browsing over to a secure machine.

    I should've noted when asking this question too, that when installing Windows (which you need to keep in mind is LTSB as well) I do quite a lot of modifications and use tools like Windows 10 Privacy, DisableWinTracking, BlackBird, Shut-Up 10, and Privacy Repairer, (all of which delete services and blocks things in the hosts file and firewall and set policies and mess in the registry etc) and rip out all kinds of Windows features I don't use (.NET Framework, IE, PowerShell 2.0, WMP, etc), and mess around in the services and Group Policy and stuff, and in the network adapters I disable everything but IPv4, and I introduce my own massive hosts file and blabity blabity blah. So yeah, help for me might have to be a bit specific to my setup due to all of that.

    Anyway, yeah thanks for trying to help and all. I came here because I'm really just a kid, and even thought I generally know what I'm doing, there's a difference between people that know what they're doing and people that REALLY know what they're doing. The difference between the boys and the men, so to speak. I figured maybe someone here might be able to teach me a thing or two.
     
    AlexM13, Jul 8, 2017
    #15
Thema:

Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have.

Loading...
  1. Think I Messed Up Bad - Deleted A Key in RegEdit I Shouldn't Have. - Similar Threads - Messed Bad Deleted

  2. i messed up i think

    in Windows 10 Gaming
    i messed up i think: i did a thing in msconfig following what a guy on forums said and i accidentally disabled like a million processes on windows and now i cant log in cause it says i need an app to do this...
  3. i messed up i think

    in Windows 10 Software and Apps
    i messed up i think: i did a thing in msconfig following what a guy on forums said and i accidentally disabled like a million processes on windows and now i cant log in cause it says i need an app to do this...
  4. I think I messed up my drivers

    in Windows 10 Gaming
    I think I messed up my drivers: I have a laptop that used to run well. I thought it was just getting old, but recently I looked and saw that my GPU which is a 1660 TI max q was not being used. In the past I had tried to update the drivers but I think I deleted the old ones and downloaded the drivers from...
  5. I think I messed up my drivers

    in Windows 10 Software and Apps
    I think I messed up my drivers: I have a laptop that used to run well. I thought it was just getting old, but recently I looked and saw that my GPU which is a 1660 TI max q was not being used. In the past I had tried to update the drivers but I think I deleted the old ones and downloaded the drivers from...
  6. I Think I messed up Windows permissions.. :/

    in Windows 10 Gaming
    I Think I messed up Windows permissions.. :/: So I've been having applications acting strangely, where I would have to launch steam as admin to play certain multiplayer games etc.. Now I'm trying to make a game in Unreal Engine 4.27 and it won't let me export it!! I was messing with the settings on some permissions...
  7. Messed up by deleting some system 'Windows Spotlight' folders that I probably shouldn't...

    in Windows 10 Ask Insider
    Messed up by deleting some system 'Windows Spotlight' folders that I probably shouldn't...: [ATTACH] submitted by /u/Fractal-XXIII [link] [comments] https://www.reddit.com/r/Windows10/comments/jh44m5/messed_up_by_deleting_some_system_windows/
  8. I think I screwed up, bad

    in Windows 10 Support
    I think I screwed up, bad: Very new here so please forgive the lack of profile info/signature if required. I have a 500gb ssd that had windows on it and quite a lot on that drive (450ish GB of programs and files). I also had a few other ssd drives that I used as storage. The drive with Windows was...
  9. I think I messed up

    in Windows 10 Installation and Upgrade
    I think I messed up: all my applications are gone and I cant access my taskbar on windows 10. Could it be maware? https://answers.microsoft.com/en-us/windows/forum/all/i-think-i-messed-up/1831829c-67fa-4c61-a0b4-c1948e1aa9c1
  10. Ooops...I think I have messed up my ssd.

    in Windows 10 Drivers and Hardware
    Ooops...I think I have messed up my ssd.: OK, totally my bad on this one. In a dozy state....[note to self - don't mess with computers before the first coffee] I plugged an SSD into the motherboard SATA power and data cable while the computer was on. Now it is being weird, I have reformatted the drive and tried a...