Windows files have been replaced

Getting Error message» files have been replaced with unrecognizable versions and to maintain stability, Windows must restore the original versions of these files»

Origianl title: Message regarding replaced files.

I am getting a message that say my files have been replaced with unrecognizable versions and to maintain stability, Windows must restore the original versions of these files. My computer runs Microsoft XP. I don’t have an XPcd. How do I correct this or is it valid? Jswanco

Replies (2) 

Thank you for choosing Windows and thanks for providing us an opportunity to assist you.

As per the description, you are having issues with error message stating files have been replaced with unrecognizable versions.

This issue occurs due to some system file corruption.

Perform SFC(System File Checker) scan and see if the issue occurs.

Reply to us if you face any issues with the error message or any other Windows Issue, and we would be glad to assist you.

Have a nice day!

Hope this information helps.

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Heaven help us all.

When you see a message like this:

Windows File Protection
Files that are required for Windows to run properly have been replaced by unrecognized versions. To maintain system stability, Windows must restore the original versions of these files.

or maybe something like this:

Windows File Protection.
Files that are required for Windows to run properly must be copied to the DLL Cache
Insert your Windows XP Professional Service Pack 3 CD now.

Hopefully, you are curious to know what the file is and when you know that, you can decide what to do about it. Until you know what the file is, you can’t really decide what to do about it or how it happened. But, you can sure try some things!

You should click Cancel, then click Yes to keep the file, then you will have an event to look at that will tell you what the problem file is.

There may be more than one file missing, so you will have to just fix them one at a time as you discover what they are.

Look in the Event Viewer System log to see what the file name is, then decide what to do.

A shortcut to Event Viewer is to click Start, Run and in the box enter:

Click OK to launch the Event Viewer.

Check your Event Viewer System log and look for an event sourced by Windows File Protection.

When in the Event Viewer System log, click or double click the ‘Source’ column heading to sort the events alphabetically by the Source name. The ‘Windows File Protection’ events should be near the bottom (or the top) of the list (since they start with ‘W’).

The event you are interested is will look something like this example:

Event Type: Information
Event Source: Windows File Protection
Event Category: None
Event ID: 64005
Description:
The protected system file taskmgr.exe was not restored to its original, valid version because the Windows File Protection restoration process was cancelled by user interaction, user name is Jose. The file version of the bad file is unknown.

