Windows 10: why drivers keep their files under file repository

Discus and support why drivers keep their files under file repository in Windows 10 Ask Insider to solve the problem; I deleted a program with drivers, and wanted to do a clean removal, so every other file needs to go. Some files cannot be deleted, in system32 under... Discussion in 'Windows 10 Ask Insider' started by /u/SexyCigar23, Apr 15, 2022.

  1. why drivers keep their files under file repository


    I deleted a program with drivers, and wanted to do a clean removal, so every other file needs to go. Some files cannot be deleted, in system32 under driver and driverstore maps. why windows store them and can they do any damage? is there an option to delete unsued and old files?

    while trying to delete files system says: you require permission from system to make changes to this file

    thanks!

    submitted by /u/SexyCigar23
    [link] [comments]

    :)
     
    /u/SexyCigar23, Apr 15, 2022
    #1
  2. Anne Ros Win User

    Driver Store-File Repository using huge disk space. How can I reduce it?

    Thank you for the update. Try deleting the unneeded drivers by following the steps below:

    • On the search bar, type command prompt, right-click on it from the list then run it as
      Administrator.
    • Type the command pnputil.exe /e > c:\drivers.txt then click
      Enter.
    • This command will create a file drivers.txt on C: drive with the list of driver packages that are stored in the File Repository folder.
    • Delete all unnecessary drivers with the help of command pnputil.exe /d oemNN.inf (NN — is a number of drivers file package from drivers.txt, as example oem07.inf). In case the driver is in use, you will see an error while
      trying delete it.

    Update with the outcome so we can provide further assistance.
     
    Anne Ros, Apr 15, 2022
    #2
  3. Driver Store-File Repository using huge disk space. How can I reduce it?

    Hi

    Is it possible... that there will be drivers that are not inuse when I perform this action - that I may actually need?
     
    kimhampson, Apr 15, 2022
    #3
  4. slozomby Win User

    why drivers keep their files under file repository

    Recent File List

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file1

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file2
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file3
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file4
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file5
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file6
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file7
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file8
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file9
    ...

    you get the idea. ( too lazy to put it in a for loop and test it.

    or just open regedit and remove all the fileX from that key.
     
    slozomby, Apr 15, 2022
    #4
Thema:

why drivers keep their files under file repository

Loading...
  1. why drivers keep their files under file repository - Similar Threads - why drivers keep

  2. Why are there multiple users under security tab in files.

    in Windows 10 Gaming
    Why are there multiple users under security tab in files.: I've noticed a lot of files saying modified and was confused when I see different profile and work profiles under the security tab. Have no idea if I've been hacked need some advice...
  3. Why are there multiple users under security tab in files.

    in Windows 10 Software and Apps
    Why are there multiple users under security tab in files.: I've noticed a lot of files saying modified and was confused when I see different profile and work profiles under the security tab. Have no idea if I've been hacked need some advice...
  4. Cannot delete remaining windows.old repository files

    in Windows 10 Support
    Cannot delete remaining windows.old repository files: Since recently updating Wn 10 Pro to 20H2 I've deleted the bulk of windows.old (1909) to get more storage space. But this folder cannot be deleted: [img] C:\Windows.old\WINDOWS\System32\DriverStore\FileRepository All attempts to delete it or its files gives the error...
  5. This PC File under Desktop

    in Windows 10 Network and Sharing
    This PC File under Desktop: This PC File holds many downloaded files which I already saved. Should be clearly out and deleting periodically all the files in This PC File? https://answers.microsoft.com/en-us/windows/forum/all/this-pc-file-under-desktop/5ab3b2cd-b28c-4350-8121-04c2b71ba379
  6. Why would a file I haven't opened be listed under Recent Files in File Explorer?

    in AntiVirus, Firewalls and System Security
    Why would a file I haven't opened be listed under Recent Files in File Explorer?: Why would File Explorer show a file name under Recent Files that I haven't opened? The file is from a deep folder tree so not an errant click on my part. I've run a full virus scan plus a remote scan and both check out okay....
  7. viruses in file repository folder.

    in AntiVirus, Firewalls and System Security
    viruses in file repository folder.: hi, my antivirus is detecting the malware - new.heur (variant graftor) in the file repository. I try to delete them but they appear again in the next scan and their number increases too. please help. thanks...
  8. Driver Store-File Repository too much disc space and no coherent response from Microsoft

    in Windows 10 Network and Sharing
    Driver Store-File Repository too much disc space and no coherent response from Microsoft: I have an Inspiron 7559, i7- 2.60GHZ of which 66.7GB is used from 199GB. Running WinDirStat I've identified 26.3GB in file repository. There are no apps, downloads, history files etc., disc clean defrag etc etc has been performed. Why is it impossible to get transparency...
  9. about wordpad under file

    in Windows 10 Software and Apps
    about wordpad under file: I can't use it I think it is licensed to old e-mail address, can I changelicense to new e-mail address? https://answers.microsoft.com/en-us/windows/forum/all/about-wordpad-under-file/2c6ce777-bc88-4dfd-8a80-9633e382396c
  10. Clean File Repository - Save Valuable Disk Space With This Trick

    in Windows 10 Performance & Maintenance
    Clean File Repository - Save Valuable Disk Space With This Trick: *This trick/tutorial is only viable for those who had their system setups for a while and had been constantly updating their drivers to the latest. So while I was lately focused on fixing a crash caused by windows update service attempting to force update my graphics...