New
#1
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.
Last edited by AlexM13; 08 Jul 2017 at 14:56.