Solved

How to swap the system file by another one?

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
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.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

628 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