where are INFCACHE.1, infstor.dat, infstrng.dat files

senatar

New Member
Messages
2
Like always Windos has its problems with drivers, it's fine, we get it. In Windows 7 easy workaround was available - rename the INFCACHE.1, infstor.dat and infstrng.dat files (which are located in /Windows/System32/DriverStore folder), restart machine and it will force Windows to rebuild them.


BUT now I've installed Windows 8 and those files are gone. So what should we do now?
Please advice.
 
Last edited:

My Computer

System One

  • OS
    Windows 8
I have no idea what you are talking about. In all my years of very heavy Windows use, I've never heard of either this problem, or the solution. What is the problem exactly when you say "has it's problems with drives"?
 

My Computer

System One

  • OS
    Windows 8.1 Pro
    CPU
    Intel i7 3770K
    Motherboard
    Gigabyte Z77X-UD4 TH
    Memory
    16GB DDR3 1600
    Graphics Card(s)
    nVidia GTX 650
    Sound Card
    Onboard Audio
    Monitor(s) Displays
    Auria 27" IPS + 2x Samsung 23"
    Screen Resolution
    2560x1440 + 2x 2048x1152
    Hard Drives
    Corsair m4 256GB, 2 WD 2TB drives
    Case
    Antec SOLO II
    Keyboard
    Microsoft Natural Ergonomic Keyboard 4000
    Mouse
    Logitech MX
there does not appear to be an INFCACHE.1 file in Win8. I believe it's functionality has been moved to the registry as HKLM\Drivers, and that the HIVE is loaded on demand. The file to delete should be c:\windows\system32\config\drivers.

edit: fixed typo
 

My Computer

System One

  • OS
    haiku
there does not appear to be an INFCACHE.1 file in Win8. I believe it's functionality has been moved to the registry as HKLM\Drivers, and that the HIVE is loaded on demand. The file to delete should be c:\windows\system32\config\drivers.

edit: fixed typo

Thank you Koawmfot, I will try it out!
 

My Computer

System One

  • OS
    Windows 8
Here is my experience of finding INFCACHE.1 in Win 8.
Share it to anyone who need it.
= = = = = = = = = = Dividing line = = = = = = = = = =
First, it's known that:
In the legacy MS OS, such as win 2k(out of our discussion), xp and 2k3, even vista and 2008 (no r2)
%systemroot%\inf\INFCACHE.1 is the driver cache file ( we can also think it as a driver index database).
From win 7 to 2008 r2,
The driver cache file is moved to the following directory, and some new files appeared.
%systemroot%\System32\DriverStore\INFCACHE.1
%systemroot%\System32\DriverStore\drvindex.dat
%systemroot%\System32\DriverStore\infpub.dat
%systemroot%\System32\DriverStore\infstor.dat
%systemroot%\System32\DriverStore\infstrng.dat
If these driver cache files is missing, corrupted or incorrect, those device based on the default drivers built-in system will not work properly.
= = = = = = = = = = Dividing line = = = = = = = = = =
From win 8 to the latest widows version,
It seems that MS removed the driver cache which existed as files in the past.
= = = = = = = = = = Dividing line = = = = = = = = = =
We've spent some times, and it's not easy to find the new way MS store the driver cache msg in win 8, there has none MS offical explanation.
After win 8.1 is released, we still insist on looking for the driver cache storage location,
Misled by the old version of windows, we think the driver cache should exist as file format as before, and we get nothing from file comparison and tracking.
Then we try to find a new ideas to get new progress, and try to search any helpful msg from MS or Search Engine.
= = = = = = = = = = Dividing line = = = = = = = = = =
Finally, one day I found someone said he believe it's functionality has been moved to the registry as HKLM\Drivers, and that the HIVE is loaded on demand.
But I can not find this registry in my win 8.1 or win 8,
After reinstall the os, at the first time while system is ready to use(System Initialization), Press [Shift]key + [F10]key to call the cmd wnd,
Then run "regedit", okay! the HKLM\DRIVERS is exists here! Export it now.
= = = = = = = = = = Dividing line = = = = = = = = = =
Here to share its data structures:
[HKEY_LOCAL_MACHINE\DRIVERS]
There are 4 sub-items under HKLM\DRIVERS:
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DeviceIds]
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DriverFiles]
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DriverInfFiles]
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DriverPackages]
I don't know why it will disappear soon.
= = = = = = = = = = Dividing line = = = = = = = = = =
And there also has a registry:
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase]
Which has the same data structures as HKLM\DRIVERS, but theirs content is different.
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DeviceIds]
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DriverFiles]
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DriverInfFiles]
[HKEY_LOCAL_MACHINE\DRIVERS\DriverDatabase\DriverPackages]
So I export it too.
= = = = = = = = = = Dividing line = = = = = = = = = =
After gather the registry above, I heard someone told me there has another file exists in the OS:
%systemroot%\system32\config\drivers
Well, just extract it from the System Installation Disk now!
= = = = = = = = = = Dividing line = = = = = = = = = =
OK, let' make a summary now.
The "%systemroot%\system32\config\drivers" can be extracted from System Disk easily, and the registry need to be exported at the System Initialization.
After replace them to your OS, a sysrem reboot is needed to to take effect.
 

My Computer

System One

  • OS
    Win 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    MSI
Yes, I think you are on the right track. After windows is installed, it doesn't seem to be needed. I deleted the drivers hive, and a new one was created at 8kb and empty. Haven't had any issues. However, it is need in winpe. Using an empty hive there, it doesn't start up. Seems to be needed initially, then after that perhaps only loaded when adding new device drivers.

Haven't had time to investigate any further.
 

My Computer

System One

  • OS
    7/8/ubuntu/Linux Deepin
    Computer type
    PC/Desktop
Back
Top