SoftPerfect RAM Disk

After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP

Started by JM

After testing RAM Disk software exclusively to migrate all contents of our hard disk C:\WINDOWS\TEMP to RAM disk R:\TEMP as recommended in your manuals, we are still not convinced, since apparently there are still quite a number of files being written in the former and therefore making it useless. Are we missing anything?
SoftPerfect Support forum - Ann avatar image
Ann

Re: After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP   12 November 2022, 11:27

RAM Disk is far from being "useless". What you see in your C:\Windows\TEMP depends on how you performed your migration.

There are two kinds of TMP/TEMP environment variables in Windows: user-level (used by the regular applications that you launch) and system-level (used by the system and services).

When you change the TMP/TEMP variables in RAM Disk settings, it only modifies the user-level variables. This is done for safety, because the system-level temporary folders are crucial for normal Windows operation. If system-level variables point to a RAM disk and for some reason the disk becomes unavailable, the system may fail or refuse to boot.

If the user is determined to move everything to a RAM disk, it is possible to redirect the system-level TMP/TEMP to a RAM disk manually. In most cases is works fine, however you must be aware and accept the risk probability of breaking your system.

If you want to override or inspect your environment variables, press Win + R (Run), type sysdm.cpl, then go to Advanced - Environment Variables.

SoftPerfect support forum
Many thanks!

Two more questions:
1. How do I implement the migration of system-level TMP/TEMP to the RAM?
2. What do I do if the system eventually breaks?
SoftPerfect Support forum - Ann avatar image
Ann

Re: After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP   15 November 2022, 13:04

1. To change the system-level TEMP and TMP, press Win + R (Run), type sysdm.cpl, press Enter. The System Properties window will open. There, go to Advanced tab, press Environment Variables..., and then under System Variables section press Edit...

2. If your system breaks, a safe mode boot may help. Or you can try booting into the recovery mode and changing HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment back to the standard locations.

However, we do not support this, and you should keep in mind that you are doing it at your own risk.

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

       **  ********   **      **  **     **  **        
       **  **     **  **  **  **  **     **  **    **  
       **  **     **  **  **  **  **     **  **    **  
       **  **     **  **  **  **  *********  **    **  
 **    **  **     **  **  **  **  **     **  ********* 
 **    **  **     **  **  **  **  **     **        **  
  ******   ********    ***  ***   **     **        **  

Message: