Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


How to delete xml files?

  • Please log in to reply
1 reply to this topic

#1 Krystalfan686


  • Members
  • 3 posts
  • Local time:01:15 PM

Posted 12 October 2016 - 11:44 AM

There are over 300,000 xml files in a folder at the location C:/Windows/servicing/Sessions. These files are slowing my antivirus scanner down significantly.


I have tried to delete the folder containiing these files any way that I can, but a message saying "You require permission from SYSTEM to make changes to this folder" keeps coming up.


I read somewhere that I need to change the ownership of the folder, which I have tried to do, but that still does not work.


What do I do?

BC AdBot (Login to Remove)


#2 JohnC_21


  • Members
  • 24,649 posts
  • Gender:Male
  • Local time:07:15 AM

Posted 12 October 2016 - 12:02 PM

You can exclude the folder in your Antivirus. From looking at these files (I only have 44) they are KB update files. I don't know what will happen if you delete all of them but the way I would do it is by booting a live linux disk, browsing to the Sessions folder, and then deleting them. I would not delete all of them at once. Delete a few thousand first and see how long it takes. I have no idea why your have over 300000 of these files. Maybe somebody on the forum can answer that question. I would open some of the later ones with Notepad and determine what program or update created the XML file.


Booting a live linux disk would override any Windows permissions. But the first thing you would need to do if you decide to boot linux is to turn off fast startup in Windows as a Windows 8 shutdown is a hybrid shutdown and linux would detect the disk as read only. After turning off fast startup. Reboot to Windows and then shutdown. Then boot the linux disk. 



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users