Sign in to follow this  
Followers 0
BoardBabe

Can I safely delete Infcache.1

7 posts in this topic

After install I get a INFCACHE.1 on %systemroot%. Can I safely delete this in cleanup.cmd?

0

Share this post


Link to post
Share on other sites

INFCACHE.1 is there because somewhere, somehow you specified the root directory as a possible placement of driver files. Setup scanned there, and left the results in INFCACHE.1. You can probably delete it with no problem, but I would find the reason setup is looking there for drivers. What is in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DevicePath?

0

Share this post


Link to post
Share on other sites

%SystemRoot%\inf;%SystemDrive%\

I do currently not install any drivers from my DVD, but I have the following in winnt.sif.

DriverSigningPolicy=Ignore
OemPnPDriversPath=""

0

Share this post


Link to post
Share on other sites
%SystemRoot%\inf;%SystemDrive%\ ...

Something is putting %SystemDrive%\ in there, and it should not be. That is your real problem. I would try removing the OemPnPDriversPath completly, and I bet it disappears.

Now, in answer to your question: YES, you may delete it. It is there to speed up searching for drivers when adding hardware, and is valid for the directory in which it resides. Without it, Windows will search all the INF files in the SYSTEMDRIVE (usually C:). Since there are usually very few files in the root of the SYSTEMDRIVE, chances are you will increase the time to search for drivers by a few milliseconds.

Does that help?

0

Share this post


Link to post
Share on other sites

One thing I forgot to add ... I believe as long as you have %SYSTEMDRIVE% in your registry setting quoted above, the file might re-appear after every time you run the "Add Hardware Wizard". That is why I suggest getting rid of the cause, not the symptom. For now, you can just clean that registry setting (change to %SystemRoot%\inf).

Watch out for the bumpy roads!

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.