Page 1 of 2 12 LastLast

  1. Joined : Apr 2016
    Posts : 4
    Windows 10
       17 Apr 2016 #1

    AppData/Local/Temp getting filled up with many copies of same folder


    I have a PC with a 250GB SSD on C: and a 1TB HD on D:

    For some reason, there is a single folder full of .dll files that keeps being copied into C:\Users\[username]\AppData\Local\Temp. Each folder is a hexadecimal name like 6CD07CB3-1546-419F-BDE1-C603C89D104C. Each folder contains exactly the same files, 144 .dll files from api-ms-win-base-util-l1-1-0.dll to Wow64Provider.dll. Each folder is 8.48 MB. Approximately one of these new folders is created every minute on the SSD. Many GB of folders are created every day, and I have to use CCleaner every few days to delete everything. There are times that the copying of folders will suspend for hours at at time, but it always starts back up again.

    I have scanned my hard drive numerous times and with many tools, including Windows Defender, Avast, MalwareBytes, and MalwareBytes Anti-Rootkit, and nothing has been found. I reinstalled Windows 10 completely in early March, and the problem did not go away. Extensive Googling for this problem has found nothing that resembles what I am seeing.

    The only thing that I can think of that is even vaguely abnormal on my system is that I have a MouseJiggler and I use PrivateInternetAccess VPN. Otherwise everything is very straightforward.

    Thanks in advance for your help.
      My System SpecsSystem Spec


  2. Joined : Jan 2015
    UK, Midlands
    Posts : 6,594
    Win 10 Pro (1607)
       19 Apr 2016 #2

    Hi, I'd suggest trying to reach a point where this is NOT happening, and work back from there to diagnose the cause.

    1. Check it doesn't happen in Safe Mode for reference
    2. Try a clean boot
    Clean Boot - Perform in Windows 10 to Troubleshoot Software Conflicts - Windows 10 Forums

    Noted this is where those files are on mine:
    Click image for larger version. 

Name:	Snap 2016-04-19 at 19.35.05.jpg 
Views:	4 
Size:	53.0 KB 
ID:	75659Click image for larger version. 

