• Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Malware Removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Cannot delete file, preventing Windows Update

Status
Not open for further replies.

slonslon7

PCHF Member
Mar 1, 2017
14
8
36
Hello,

I'm using Windows 10, and any updates stop installing at 50% due to Avira.

However, Avira is completely uninstalled on the system and after reading Microsoft's and Avira's documentation, I found one remnant called "avipbb.sys" in the System32/Drivers folder.

I've been unable to delete this file no matter what.
I've tried:
-renaming it
-changing ownership permission to my current user over the Drivers folder (doesn't allow me to change permission successfully)
-using specialized tools such as FileAssasin, LockHunter, IObit unlocker, Blitzbank, and Unlocker...all of which have failed.
-running command codes as admin to remove the file

The error message always says something along the lines of access denied, no permissions.

Would appreciate any help or assistance on how I can get rid of this file once and for all so I can update windows.

Thanks very much
 
Try this by Vijay on the MS forum:
https://answers.microsoft.com/en-us...r/faefbdc2-7698-4bdb-a0f0-c3048e7f7a45?auth=1

This is a known issue and Microsoft has released an utility to handle this problem.

Download this utility from ( https://aka.ms/AppRPS ) and double click to unzip the file. This has 2 files which you should copy to somewhere on your computer.

appraiser.bat
AppRaiserScript.PS1

Double click appraiser.bat to run and it will run and do all required tasks for you on its own to remove required blockers.

After this runs successfully, you can try to update Windows again.

Source - https://answers.microsoft.com/thread/84822c03-b...
 
Last edited by a moderator:
Thank you,

I just tried this method again (running as admin) but the powershell comes up with 19 results but also an error which I'll paste below. I know the location of the file is C:\Windows\System32\drivers

Test-Path : Cannot bind argument to parameter 'Path' because it is an empty string.
At C:\Users\SamSwanson\Desktop\AppRPS\AppRaiserScript.PS1:31 char:20
+ if ((Test-Path $folderpath) -And ((Get-Item $folderpath) -is [Sys ...
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidData: :)) [Test-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Test
PathCommand


And the Log file is:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:

App Vendor: Avira GmbH
App Name: Avira AntiVir
Dir Path:
 
Strange.
Have you tried removing it under safe mode?
If you have Macrium Reflect you can use the boot media & boot to the PE environment, open explorer then find the file & try deleting it that way.
 
Last edited by a moderator:
Safe mode worked! Changed the owner first, then went to safe mode and it deleted without any issue. Starting the windows update process now but we should be able to consider it resolved. Thank you very much for the help.
 
  • Like
Reactions: Bastet
Status
Not open for further replies.