Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to swap the system file by another one?

Posted on 2013-01-17
1
Medium Priority
?
460 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
Rob Miners earned 2000 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

Technology Partners: 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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

705 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