Cannot find windir system32. Cannot find (file). Please check if the name is correct and try again. Decision. Resolving the "Windows could not find% filename%" error message

Hi, now we will talk about an error Windows Script Host "The specified file cannot be found"that occurs in Windows operating systems, and we will also analyze the causes of this error and what needs to be done so that such errors do not appear in the future.

To make it immediately clear what errors we are going to talk about now, let's look at the window with this error.

The name and path to the script file can be different, it all depends on the developer's imagination, the name of the script can be a simple, incomprehensible set of letters or disguised as a system file, so that you think that it is so, in this case it is - "C: \\ ProgramData \\ SystemService.vbs"... The operating system in this case, most likely, boots normally, but it happens that when the operating system boots up, a similar error appears and that's it, the desktop does not start. This applies to errors like - "Cannot find script file C: \\ Windows \\ run.vbs".

Today I will show you how to fix the error in both cases. But first, let's talk about the causes of these errors.

Causes of Windows Script Host Error "The specified file cannot be found"

From the information that is displayed in the error window, we understand that the system is trying to run a certain WSH script ( Windows Script Host), about what it is, you can read in the material - "Basics of the JScript language - writing WSH scripts." At the same time, the system cannot find it, which means that it was deleted, moved, in general, it is not. Now the questions arise, what is this script for? And by whom was it removed?

The fact that this script no longer exists is actually not bad, since this script is part of a virus that was in your system, most likely it was deleted by an antivirus program. You are to blame for the fact that a virus has entered the system, since such viruses infect the computer after certain actions of yours, for example, you downloaded music in exe format and run this file or other similar actions that may put your computer in danger ( visiting questionable sites and downloading the same data).

Note! There are other reasons for the appearance of Windows Script Host errors, but they are less common, in this material we are talking specifically about errors associated with malicious scripts.

What to do to prevent such errors from appearing?

Since we found out that such an error is a consequence of the presence of a virus in the system, the actions that must be taken to prevent such errors from appearing are related to preventing viruses from infecting the computer.

What is needed for this:

  • Availability of an antivirus program with up-to-date databases, i.e. it must be constantly updated. It is also necessary to periodically run a full scan of the computer for viruses. If you don't want to pay for antivirus, you can use the free options, for a home computer they are actually not so bad. Several years ago in the article “What antivirus should I install on my home computer? »I reviewed various antivirus solutions and presented a list of products that deserve attention, based on ratings, reviews and my own experience with antivirus software, so if anyone is interested in this information, you can familiarize yourself;
  • In most cases, they work on the computer as an account with administrator rights. But this is wrong, since administrator rights are needed only to perform administrative tasks, in some cases it may not be very convenient for you, but most viruses, in order to do what they were designed for, just need administrator rights. And if you work with administrator rights, then these are ideal conditions for viruses, since they can easily install anything, change system parameters, and so on. Therefore, it is recommended to work as a user account, and use administrator rights if necessary ( You just need to create a separate user account and work on its behalf);
  • You should not visit dubious sites, download files whose format does not correspond to their purpose, for example, as I said, music in exe format, as you understand, there cannot be audio files in this format. This also applies to games, i.e. no need to download games from unverified sources. In other words, this point implies being a little more careful when using the Internet and trying to download some data.

If you perform at least the above actions, then the chances for the virus to infect your computer will be much less, and, accordingly, the errors that we are considering in this article will not appear.

Troubleshoot the error when the desktop is available

If your system boots and then an error appears, i.e. You see the desktop and the start menu, then most likely the script is called by the Windows Task Scheduler. For example, the error "Unable to find the script file C: \\ ProgramData \\ SystemService.vbs" is a consequence of the virus that used the scheduler to run the script. There are other ways to run such malicious scripts, these are autoload and group policies, but they are less common; now, probably, no one puts their malware or scripts into autoload.

So, in order to eliminate the error, we need to find out how the script is launched, as I said, we start looking in the task scheduler. To do this, launch it, click " Start menu -\u003e in the search we write Task Scheduler»

