Quick Fix: Repair 'System File Missing' Errors with SFC
In Command Prompt, type sfc /scannow, and then press Enter.
After the scan and repair is complete, restart your computer and check if the “System cannot find the specified file” error has been resolved.
"The system cannot find the file specified" is an error that may occur on Windows 10 or earlier versions, usually indicating the Error Code 0x80070002. This error might appear in various situations, but most users get it when:
The system cannot find the file specified.
The solution to the "System cannot find the specified file" error will vary depending on your situation. Identify which applies to you and find the corresponding resolution below.
Please provide the English content you want translated, and I'll do my best to translate it into Chinese.
Most people encounter the "System cannot find the specified file" error when trying to access or back up certain data. This happens because the file system on the target device is corrupted or faulty, making your hard drive, USB drive, or external HDD inaccessible. To fix this issue, you need to run the chkdsk command to repair the damaged file system and use a reliable data recovery software to restore all lost data. Then, clean and repartition the hard drive using the diskpart command in CMD.
After that, try opening the drive again to look for your saved files. If they're missing or aren't showing up, continue with the tutorial below to learn how to recover data from a storage device using reliable data recovery software.
Whether it's an external storage device or a local hard disk, you can use the Disk Data Recovery Wizard to retrieve data from the device. It can recover deleted, formatted, or lost files and restore data from formatted or inaccessible hard drives. To regain access to your precious files:
Step 1: Run the tool – Data Recovery Wizard. Select the drive where you lost your files and start scanning. This software allows you to recover lost data from all devices, including HDD, SSD, USB drives, SD cards, flash drives, cameras, and more.
Step 2. Preview the scan results. You can choose the file types you need by clicking the File Type filter. The tool supports over 1000 file types, such as photos, videos, documents, emails, audio files, and more.
Step 3: Preview the files you want to recover. Click “Recover” and set a location to save the recovered data.
Since you've ensured the safety of your files and the device is still inaccessible, you can proceed with fixing the device hassle-free by following these steps:
Step 1: Run the Command Prompt as an administrator.
Step 2: Type “diskpart” and click “Yes” to allow the app to make changes to your computer.
Step 3: Enter each of the following commands one at a time:
Step 4. If the disk is successfully unmounted, enter the following commands in order:
```javascript $(function() { $('.click_copy_box .click_button').click(function() { var self = $(this); var Url2 = $(this).parent().find('textarea'); Url2.val(Url2.val()); // Might not be necessary, as the value is usually already there Url2.select(); document.execCommand("Copy"); $(this).html('Copied'); setTimeout(function() { self.html('Click to copy'); Url2.blur(); }, 3000); }) }) ``` This code is written in JavaScript using the jQuery library. It performs the following actions after the page loads: 1. When a user clicks an element with the class `click_button` inside an element with the class `click_copy_box`, it captures the current element. 2. It finds the `textarea` within the parent element of the clicked button. 3. The `textarea`'s value is set to its current value (this step might not be necessary, as the value should already be present). 4. The content of the `textarea` is selected, preparing for a copy operation. 5. The browser's `copy` command (`execCommand("Copy")`) is executed, copying the text in the `textarea` to the clipboard. 6. The HTML content of the clicked button is changed to display "Copied" (including an icon). 7. A timeout of 3 seconds is set, after which the original text "Click to copy" is restored on the button. 8. The focus on the `textarea` is removed to prevent unintended text selection. This script is commonly used for implementing a one-click copy functionality for text.
Assuming all went well, you should now be able to access your hard drive or USB drive and reuse it for data storage.
Read more: SFC scannow Pending System Repair
This error also appears when you try to open a file or folder by double-clicking it. There are three ways to fix this issue.
Step 1: Browse to the C:\Windows\inf directory and open the Inf folder.
Step 2: Locate the setupapi.dev or setupapi.dev.log file and open it.
Step 3: Press the "Ctrl + F" shortcut keys, and type "file not found" in the search box.
Step 4: Press "Enter" to run the search. You should see your lost file show up.
Step 5: Copy and paste it into the Windows/Inf folder.
Step 6: Reinstall the hard drive driver, and then restart the system.
Step 1: Press the "Windows + R" keys, type regedit, and press Enter. If prompted for permissions, click "Yes."
Next, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion and check if there is a RunOnce key. If it's not there, you'll have to create it manually.
Step 3: Go to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion," and check if there is a "RunOnce" item. If not, create it manually.
Step 4: Exit the Registry Editor, restart your computer, and then reinstall the hard drive driver.
Step 1: Press the "Windows + R" keys, type regedit, and press Enter. If prompted for permissions, click "Yes."
Step 2. Go to HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ and look for RTHDCPL. If it's not there, check the Permissions of the Run property, set Full Control for the Administrator user, and click OK to continue.
Be careful not to delete anything from the Registry, as this can cause serious problems with your computer.
This error message seems to be quite common among users. You can try any of the following three methods to resolve it.
In this method, you'll be introduced to a utility tool called "DriverHandy." This tool allows you to update all your drivers with just one click. It automatically scans for outdated drivers and updates them for you, sparing you the hassle of manual updates. Download it now to give it a try.
With the help of tools like DriverHandy, you can have:
Step 1: Quit the program.
Step 2: Reinstall your program
Step 3: Restart your computer.
You might be unfamiliar with the essential Windows process called nginx.exe. The "System cannot find the file specified" error message might appear due to an abnormal start or restart of the nginx.exe within the Windows operating system. To resolve this issue:
Step 1: Right-click the taskbar and select Task Manager.
Step 2: Under the Processes tab, select nginx.exe and click End Task.
Step 3: Download nginx.exe again and restart it.
If you receive this notification while installing a driver on your computer, try Method 2 or 3 under Solution 2 to fix the “System cannot find the specified file” error.
If this is your situation, there are a few things you can try. In addition to trying Method 3 from Scenario 3, try out the two suggestions below.
If you haven't updated Windows in a while, the “System cannot find the file specified” error means it's time to install all pending updates. To do this, you need to:
Step 1: Press the "Windows + I" keys, then select "Update & Security."
Step Two: Click “Check for Updates,” and then wait.
Step 3: Once the scan is complete, install all available updates.
Step 4: Repeat this process several times to ensure that all necessary updates have been installed.
Step 5: Don't forget to restart your system to complete the installation.
If you find your files missing after a Windows update, you can use a data recovery tool to help restore them. This free tool allows you to recover lost files in three simple steps due to system upgrades like Windows 10, 8, or 7, system crashes, accidental deletion, or virus attacks.
Step 1: Open the Start menu, and type Services.
Step 2: Right-click on “Background Intelligent Transfer Services,” and set the “Startup Type” to “Automatic” or “Automatic (Delayed Start),” then click “Start.”
Step 3: Locate the “Cryptographic Services” and “Windows Update” entries, and set their “Startup type” to “Automatic” as well.
Step 4: Don't forget to click “Start” to begin the service, then “Apply” and “OK.”
Next up, just translate this into American English: ""
Since the “System cannot find the specified file” error can occur in many situations, it's hard to include all the solutions in one article. That's why we've presented you with the four most common scenarios and the most effective fixes for them. Hopefully, one of these tricks will successfully resolve the “System cannot find the specified file” issue for you.