Event Type: Information
Event Source: Windows File Protection
Event Category: None
Event ID: 64021
Description:
The system file c:\windows\system32\taskmgr.exe could not be copied into the DLL cache. The specific error code is 0x000004c7 [The operation was canceled by the user. This file is necessary to maintain system stability.

When you know what the file is, you can decide what to do about it. There may already be other copies of the file(s) on your system or you can get the file(s) from another trusted source — or some nice person can upload the file(s) you need to their SkyDrive and you can download them and replace the file(s) one at a time if there are not too many. First you must figure out what the file is that XP thinks it needs.

You can also copy and paste the Event back here if you don’t know how to interpret it.

If you double click an event, it will open a Properties window with more information. On the right are black up and down arrow buttons to scroll through the open events. The third button that looks like two pages on top of each other is used to copy the event details to your Windows clipboard.

Читайте также:  Нет калькулятор windows 10

When you find an interesting event that occurred around the time of your issue, click the third button under the up and down arrows to copy the details and then you can paste the details (right click, Paste or CTRL-V) the detail text back here for analysis. Remove any personal information from your information after pasting if you are compelled to do so.

Then you need to tell us more about your system:

Please provide additional information about your system as best you can:

What is your system make and model?

What is your XP Version and Service Pack?

Describe your current antivirus and anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc.

Was the issue preceded by a power interruption, aborted restart, or improper shutdown? (this includes plug pulling, power buttons, removing the battery, etc.)

Does the afflicted system have a working CD/DVD drive (internal or external)?

Do you have a genuine bootable XP installation CD that is the same Service Pack as your installed Service Pack (this is not the same as any Recovery CDs that came with your system)?

If the system used to work properly, what do you think might have changed since the last time it did work properly?

«Files Required for Windows Have Been Replaced by Unrecognized Versions»

Replies (4) 

that is because your disc is likely an sp2 disk and your system is likely at sp3 if you have it updated properly.

1. go to start, control panel, folder options, view tab, ensure that hidden files are shown, and uncheck the next two boxes as shown.

2. when you get the message box asking for a file there is a box

leave this box hanging, and then open search and do a search for the requested file, which will be in several places, either dll cache or i386 files from sp3, once you find the file, highlight the address bar, right click and select copy, then paste in box to tell windows where to find the file,

3. do this with each file required, if you cannot find a file, make note and post file name back here.

4. You must also ensure your system is clean as this is probably from malware action, perform the following:

Download, install, update and do full scan with these free malware detection programs:

Remove all found, reboot, and run again until scans run clean, these can be removed afterwards if you so choose.

5. tell us what your antivirus is and do the following also please:

Click Start, Run and in the box enter:

Click OK, and when the System Summary info appears, click Edit, Select All (Ctrl-A), Copy (Ctrl-C) and then paste (Ctrl-V) the information back here in your next reply.

You can edit out any personal information.

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

When you see a message like this:

Windows File Protection
Files that are required for Windows to run properly have been replaced by unrecognized versions. To maintain system stability, Windows must restore the original versions of these files.

or maybe something like this:

Windows File Protection.
Files that are required for Windows to run properly must be copied to the DLL Cache
Insert your Windows XP Professional Service Pack 3 CD now.

Hopefully, you are curious to know what the file is and when you know that, you can decide what to do about it. Until you know what the file is, you can’t really decide what to do about it or how it happened. But, you can sure try some things!

You should click Cancel, then click Yes to keep the file, then you will have an event to look at that will tell you what the problem file is.

There may be more than one file missing, so you will have to just fix them one at a time as you discover what they are.

Look in the Event Viewer System log to see what the file name is, then decide what to do.

A shortcut to Event Viewer is to click Start, Run and in the box enter:

Click OK to launch the Event Viewer.

Check your Event Viewer System log and look for an event sourced by Windows File Protection.

When in the Event Viewer System log, click or double click the ‘Source’ column heading to sort the events alphabetically by the Source name. The ‘Windows File Protection’ events should be near the bottom (or the top) of the list (since they start with ‘W’).

Читайте также:  Стабильный линукс для слабого ноутбука

The event you are interested is will look something like this example:

Event Type: Information
Event Source: Windows File Protection
Event Category: None
Event ID: 64005
Description:
The protected system file taskmgr.exe was not restored to its original, valid version because the Windows File Protection restoration process was cancelled by user interaction, user name is Jose. The file version of the bad file is unknown.

Event Type: Information
Event Source: Windows File Protection
Event Category: None
Event ID: 64021
Description:
The system file c:\windows\system32\taskmgr.exe could not be copied into the DLL cache. The specific error code is 0x000004c7 [The operation was canceled by the user. This file is necessary to maintain system stability.

When you know what the file is, you can decide what to do about it. There may already be other copies of the file(s) on your system or you can get the file(s) from another trusted source — or some nice person can upload the file(s) you need to their SkyDrive and you can download them and replace the file(s) one at a time if there are not too many. First you must figure out what the file is that XP thinks it needs.

You can also copy and paste the Event back here if you don’t know how to interpret it.

If you double click an event, it will open a Properties window with more information. On the right are black up and down arrow buttons to scroll through the open events. The third button that looks like two pages on top of each other is used to copy the event details to your Windows clipboard.

When you find an interesting event that occurred around the time of your issue, click the third button under the up and down arrows to copy the details and then you can paste the details (right click, Paste or CTRL-V) the detail text back here for analysis. Remove any personal information from your information after pasting if you are compelled to do so.

Then you need to tell us more about your system:

Please provide additional information about your system as best you can:

What is your system make and model?

What is your XP Version and Service Pack?

Describe your current antivirus and anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc.

Was the issue preceded by a power interruption, aborted restart, or improper shutdown? (this includes plug pulling, power buttons, removing the battery, etc.)

Does the afflicted system have a working CD/DVD drive (internal or external)?

Do you have a genuine bootable XP installation CD that is the same Service Pack as your installed Service Pack (this is not the same as any Recovery CDs that came with your system)?

If the system used to work properly, what do you think might have changed since the last time it did work properly?

Recover a replaced file

Original Title -File recovery

I have just copied a file from my memory stick onto my desktop. Unfortunately the desktop file was the latest revision. Can I recover the replaced file?

Hi BigT1948,

I would suggest you to try and restore the previous version of the file and check if you are able to restore the file-

a. Right-click the file or folder, and then click r estore previous versions .

You’ll see a list of available previous versions of the file or folder. The list will include files saved on a backup (if you’re using Windows Backup to back up your files) as well as restore points.

b. Before restoring a previous version of a file or folder, select the previous version, and then click Open to view it to make sure it’s the version you want.
c. To restore a previous version, select the previous version, and then click Restore .

Also if you get the files back you may save them at a different location with a different name and then check.

You may refer to the below link for details-

Hope this helps.

Thanks,
Meghmala – Microsoft Support

Visit our Microsoft Answers Feedback Forum and let us know what you think

ReplaceFileA function (winbase.h)

Replaces one file with another file, with the option of creating a backup copy of the original file. The replacement file assumes the name of the replaced file and its identity.

Syntax

Parameters

The name of the file to be replaced.

In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, call the Unicode version of the function and prepend «\?» to the path. For more information, see Naming a File.

Читайте также:  All windows security updates fail

The caller must have write access to the file to be replaced. For more information, see File Security and Access Rights.

The name of the file that will replace the lpReplacedFileName file.

In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, call the Unicode version of the function and prepend «\?» to the path. For more information, see Naming a File.

The name of the file that will serve as a backup copy of the lpReplacedFileName file. If this parameter is NULL, no backup file is created. See the Remarks section for implementation details on the backup file.

In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, call the Unicode version of the function and prepend «\?» to the path. For more information, see Naming a File.

The replacement options. This parameter can be one or more of the following values.

Value Meaning
REPLACEFILE_WRITE_THROUGH 0x00000001 This value is not supported.
REPLACEFILE_IGNORE_MERGE_ERRORS 0x00000002 Ignores errors that occur while merging information (such as attributes and ACLs) from the replaced file to the replacement file. Therefore, if you specify this flag and do not have WRITE_DAC access, the function succeeds but the ACLs are not preserved.
REPLACEFILE_IGNORE_ACL_ERRORS 0x00000004 Ignores errors that occur while merging ACL information from the replaced file to the replacement file. Therefore, if you specify this flag and do not have WRITE_DAC access, the function succeeds but the ACLs are not preserved. To compile an application that uses this value, define the _WIN32_WINNT macro as 0x0600 or later.

Windows ServerВ 2003 and WindowsВ XP:В В This value is not supported.

Reserved for future use.

Reserved for future use.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError. The following are possible error codes for this function.

Return code/value Description
ERROR_UNABLE_TO_MOVE_REPLACEMENT 1176 (0x498) The replacement file could not be renamed. If lpBackupFileName was specified, the replaced and replacement files retain their original file names. Otherwise, the replaced file no longer exists and the replacement file exists under its original name.
ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 1177 (0x499) The replacement file could not be moved. The replacement file still exists under its original name; however, it has inherited the file streams and attributes from the file it is replacing. The file to be replaced still exists with a different name. If lpBackupFileName is specified, it will be the name of the replaced file.
ERROR_UNABLE_TO_REMOVE_REPLACED 1175 (0x497) The replaced file could not be deleted. The replaced and replacement files retain their original file names.

В

If any other error is returned, such as ERROR_INVALID_PARAMETER, the replaced and replacement files will retain their original file names. In this scenario, a backup file does not exist and it is not guaranteed that the replacement file will have inherited all of the attributes and streams of the replaced file.

Remarks

WindowsВ 7, Windows ServerВ 2008В R2, Windows ServerВ 2008, WindowsВ Vista, Windows ServerВ 2003 and WindowsВ XP:В В Security resource attributes (ATTRIBUTE_SECURITY_INFORMATION) for the original file are not preserved until WindowsВ 8 and Windows ServerВ 2012.

If the replacement file is protected using Selective Wipe, then the replaced file will be protected by the enterprise id of the replacement file.

The backup file, replaced file, and replacement file must all reside on the same volume.

To delete or rename a file, you must have either delete permission on the file or delete child permission in the parent directory. If you set up a directory with all access except delete and delete child and the DACLs of new files are inherited, then you should be able to create a file without being able to delete it. However, you can then create a file, and you will get all the access you request on the handle returned to you at the time you create the file. If you requested delete permission at the time you created the file, you could delete or rename the file with that handle but not with any other.

The winbase.h header defines ReplaceFile as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Оцените статью