Then we have a little difficulty, we need to find the task that started the script and delete it. You don't need to delete everything, so before deleting, make sure that on the “ Actions"In the line running the program, exactly the path that the error shows us is indicated, i.e. in our case it is "C: \\ ProgramData \\ SystemService.vbs".


I advise you to start your search right away by viewing the list of active tasks and the history of these tasks launch. If the log of all tasks is turned off, then turn it on and reboot, then after the error appears, go to the scheduler again, where you can see the name of the last completed tasks.


The task may be located in a separate section, and this section may be disguised as a system section, but not quite, for example, the "Windowss" section, as you can see, there is an error in the name (two letters s), so check this directory immediately.

After you have found the desired task or tasks, you can safely delete it, then reboot, after which the error should disappear.

If you did not find the task, then you can perform the steps described below (i.e. check the registry).

Eliminate the error where the desktop does not start

In this case, you turn on the computer, and you get an error, while you do not see the desktop. These errors include the error - "Cannot find the script file C: \\ Windows \\ run.vbs."

In this case, the virus worked with the registry, namely, changed the system startup parameters.

In order to resolve this error, you must start the registry editor and restore the default values \u200b\u200bof the parameters. Let's start the desktop first, for this:

  1. Press the key combination ctrl + alt + del;
  2. We select the item " Launch Task Manager»;
  3. In the menu, click " File -\u003e New Task (Run ...)»;
  4. In the open field, enter “ explorer.exe».

After that, the desktop will start.



Now we launch the registry editor. To do this, click " Start -\u003e enter regedit into the search».

Then we find the section

HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Microsoft \\ Windows NT \\ CurrentVersion \\ Winlogon for 32 bit systems

HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Wow6432Node \\ Microsoft \\ Windows for 64 bit.

And check the parameters Shell and Userinit... Their values \u200b\u200bshould be "explorer.exe" and "C: \\ Windows \\ system32 \\ userinit.exe," respectively.

If the values \u200b\u200bare different, change them to the default values, to do this, simply call the parameter change window ( double click or right click to change) and enter the desired value. Then you reboot and the error should disappear.

That's all for me, if you encountered this kind of error and fixed it in some other way, share the solution with others in the comments. Until!

From time to time, our computers give various errors: some programs or files stop opening, the restart mode itself turns on and other problems arise. In this article I will explain why the message “Cannot find (file). Please check if the name is correct and try again ”and what to do to solve the problem.

We are looking for a solution to the problem

Why can't I find the file

Let's see why a message is displayed on our computer screen that the file cannot be found and we need to check the name. The system in brackets indicates the path to the file that cannot be found, and advises us to check if the name is correct and try again.

Users agree that the antivirus is causing this problem. More precisely, the virus itself, traces of which were found, and the file infected by it was deleted or moved to quarantine. Also, an error appears if the program is incorrectly installed or uninstalled. Of course, you can always reinstall Windows, but this is a last resort, because nobody wants to demolish working programs. Therefore, first we will apply less categorical measures - we will consider various types of files and determine ways to fix the error.

Solving the problem when it is impossible to open exe-files

There are several ways to solve the problem of opening exe files. Let's consider them in order.

Reinstalling software

If a file is deleted by an antivirus program, then there is no need to pull it out of the storage, it was not for nothing that it was moved there. Even if we can get it out of there, it is already damaged and will not be able to function as it should.

In this case, the exit is a complete uninstallation and installation of the program, which cannot be started. It is best to uninstall software not through standard Windows tools, but using special software - Revo Uninstaller or AIDA64. They not only uninstall the problematic program, but also "clean up" all unnecessary residual files.

Changing Steam Settings

It happens that the message about the inability to open a specific exe file "Cannot find ... Please check if the name is correct and try again" appears when you start the game. In this case, we apply the following algorithm of actions:

  • Click on the Steam folder with RMB and select "Properties";
  • go to the "Security" tab;
  • in the first window “Groups or users” select the line “Users”;
  • if for some reason this line is absent, then click “Change” just below and “Add” in the next window;
Select a user in the Steam folder
  • in the window “Enter the names of the objects to be selected” we drive in the user name and click “Check names” (the name can be taken from the “Administrators” line or use the guest name registered on this PC);