Name:	Snap 2016-04-19 at 19.36.02.jpg 
Views:	3 
Size:	57.2 KB 
ID:	75660

    If that reveals nothing, then
    Sysinternals Procmon will allow you to trace all activity on your PC with extremely detailed filtering of the report.
    Thus you may be able to identify what is copying or writing those files. May.
      My System SpecsSystem Spec


  3. Joined : Aug 2015
    Posts : 318
    Windows 10 Pro
       19 Apr 2016 #3

    slapdashuser said: View Post
    For some reason, there is a single folder full of .dll files that keeps being copied into C:\Users\[username]\AppData\Local\Temp. Each folder is a hexadecimal name like 6CD07CB3-1546-419F-BDE1-C603C89D104C. Each folder contains exactly the same files, 144 .dll files from api-ms-win-base-util-l1-1-0.dll to Wow64Provider.dll. Each folder is 8.48 MB. Approximately one of these new folders is created every minute on the SSD. Many GB of folders are created every day, and I have to use CCleaner every few days to delete everything. There are times that the copying of folders will suspend for hours at at time, but it always starts back up again.
    I see the same thing on two of my Windows 10 x64 Pro machines, but not on others. Never considered this an issue, since this is the Temp folder anyway. I just delete everything in this folder from time to time.
      My System SpecsSystem Spec


  4. Joined : Jul 2015
    California
    Posts : 186
    Kernel 4.x.x
       19 Apr 2016 #4

    Those are just folders created by generic API calls in programs that are running in the background.'

    They're not malicious (typically) and are not unusual at all. They're just for storing temporary data, in this case, libraries for your apps.

    That's what the temp folder is for, so it's working as intended.


    Now, if you're worried about your SSD (you probably shouldn't be, modern SSD can withstand several terabytes of writes before they show any sign of degradation), you can do as I do, and move the temp directory to RAM. It makes the system faster and has no drawbacks provided you have enough memory to spare.

    Plus, if you do it the way I do, only the memory currently being used by the data stored on temp is actually allocated. Further, the memory is released when no longer needed. Something uncommon for most RAM disk software.

    Plus your temp directory is cleared when you reboot, so that's one less thing to think about when you do your system maintenance.

    To move temp to a RAM disk, install this open source virtual filesystem driver. ImDisk
    It's a very fast download and install. No ads, or spyware bundles that you find in other RAMDisks tools.
    Plus it's so trustworthy and stable that ASUS distributes it rebranded under it's ROG namebrand, included in the box with their top shelf motherboards.

    Now to make setting up temp directory, I'd advise to use this open source tool, as it handles all of the configuration for you.
    ImDisk ToolKit

    Default settings are fine to install with.

    Open startmenu, and there should be a "recently added" entry for "RamDisk Configuration"

    If not, just search the startmenu for Ramdisk Config, and open it.

    I like to set the size to 1/4th of my system memory. So you might want to try the same.

    I preferdrive letter to be "T" for temp, the choice is yours to make.

    Check "Allocate Memory Dynamically" (important)

    File system should be NTFS, not anything else.

    Both boxes checked (important)

    Then click "Set TEMP variables" and then click "Set All To:"

    Hit ok, then close the dialog that pops up, and close the RamDisk Config utility.


    Now for an extra bit of transparency, some (badly coded) programs ignore the TEMP variable and use %USERPROFILE%\AppData\Local\Temp anyway.

    To fix that, we can use a symlink! But first you'll need to reboot to close any open handles preventing you from modifying the old temp dir.

    Copy and paste this into a bat file so you don't have to take the time to open this thread to continue after a reboot, just run the bat file as admin and you're set!

    Code:
    @ECHO OFF
    TITLE by Hydranix
    rem This next bit checks if running as admin
    NET SESSION
    IF NOT %ERRORLEVEL% == 0 (
    COLOR 0C
    CLS
    ECHO Script must be ran as admin!
    PAUSE
    EXIT
    )
    CLS
    :MENU
    ECHO.
    ECHO The old temp directory still exists,
    ECHO and likely still has old data in it.
    ECHO.
    ECHO The symlink will need to replace this
    ECHO directory.
    ECHO.
    ECHO What do you want to do with the old temp?
    ECHO ================
    ECHO.
    ECHO 1) Rename it to temp_old.
    ECHO 2) Delete it and everything in it forever.
    ECHO 3) Merge contents of old temp to new
    ECHO.
    ECHO 0) Exit, and do not create the symlink.
    ECHO.
    SET /P OPT=Enter option: 
    IF "%OPT%"=="1" GOTO O_RENAME
    IF "%OPT%"=="2" GOTO O_DELETE
    IF "%OPT%"=="3" GOTO O_MERGE
    IF "%OPT%"=="0" EXIT
    CLS
    ECHO.
    ECHO Invalid option...
    ECHO.
    GOTO MENU:
    :O_RENAME
    PUSHD "%USERPROFILE%\AppData\Local"
    RENAME "%USERPROFILE%\AppData\Local\temp" "temp_old"
    GOTO O_SYMLINK
    :O_DELETE
    PUSHD "%USERPROFILE%\AppData\Local"
    RD /S /Q "%USERPROFILE%\AppData\Local\temp"
    GOTO O_SYMLINK
    :O_MERGE
    PUSHD "%USERPROFILE%\AppData\Local"
    ROBOCOPY "%USERPROFILE%\AppData\Local\temp\*" "%TEMP%\" /E /MOVE /COPYALL
    GOTO O_DELETE
    :O_SYMLINK
    MKLINK /D "%USERPROFILE%\AppData\Local\temp" "%TEMP%"
    ECHO.
    ECHO Done..
    PAUSE
    EXIT
      My System SpecsSystem Spec


  5. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,592
    Windows 10 Pro
       20 Apr 2016 #5

    slapdashuser said: View Post
    I have a PC with a 250GB SSD on C: and a 1TB HD on D:

    For some reason, there is a single folder full of .dll files that keeps being copied into C:\Users\[username]\AppData\Local\Temp. Each folder is a hexadecimal name like 6CD07CB3-1546-419F-BDE1-C603C89D104C. Each folder contains exactly the same files, 144 .dll files from api-ms-win-base-util-l1-1-0.dll to Wow64Provider.dll. Each folder is 8.48 MB. Approximately one of these new folders is created every minute on the SSD. Many GB of folders are created every day, and I have to use CCleaner every few days to delete everything. There are times that the copying of folders will suspend for hours at at time, but it always starts back up again.
    To start with, those dll files are normal Windows system files and will normally be found in Temp folder. However, in your case if they are created every minute and such a many GBs, the solution is not to move Temp to a RAM disk; instead you need to find out what is causing this.

    Here some screenshots from my PC which I turned on about 70 minutes ago, just after 6 AM my time. In first 70 minutes of usage, only the highlighted temp files have been created:

    Click image for larger version. 

