Solved

How to swap the system file by another one?

Posted on 2013-01-17
1
446 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

740 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