All of my shortcuts do not work, and all of my programs will not launch even when I double-click the exe file. Windows always asks what program I want to open the files with. When my computer boots up I get asked which program I want to open my start up programs with...they are all .ink files. Even when I run Explorer.exe from the task manager it asks me! So, something has gone quite wrong. I did a little "Spring cleaning" and I deleted a lot of crap from my registry (stuff that I'm sure was safe to delete) but after restarting my computer, this stuff started happening. Regedit no longer opens (as I've mentioned, Windows asks me which program I want to open it with) so I can't manually inspect it, and of course none of my repair programs are able to start. I'm actually quite shocked that I was able to get online - the IE icon doesn't work, but I was able to get a browser window open by double-clicking a html file that I had on the hard disk. I should also mention that I defragged my C: drive with Norton Speed Disk, and it could have been that which made a cock-up of everything, because it was the last program I ran before restarting the computer.

Does anyone know what I can do? Keeping in mind that exe files don't work, and regedit doesn't work.

I think this calls for a total re-install...*sigh* GOD I hate re-installing Windows! :sad: Luckily I have a copy which has been slipstreamed with the latest updates etc, so it won't be so bad this time round...but I'd really appreciate if someone could thik of something! lol

P.S Via My Computer, I can access the file types settings, and I tried re-associating programs and files, but the programs that I assopciated the files with also need to be associated with something, which left me kinda stumped...

:sad:

Dani AI

Generated

Short summary and a focused recovery plan for the “everything asks which program to open it” symptom.

When every .exe, .lnk or startup item prompts for a program, the problem is almost always corrupted file-type registrations or damaged ACLs on the registry branches that hold those registrations (the parts merged into HKEY_CLASSES_ROOT). Causes seen in this thread include manual registry pruning (as described), third‑party disk/cleanup tools, malware, or permission changes (as and reported). Two repair directions are useful: restore the core associations, or restore registry hives/ACLs from a known-good backup or offline environment.

Recommended non-destructive triage (in order)

  1. Boot options: use “Last Known Good Configuration” (F8) or run System Restore from Safe Mode to roll back recent registry changes.
  2. If a command prompt can be opened as an administrator, restore the core EXE/shortcut associations:
assoc .exe=exefile
ftype exefile="%1" %*
assoc .lnk=lnkfile

These commands restore the basic executable and shortcut mappings so executables and shortcuts run again. Run them from an elevated cmd session.

If a normal shell/command prompt will not start

  • Use the Windows Recovery Console / WinPE (boot media) to work offline and restore registry hives from the system repair backup. Typical Recovery Console steps (XP-era) are to back up the current hives in %windir%\system32\config and copy the matching files from %windir%\repair into that folder (rename originals first), then reboot.

When permissions or malware are the root cause

  • Resetting registry security to defaults (advanced) or using a clean rescue environment to run offline AV and ACL-reset tools is often required. Always back up current registry hives and user data before attempting hive replacement or ACL changes.

Reinstalling Windows is a valid last resort (as did), but the above steps recover many machines without that step.

Recommended Answers

All 7 Replies

Don't worry about replying to this any time soon, I just re-installed the bleedin' thing. An eventual reply would be good though, incase someone else comes along with a similar problem who has more patience than I did! hehehe

Woulda been best to do an 'In place upgrade' if you wanted to leave programs and files in place.

Pruning Registry entries is only for two types of user:

* Very advanced, knowledgeable users
* Foolish users.

Thanks for the reply ;) I've been cleaning my registry in the same manner for years and never had a problem like this before, but I wouldn't say that qualifies me as an "advanced, knowledgable" user hahaha. But having said that, an advanced user isn't just born with a great understanding of the registry, we all have to learn from the bottom up. If anything these little mess-ups teach me to have more respect for the registry lol I won't even tell you about my first exploration of the registry back in the old days...that was embarrassing...and it wasn't even my computer hahaha...

Thanks again, that link looks like it would have been useful...pity I was too impateint!

:D

Any one considering an In place upgrade (Refresh install) should also consider two things:

* You'll probably have to reinstall Updates afterwards and...
* You need to disable File Encryption first if it's turned on. Losing all your data files is a big piss-off!

Anyone even thinking about playing around with the registry should first back it up. Here are the instructions for doing so:

commented: Godd advice given consistently +5

Hi, I thought I would add some information that may be related to this issue... I am working on a PC from an associate with similar issues that appear to have derived from a virus... Most File associations have been removed from the registry(exe, com, lnk, bat, vb, reg, etc)... The File Association tool buttons are all grayed out preventing me from adding any associations... The Registry can be started from a cmd window via Task Manager file/ctrl / new task but it can not be edited. I tried a complete system repair (in place upgrade) similar to the above suggestions but to no avail, problem still exists... I have been searching the internet for days trying to find someone that has run accross a solution for this issue without having to blow away all of the existing data, applications, etc. but have yet to find anyone that knows the virus name or the solution to the problem... Thanks for listening... DaddyDe

Dial-a-fix medium can help. It has a function in its Tools dialog (the hammer button) called Repair permissions that often fixes this problem (the associations are usually messed up because there is insufficient priviledges on HKCR and its sub-keys). If that doesn't work, or it alleviates only part of the problem, then get my Repair Associations package, which is further down on the Repair_Permissions page:

See also:

Half the time, this is caused by Norton 2006 products, and the other half is split between malware and general registry damage.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.