By Dervish / Last update January 24, 2022

When many users use the computer, they always encounter the problem that Windows cannot find files, which makes the computer unable to use normally. Bar.

What to do if Windows cannot find the file

Method 1. Find files through cmd

1. Press WIN+R to open the run prompt box, enter the run box: cmd /c for %i in (%windir%\system32\*.dll) do regsvr32.exe /s %i press Enter;

 

2. Then reopen the run prompt box and enter: cmd /c for %i in (%windir%\system32\*.ocx) do regsvr32.exe /s %i,

This operation will take some time, so please be patient.

Method 2. Find the file through the registry

1. Press win+R to open Run, enter: regedit, and click OK to open the registry;

2. In HKEY_LOCAL_MACHINE /SOFTWARE /Microsoft /Windows NT /CurrentVersion /Winlogon. Restore Shell=Explorer.exe 1 to Shell=Explorer.exe

3. Expand HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN or RUNONCE or RUNSERVICES. Among the three RUNs, you can see which one has "1", and it is OK to delete this association.

4. If you are worried about the registry error, we can use the dos command to handle it, win+S to open Cortana, search for cmd, right-click on the command prompt, and select "Run as administrator".

5. Type in the command prompt:

ftype exefile="%1" %*

assoc.exe=exefile