Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Can I safely delete Infcache.1

- - - - -

  • Please log in to reply
6 replies to this topic

#1
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,419 posts
  • Joined 04-October 04
After install I get a INFCACHE.1 on %systemroot%. Can I safely delete this in cleanup.cmd?
BoardBabe


How to remove advertisement from MSFN

#2
GreenMachine

GreenMachine

    ineXPlicable

  • Developer
  • 3,062 posts
  • Joined 22-August 03
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?

#3
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,419 posts
  • Joined 04-October 04
%SystemRoot%\inf;%SystemDrive%\

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

DriverSigningPolicy=Ignore
OemPnPDriversPath=""

BoardBabe

#4
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,419 posts
  • Joined 04-October 04
bump
BoardBabe

#5
GreenMachine

GreenMachine

    ineXPlicable

  • Developer
  • 3,062 posts
  • Joined 22-August 03

%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?

#6
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,419 posts
  • Joined 04-October 04
Yep thanks. A little bump in the road did the trick...
BoardBabe

#7
GreenMachine

GreenMachine

    ineXPlicable

  • Developer
  • 3,062 posts
  • Joined 22-August 03
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 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users