Solved

How to swap the system file by another one?

Posted on 2013-01-17
1
422 Views
Last Modified: 2013-01-18
I have a task to replace my current unsigned driver bt848.sys that placed in both directories C:\Windows\System32 and C:\Windows\System32\DriverStore\FileRepository\bt848.masq.inf_amd64_neutral_04c772ce18de80fb with signed driver bt848.sys. From one of the sources I have learned that to replace one file by another is need to do the following:
1) Open registry editor regedt32.exe (not regedit)
2) Go to section HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
3) Click twice the parameter "PendingFileRenameOperations" or create it beforehand as REG_MULTI_SZ if not exist.
4) On the first row type \??\Address of the system file for swapping
    (for instance \??\d:\winnt\system32\drivers\ntfs.sys)
5) On the second row type !\??\Address of the file to swap the existing above
    (for example !\??\d:\time\ntfs.sys)
6) Press OK
After rebooting and swapping of the system file, parameter "PendingFileRenameOperations" will be removed automatically from the registry.
I could repeat with ease a described method, if I would need to replace the only one file. But I need to replace the file in both directories at a time. So I am attached the file for checking the syntax by you. Because I should be fully confident that it will work without any problems. I am waiting your verdict!
fileforchecking.txt
0
Comment
Question by:dmitrij75
1 Comment
 
LVL 14

Accepted Solution

by:
Rob Miners earned 500 total points
ID: 38790250
original:

\??\C:\Windows\System32\DriverStore\FileRepository\bt848.masq.inf_amd64_neutral_04c772ce18de80fb\BT848.sys
!\??\C:\temp\bt848.sys
\??\C:\Windows\System32\drivers
!\??\C:\temp\bt848.sys

modified:

\??\C:\temp\bt848.sys
!\??\C:\Windows\System32\DriverStore\FileRepository\bt848.masq.inf_amd64_neutral_04c772ce18de80fb\BT848.sys
\??\C:\tmp\bt848.sys
!\??\C:\Windows\System32\drivers\bt848.sys

You can't copy a file to two locations from the same directory you will need to create another folder eg:tmp
Place a copy of bt848.sys in both temp and tmp

\??\ is the temporary container for the new file

!\??\ is the location that holds the file to be replaced


ref#

http://support.microsoft.com/kb/181345
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now