Solved

How to swap the system file by another one?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Several part series to implement Internet Explorer 11 Enterprise Mode
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

20 Experts available now in Live!

Get 1:1 Help Now