I am trying to delete temporary asp.net files from C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files and some folders get deleted but for some folders I have to open each folder and then delete them . Have set the property of folder as NOT READ ONLY but still some files do not get deleted. It is very time consuming. Is there any property I can set which can help me delete all the files/folders at once? Thanks in advance

  • 1
    Just right click on the Temporary ASP.NET folder within `C:\Windows\Microsoft.NET\Framework\v4.0.30319` and change the properties or just delete the folder. The folder will automatically be generated. – Ramhound Jun 17 '15 at 15:51
  • I tried what you suggested. It says you need permission to perform this action . – meghna Jun 17 '15 at 16:04
  • - Just take ownership of the folder then proceed to delete it. – Ramhound Jun 17 '15 at 16:05
  • soooo much easier than it used to be under IIS6. you used to have to stop the app pool or it wouldn't let you delete anything.... – Frank Thomas Jun 17 '15 at 16:47

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.