SoftPerfect RAM Disk
After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP
Started by JM
JM
After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP 12 November 2022, 11:12 |
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?
Re: After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP 12 November 2022, 11:27 |
Admin Registered: 11 years ago Posts: 948 |
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.
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.
JM
Re: After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP 15 November 2022, 12:51 |
Re: After moving TEMP to RAM disk, some files are still created in C:\WINDOWS\TEMP 15 November 2022, 13:04 |
Admin Registered: 11 years ago Posts: 948 |
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.
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.