Replace Windows System files without Access Denied errors
Core system files are protected by the Windows operating system so that they cannot be manipulated by users of the system or applications the user runs on the system that easily. That's a good thing as it will not only prevent users from deleting files that are needed to operate the system, but also prevent - some - malware from doing the same.
Sometimes though you may need to modify a file manually that is protected by Windows. This can be quite the frustrating experience when you notice that you do not have control over some files on your system at all.
You cannot just copy a different file version to the location the protected version is stored by Windows, as you will get access denied errors when you try to do so.
There are a couple of ways around that, for instance to take ownership of files or to boot into another operating system to manipulate the files externally.
Access denied example when trying to replace the uxtheme.dll file in the system32 folder:
Destination Folder Access Denied
You'll need to provide administrator permission to move to this folder.
You need permission to perform this action.
SysMate
The free program can be used to replace files in Windows that are protected by the operating system. It performs the operations that you would run manually to replace those files.
In particular, it does the following:
- Take ownership of the target file that you want to replace.
- Acquire permissions on the file.
- Backup the original file before the new file is moved.
- Replace the file.
To use it, simply select the original file and the replacement file in the program interface and hit the start button afterwards. The program handles everything on its own from that moment on.
Note: You need to run the program with elevated privileges. It will refuse to be started otherwise and displays a notification to you to inform you about that.
The program is really easy to use, and since it is creating a backup of the original file before it replaces it, it is relatively safe to use. You can open the backups folder of the application with a click on open backup folder in the program interface. It was located in c:\SysMate_Backup on my test system.
SysMate System File Walker is a handy program for the Windows operating system that helps you replace system protected files while the operating system is running. Note that it requires the Microsoft .Net Framework 2.0 or 4.0 (two versions are supplied.
It is compatible with all recent 32-bit and 64-bit versions of the Windows operating system.
Advertisement
” Long Path Tool ” is also useful in situations where you see these error messages: Cannot read from source file or disk, there has been a sharing violation, cannot delete file or folder, the file name you specified is not valid or too long, the source or destination file may be in use and many other file managing errors.
Idiots can’t make a zip file properly. I extract it using Peazip or File Roller on Linux and in both cases it produces a directory but does not extract the files at all.
I mean, how hard is it to make a zip archive?
Other options include manually via ACL or the “Take Ownership” registry hack
Great tip! Thanks for sharing!
does it restore owner and file permission on newly copied files.