Enter the names of the selected objects
  • after successful verification of the name, click on OK;
  • make sure that all the “Allow” items are checked for the selected user and click OK;
We assign permissions for the "Users" group
  • we are waiting for the completion of the input of all the changes made and restart the game.

Registry Editor and Task Manager to Help

  1. You can also try this method. Click RMB on Start (in Windows 10) and look for the "Run" line.
  2. Enter regedit. The Registry Editor opens.
  3. We go through the following path - HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Microsoft \\ Windows \\ CurrentVersion \\ Run - look for the problem line here and delete it.

Delete the file in the Run folder

Disabling the startup of an application that generates the "Cannot find (file)" error can also help. Open the Task Manager (in the Start button), LMB select the desired program, then right-click on it and select "Disable".

Solving the problem with opening Excel

If you cannot open the Excel workbook and a message appears stating that you cannot find (file) - you need to check if the name is correct and try again, then you need to do the following. Since the cause of the error in this case may be the prohibition of accepting DDE requests from other applications, it must be cleared. To do this, uncheck the box next to “Ignore DDE requests from other applications”. In Excel 2007, this string is found in Advanced Options in a Microsoft Office Button. In Excel 2003 and earlier, in General Options on the Tools menu.

Error in the Local Group Policy Editor

In the process, we may encounter the fact that when the local group policy editor starts, a window appears with a message stating that the gpedit.msc file cannot be found. We are not in a hurry to look for this file on our computer, but remember or see which version of Windows is installed on the PC. If basic or home - they simply do not provide an LHP editor.

In this case, we act in two ways:

  • we are looking for another way where we do not need editor functions (they help to more easily manage system settings by entering changes to the registry);
  • we reinstall the OS to a corporate, professional and other version with a narrow specialization.

We have discussed the main ways to solve the problem that occurs when Windows cannot find the required file. I hope that this information will help everyone who encountered a similar error.

Resolving the "Windows could not find% filename%" error message

How to get rid of the message:

"Windows could not find% filename%. Check that the name was entered correctly and try again. To search for a file, click the "Start" button and then click "Find". "

when Windows boots?

Complete removal instructions

This is just an example. Your error message may look different.

  • Do you see this error message every time your computer boots up?
  • Does this error keep appearing and annoying you?
  • You want to get rid of her once and for all?

Get rid of this error - Security Stronghold security team has developed a solution for your problem!

Here you will find fast and complete solution error that appears when the system boots - "Windows could not find% filename% ..."

Description of the problem:

What is% filename%?

% Filename% is a system process that does not need to be stopped. Please note: File% filename% is required for critical applications to function properly. Please note that there are many virus programs that try to disguise their files as% filename% - such files should be deleted immediately.

Why does the error message "Windows could not find% filename% ..." appear when Windows boots?

Reason 1:There is a virus or trojan on your computer.

Reason 2: Your antivirus has deleted file% filename% because your computer has been infected with virus programs.

Reason 3: This error message is false and some malware is capable of tricking you in this way.

How to solve the problem with the error message when loading “Windows could not find% filename%. Check that the name was entered correctly and try again. To search for a file, click the Start button and then click Find. "?

Fast decision:

How can I manually resolve the error "Windows could not find% filename% ..."? For advanced users only

This issue can be resolved manually by deleting all registry entries and files associated with this program, as well as excluding the program from the startup list and unregistering the associated DLLs. In addition, lost DLLs can be recovered separately if they become infected with the Iddono virus. In order to eliminate this threat, you should:

1. Stop the processes and delete the corresponding files associated with the file% filename%.

If these files cannot be deleted when Windows boots in Normal Mode, or the files are created again, boot your computer into Safe Mode and try deleting again. If you do not see all of these files, then they are hidden. You need special software that can remove these hidden files.

2. Use the HijackThis or Autoruns startup list editing tool to locate and delete any registry entries associated with the% filename% file.

3. If% filename% is a damaged file of Windows operating system, you should restore it using the system utility sfc.exe.

Personal assistance

If you are not sure which solution to choose or if you want us to help you with the problem related to the error message "Windows could not find% filename% ...", just write an email with the subject line "Problem: Windows could not be found". We will solve your problem in less than 24 hours.

Service