Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to Enable or Disable Deleting Temporary Files

17 May 2011   #1

Windows 7 Home Premium 32bit
How to Enable or Disable Deleting Temporary Files

I need help on one of our computers, I have windows 7 home premium, and I am trying to disable deleting temporary files. Can you please help me on this? I have tried through regedit, under HKey_Current_User under Software/Policies/Microsoft/Internent Explorer/ControlPanel, it is set to 1. It is working but how about to disable deleting temporary files?


My System SpecsSystem Spec
17 May 2011   #2

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

So, you mean that you have applied this fix, that removes Internet Option, but users can still delete cache?
Or is that a cleaner application you are trying to block?
My System SpecsSystem Spec
18 May 2011   #3

Windows 7 Home Premium 32bit

Neutron16, i am trying to disable deleting the temp files. because even if the delete option is disabled, the user can still go to "View Files" then delete all the temp files. I am using Windows 7 home premium and there's no group policy on it. I dont know what else to do. User keeps on deleting temp files.
My System SpecsSystem Spec
18 May 2011   #4

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

I am pretty sure that there is no such policy.

What is the purpose of not deleting cache? Checking up on a user can be done with special spying-a-like software.

To prevent user clicking on those Temporary Files buttons I have a hardcode solution for you.
You can move that folder location (Control panel- Internet Options- Browsing history – Settings – Move). Then made user a standard, not admin, then, block access to the registry and then edit the window itself.

To edit programs and dll's you need to use
Restorator - Bome Software - Restorator - the resource editor for customization, localization, and translation.
or PE Explorer: PE Editor, EXE File Editor Tool, DLL Reader, Disassembler, Delphi Resource EXE DLL Editing Software.

ResHacker is free, but it does not have particular gui window to edit controls (you can edit only in text, but you have to know exact wording).

The following file can be edited:
C:\Windows\system32\en-us\inetcpl.cpl.mui (instead of en-us could be yours system language)
The dialog which has these buttons is Dialog 100.

Using properties of those buttons, you can make them disabled (greyed-out) or disabled and invisible or move them outside window borders. But when you save this edited file and replace it, it will be changed for everybody (with replacement there might be some issues with files owned by a system).

But even still user could overcome this issue, but using some third-party cleaners or finding that folder the other way: by search, etc.

And if any future Windows Updates can potentially replace that file.

Before doing all that, all necessary backups need to be made as well as system restore checkpoint.

I am not responsible for any damage or possible violations of EULA's /copyrights you can cause by doing actions mentioned above.
My System SpecsSystem Spec
28 Jan 2013   #5

Win 7

Me Very Need Help For Disable delete file in folder.
me run Babylon but close delete file and folder in temp me need help for copy file and folder make offline.
Thanks A Lot.
My System SpecsSystem Spec
28 Jan 2013   #6

Windows 7 Home Premium 64 Bit

There is not a way to block deletion of Temp Internet Files, Perhaps you can try restricting the users access, ( none administrator) to see what that does.

Or alternativly, Create a continues backup/replication of the Temp folder to copy its contents to another location, So when the user deletes temp files, you still have a copy.
My System SpecsSystem Spec

 How to Enable or Disable Deleting Temporary Files

Thread Tools

Similar help and support threads for2: How to Enable or Disable Deleting Temporary Files
Thread Forum
IPv6 Temporary Address - Enable or Disable Tutorials
Zip - Extracted Files Window - Enable or Disable Tutorials
Offline Files - Enable or Disable the Use Of Tutorials
Deleting Windows Temporary Files? Performance & Maintenance
Deleting Temporary Files Performance & Maintenance
Restore Backup Files - Enable or Disable Tutorials
Backup User and System Data Files - Enable or Disable Tutorials

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:24 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App