Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I use PendingFileRenameOperations to rename a file which is in use? Especially system files, like tcpip.sys. I have created a key PendingFileRenameOperations (REG_MULTI_SZ) in

HKLM\System\CurrentControlSet\Control\Session Manager

And wrote there something like this:

\??\C:\windows\system32\tcpip.sys \??\C:\windows\system32\tcpip.bkp

I have found that Windows File Protection doesn't let me do that. What's wrong with it?

share|improve this question

It looks to me like you have an error in the long filename prefix syntax. Instead of \??\, try \\?\.

share|improve this answer
    
I know it,but try to rename system file, like tcpip.sys .It's not working on system files :( – Searush Sep 23 '12 at 16:14
1  
I found that Windows File Protection (WFP) doesn't let me do that. But I don't know how to disable it.Help please. – Searush Sep 24 '12 at 15:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.