Windows 10: Suppress *.tmp creation


  1. Posts : 12
    Windows 10 Home x64, Various in VM (mainly Win 7)
       04 Feb 2016 #1

    Suppress *.tmp creation


    I have a very restrictive permission system on my external hard drive, for security reasons (and because the files on the drive are very valuable (to me at least), scientific journal articles amongst other things) I have it set so that:
    • only one user (an admin, which has full control) can delete, this is further restricted by another permission that disallows deletion (this applies to all users, even 'everyone' group) so I have to make the conscious decision to remove the disable permission, then enter that user's admin password on the UAC screen to delete any files. This is to hopefully prevent accidental deletion of any files and to prevent any malware corrupting these files (I don't ever install using that admin account or use that admin account for anything other than when I am using these files)
    • only my main account (read, write & execute) & that admin account has write capabilities (annoyingly though to rename/move a file the delete permission is used, why is that? Shouldn't rename at least be 'write' not 'delete'?)
    • Only that admin account can take ownership and/or edit permissions, through both the filesystem permission and the 'take ownership' power in Group policy (only that admin account has that ability). Again, like delete, further restricted by a 'deny take ownership & change permission' group which further disallows any other user from making changes
    • every other user, including the 'everyone' group only has read & execute access


    The annoying fact of all that is that any effort to change anything on that drive creates a *.tmp file, a simple right click, for example creates a tmp file. Is there a way to suppress these files being created as they are not automatically deleted by the OS, even when the permissions are not as restrictive as they are currently? It is quite annoying having random files pop up in a file structure that's being backed up to disk frequently (I often forget to remove the files).
    In addition, is there any other modifications I should make to further protect these files, such as any other accounts that should be denied write/delete access?
    Thank you, and I hope I have made a little bit of sense.
      My ComputerSystem Spec

  2. philc43's Avatar
    Posts : 3,591
    64bit Win 10 Pro ver 1809 Build 17763.1 and W10 Insider Build 18252
       04 Feb 2016 #2

    There is a Task Schedule event for DiskCleanup which you might be able to adjust so that it automatically deletes temporary files on a regular basis. It's just a suggestion but it might need the help of other experts to set it up for your particular circumstances.
      My ComputersSystem Spec


  3. Posts : 12
    Windows 10 Home x64, Various in VM (mainly Win 7)
    Thread Starter
       04 Feb 2016 #3

    philc43 said: View Post
    There is a Task Schedule event for DiskCleanup which you might be able to adjust so that it automatically deletes temporary files on a regular basis. It's just a suggestion but it might need the help of other experts to set it up for your particular circumstances.
    That is a very good idea, can't task scheduler be run under (as) any account? I could just set it to use the management admin account (full permissions one) and remove DenyDelAll group (as only the 'fully sorted' (well in theory they are supposed to be... although a lot of corrupted files have been found) have DenyDelAll applied to them) before the scheduled start to allow deletion, then restore DenyDelAll?
    thank you for your quick reply, I am doing a lot with these files currently (moving, renaming, decrypting, finding corrupted files & deleting corrupted files) in preparation for a full backup to BD-R disks, so accordingly a lot of those tmp files are being created
      My ComputerSystem Spec


 

Related Threads
Solved Media creation tool in Installation and Upgrade
Does anyone know if using the media creation tool to 'install' Windows 10 when Windows 10 is already installed (and keeping all files etc) will fix problems? I have some issues with Windows (broken and missingpreinstalled apps - yes I've tried...
Solved Media Creation Tool will not run in Installation and Upgrade
The Media Creation Tool will NOT run at all on my Windows 7 Ultimate desktop and my Lenovo Yoga 2 Pro with Windows 8.1. When I try to run it, nothing happens after clicking the message that allows it run. I know it does not start immediately but I...
Solved Media Creation Tool in Installation and Upgrade
When you use the creation tool and enter the type os system etc. and it creates either a USB or a DVD is the file that you receive close to the latest ISO? shipinomore
Solved Windows Image Creation in Backup and Restore
Hello Boys and Girls I would really like to know what is wrong with the built in windows 10 back up image software. I have tested this windows software without problems, it does what it says on the tin. So why does everyone on this forum...
User account creation--does nothing in User Accounts and Family Safety
Got Win 10 installed with no issues. Tried to create a second user account and i get the spinning wheel of doom and nothing happens. Checked all the services associated with user accounts and restarted them as well. rebooted to safe mode and same...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:04.
Find Us