Name:	2016_04_20_05_31_141.png 
Views:	2 
Size:	142.4 KB 
ID:	75719

    In my case I have not emptied the Temp folder in over two weeks (since my last clean install), and have 120 of those DLL files in Temp, total size under 8 MB:

    Click image for larger version. 

Name:	2016_04_20_05_34_462.png 
Views:	1 
Size:	100.8 KB 
ID:	75720

    All those found in my Temp folder are from the day Windows 10 was installed:

    Click image for larger version. 

Name:	2016_04_20_05_37_173.png 
Views:	74 
Size:	100.7 KB 
ID:	75721

    I do not know what is causing your issue, the files being created every minute. However, I strongly recommend that you do not use the RAM disk workaround before we have found the culprit. Let's hope other geeks with more knowledge about the issue will jump in with ideas.

    Kari
      My System SpecsSystem Spec


  6. Joined : Apr 2016
    Posts : 4
    Windows 10
       20 Apr 2016 #6

    Thank you so much for all your responses. I agree that using the RAM disk workaround is not an appropriate solution.

    Kari, the 144 files that are in each of my Temp folders contain all of what you showed above and more.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	1 
Size:	107.9 KB 
ID:	75846

    It does seem like these are all normal files from Windows 10 install. I have been away from my computer for the last three days, leaving it on, and a new copy of all of these .dll files was created still, once every minute, give or take. (Sometimes two per minute, sometimes once every two minutes.) I just deleted over 32GB of temporary files just from the last three days.

    I'm going to try the clean boot, and the booting into safe mode, and see what happens.
      My System SpecsSystem Spec


  7. Joined : Apr 2016
    Posts : 4
    Windows 10
       20 Apr 2016 #7

    BTW, the date of the files is always the same: 10/30/2015 2:28 AM. But the date of the Temp folder itself is always the date that the folder was created.
      My System SpecsSystem Spec


  8. Joined : Apr 2016
    Posts : 4
    Windows 10
       20 Apr 2016 #8

    Very interesting additional piece of information. This seems to only happen when the computer is locked, not in use. When it's unlocked, when I'm using it, the folders don't get copied. Why would that be?
      My System SpecsSystem Spec


  9. Joined : May 2016
    Posts : 1
    Windows 10, Elementary OS
       29 May 2016 #9

    Would love to find out if anyone has been able to resolved the issue. I'm experiencing basically the exact same issue as OP.

    Left my work computer on over the weekend, came back to find ~24GB of these files. In my case there's also one of these folders created basically ever minute.

    Super grateful if anyone's able to help!
      My System SpecsSystem Spec


  10. Joined : Jun 2016
    Posts : 1
    Windows 10
       13 Jun 2016 #10

    *Bump* Same problem. Just took 10 hours to delete 240GB of this stuff from my computer.
    Someone must have an idea or how to diagnose this.
      My System SpecsSystem Spec


 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Solved unable to create the directory "C:\users\tom\appdata\local\temp\*.tmp
trying to install visual studio code and this message pops up immediately. "Setup was unable to create the directory "C:\users\tom\appdata\local\temp\*.tmp" error 5 access is denied I tried taking ownership at appdata point but still no go....
Software and Apps
Temp folder %temp %
Hello I recently installed 2 updates from NVIDEA. I have run disc clean up and Ccleaner>Windows but this attachment says it all. I could use 'Unlocker' but do not want to do damage if the file should not be removed. Do you have any suggestions?...
Software and Apps
Moving Appdata folder
I am looking to move the Appdata folder within my user file. I have tried previously to move it(changing the location of the files inside it)and it caused system hangs and a loss of the start menu. Ive also tried to do the old method of...
General Support
Possible to access data no longer stored in AppData/Local/Temp?
A few months ago I downloaded data somewhere and it was stored in C:/Users/mke48/AppData/Local/Temp. However it is no longer there as only files up to a few months ago are listed there. Is there any way at all I can access data stored there prior to...
General Support
Over 50GB of Temp Files in AppData Subfolder
I have over 50 GB of folders and files in the following directory: C:\Users\Chris\AppData\Local\Temp Can those files be removed? I was wondering where all my space was going... prior to upgrading to Windows 10, I had 135-140GB free out of 240GB,...
Performance & Maintenance
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 23:37.
Find Us
Twitter Facebook Google+



Windows 10 Forums