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?

Thanks! :)
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

Thread Tools

Similar help and support threads
Thread Forum
After deleting temporary files, it's still shows 60.0 KB size
ZUjVR6MR5k0 Any suggestions?
Performance & Maintenance
Deleting Temporary + Set Up Files etc - OK to do that?
Hello My first question is that Windows Cleanup always "discovers" many files for cleaning up. However, it usually only ticks a few items such as temp internet files. How about those Set up log files, Temporary Files, Per user archived windows error report, System archived windows error...
Performance & Maintenance
IPv6 Temporary Address - Enable or Disable
How to Enable or Disable Temporary IPv6 Address Feature in Windows 7 and 8 In this tutorial I will be showing you how to enable or disable the temporary IPv6 address that Windows generates when using the IPv6 address protocol. This will allow Windows to use the EUI-64 industry standard to...
Deleting Windows Temporary Files?
Hi Guys, I went to delete my Windows Temporary Files by going in Start/run and I entered %temp% and click ok to access the folder which is at: Yannik/AppData/Local/temp After that, I realize there was another place with tempolrary files, what the heck! Can someone explain me why on Windows 7...
Performance & Maintenance
Deleting Temporary Files
When Disk Cleanup is run with "Temporary Files" checked, does Windows 7 only delete files older than one week? Therefore, does this mean I can routinely check this box when running Disk Cleanup?
Performance & Maintenance

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 01:17.
Twitter Facebook