Ramdisk for TEMP and TMP Folders but what about Windows Updates?  

Page 1 of 2 12 LastLast

  1. Posts : 32
    Windows 10 Pro. x64 22H2
       #1

    Ramdisk for TEMP and TMP Folders but what about Windows Updates?


    Window 10 Pro. x64 22H2 build 19045.2251

    I'm totally new to Windows 10 and want to use a ramdisk for the system TEMP and TMP folders (I did this successfully on my old Windows 7 system).

    However, I am wondering if doing this will cause a problem with Windows Updates. I mean, some Updates require reboots before the update can be applied. Does Windows 10 Updates write into the TEMP/TMP folder and expect to find temporary files there on the system rebooting if the installation of the update requires a system reboot? I hope I am making my meaning clear.
    Last edited by LastUnicorn; 27 Nov 2022 at 13:57.
      My Computer


  2. Posts : 9,262
    Mac OS Catalina
       #2

    No need for a RAMdisk with how fast today's drives are.
      My Computer


  3. Posts : 5,029
    Windows 7 HP 64 - Windows 10 Pro - Lubuntu
       #3

    I'm not sure but I think updates are stored in C:\Windows\SoftwareDistribution so no problems at all.

    But why you're going to use memory for to hold trash?
    Run disk cleanup regularly.
    How to automatically run Disk cleanup on Windows 7, 8.x and 10
      My Computers


  4. Posts : 32
    Windows 10 Pro. x64 22H2
    Thread Starter
       #4

    Megahertz said:
    But why you're going to use memory for to hold trash?
    Really just to save writes to my SSD, it will last longer.

    Though I should add that nowadays my use of my computer is really very simple stuff, I'm not running anything that requires tons of RAM so I have lots of scope for just using a slice of RAM for a ramdisk without negatively impacting my day-to-day use of the system. The other advantage is that I don't have to remember to go and clean out the TEMP folder from time to time: I shutdown the system and all the TEMP content is gone, and it never touched my SSD, this makes me happy.
      My Computer


  5. Posts : 5,916
    22H2 64 Bit Pro
       #5

    Just move user variables and it won't be a problem. Maybe browser cache also if you like.

    -environment-variables.jpg

    More advanced usage example here:

    Help a Newbie Create a RAMDisk

    You will get endless argument on this.
      My Computer


  6. Posts : 5,029
    Windows 7 HP 64 - Windows 10 Pro - Lubuntu
       #6

    LastUnicorn said:
    Really just to save writes to my SSD, it will last longer.

    Though I should add that nowadays my use of my computer is really very simple stuff, I'm not running anything that requires tons of RAM so I have lots of scope for just using a slice of RAM for a ramdisk without negatively impacting my day-to-day use of the system. The other advantage is that I don't have to remember to go and clean out the TEMP folder from time to time: I shutdown the system and all the TEMP content is gone, and it never touched my SSD, this makes me happy.
    I have a small SSD for Windows and programs and a big first grade HDD. I have used Sysprep to move C:\users (SSD) to D:\users (HDD). I created a D:\system\temp and set windows temp and user temp to it.
    And I also moved pagefile.sys (virtual memory) to the HDD and disabled hibernation.
    My SSD is 6 years old and it's still 97% healthy
      My Computers


  7. Posts : 14,590
    Windows10
       #7

    Megahertz said:
    I have a small SSD for Windows and programs and a big first grade HDD. I have used Sysprep to move C:\users (SSD) to D:\users (HDD). I created a D:\system\temp and set windows temp and user temp to it.
    And I also moved pagefile.sys (virtual memory) to the HDD and disabled hibernation.
    My SSD is 6 years old and it's still 97% healthy
    Which theoretically means it will last another 6x97/3 years or nearly 200 years LOL.
      My Computer


  8. Posts : 5,029
    Windows 7 HP 64 - Windows 10 Pro - Lubuntu
       #8

    cereberus said:
    Which theoretically means it will last another 6x97/3 years or nearly 200 years LOL.
    I don't know how long it will last, but I'm sure more than I
      My Computers


  9. Posts : 27,559
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #9

    LastUnicorn said:
    Really just to save writes to my SSD, it will last longer.
    The manufacturer's specified life of an SSD is often given as Terabytes Written (TBW). The last time I checked the rate I was writing to my SSD against its specs I calculated that it would take 40+ years to reach its TBW. At my time of life it may outlive me, certainly the rest of the PC's hardware.

    Read this and stop worrying....

    The SSD Endurance Experiment: They're all dead - The Tech Report
      My Computers


  10. Posts : 32
    Windows 10 Pro. x64 22H2
    Thread Starter
       #10

    Thanks all for the replies. In my original post I said I was wanting to move the System TEMP and TMP folders. This was a mistake on my part it was the User TEMP and TMP folders. In any case, I am using a ramdisk software from SoftPerfect and it has an easy to use dialogue for moving the User TEMP and TMP to the ramdisk.

    Also for my Firefox I have it set to write its cache files into RAM (not the ramdisk), and have done that for years. In the beginning of that I did have it write the cache files into the ramdisk just so that I could see what was going on and how many files got put there over of the course of a day. Turned out that on a typical day of browsing several thousand files got written just think of the hit that would make to an SSD! And on every day too!

    In any case, I'm not certain that anyone answered my initial question definitively regarding Windows Update files and their location with respect to TEMP folders while the update is actually being performed but I'll mark the thread as solved anyway.

    Thanks again for the help and thoughts.
      My Computer


 

  Related Discussions
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 01:23.
Find Us




Windows 10 Forums