Windows 10: Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with...

Discus and support Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with... in Windows 10 Gaming to solve the problem; I cant seem to open "create a restore point" please help... Discussion in 'Windows 10 Gaming' started by SS_818, Jul 3, 2024.

  1. SS_818 Win User

    Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with...


    I cant seem to open "create a restore point" please help

    :)
     
    SS_818, Jul 3, 2024
    #1
  2. Monkey57 Win User

    Temp and TMP and Temporary Internet Files locations

    Technical Level : Intermediate

    Summary

    Environment variables are a way to store configuration data, two environment variables emerged as the front-runners for specifying where temporary files should go: TEMP and TMP.

    Details

    The Summary is from:

    https://blogs.msdn.microsoft.com/oldnewthing/20150417-00/?p=44213

    It goes back to the days of CP/M

    Temporary Folders are used by almost every program on a computer, either during the installation of a program, or for the operation of the app/program.

    These are the default values of some of the more important Temporary Folders.

    Temporary Internet Files:

    Please see:

    Redirecting

    Start Internet Explorer.

    On the Tools menu, click Internet Options.

    On the General tab, click Settings.

    Click Move Folder. [move only if not set to default, or you need to move to another drive]

    Click the folder you created in Step 1.

    Click OK, click OK, and then click OK again.

    Restart your computer

    and

    Redirecting


    • Open Internet Explorer.
    • Click on the Gear icon, and select Internet Options.
    • On the General tab, under Browsing History, go to Settings.
    • On the Temporary Internet Files tab, click on Move folder. [move only if not set to default, or you need to move to another drive]

    Default location is -

    C:\Users\[UserName]\AppData\Local\Microsoft\Windows\INetCache\

    i.e.->C:\Users\JoeCool\AppData\Local\Microsoft\Windows\INetCache\

    See:

    https://technet.microsoft.com/en-us/itpro/windows/deploy/usmt-recognized-environment-variables

    TEMP-The temporary folder on the computer. A typical path is %USERPROFILE%\AppData\Local\Temp.

    TMP-The temporary folder on the computer. A typical path is %USERPROFILE%\AppData\Local\Temp.

    To check your values -> in Cortana type 'Advanced System Settings' (click on the best matched results)- Advanced Tab - Click 'Environmental Variables' button - make sure your TEMP and TMP show the variables above.

    After changing the 'Environmental Variables' (Rarely necessary)->Reboot.

    Run a Disk Cleanup with all the boxes checked in the final dialog box. (a good process to run occasionally, even if you are not making changes in 'Environmental Variables').

    https://support.microsoft.com/en-us...-996f-99e02c7301c2/disk-cleanup-in-windows-10

    https://support.microsoft.com/en-us/help/17421/windows-free-up-drive-space

    Before messing with any 'Environmental Variables'; verify your backup on FileHistory, OneDrive, or some other method you use->

    https://answers.microsoft.com/en-us...onto-the/a0977ed7-e796-405b-be25-fa41441fc4b0
     
    Monkey57, Jul 3, 2024
    #2
  3. How to recover Environmental Variables that were deleted

    To clarify, I deleted everything from the path/environmental variables settings.. i know that was a huge mistake but i've been having BSOD errors and i thought maybe this would solve it.

    I am unable to perform the clean boot due to not being able to access system configuration. It's as if it's gone. Same applies to command prompt, powershell, task manager, event viewer + other apps. Their icons have all disappeared and when I try to search for them, they appear in the search with a generic icon on the list but an error pops up upon clicking.

    I tried the second method using command prompt in safe mode. The desktop doesn't load in the admin profile, just black screen but strangely enough, the command prompt works.
     
    Warrior__King, Jul 3, 2024
    #3
  4. Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with...

    Infrared and Environmental variables

    Why does my pc show infrared and pictures? Also, why is One drive in environmental variables?
     
    John Marchetti, Jul 3, 2024
    #4
Thema:

Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with...

Loading...
  1. Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with... - Similar Threads - Accidentally deleted TEMP

  2. Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with...

    in Windows 10 Software and Apps
    Accidentally deleted my TEMP and TMP environmental variables, trying to solve an issue with...: I cant seem to open "create a restore point" please help https://answers.microsoft.com/en-us/windows/forum/all/accidentally-deleted-my-temp-and-tmp-environmental/7cd5c961-8d9b-4890-8256-76a60c3edfaf
  3. is it safe to delete these user environmental variables?

    in Windows 10 Network and Sharing
    is it safe to delete these user environmental variables?: is it safe to delete one of these? Path, TEMP or TMP. Or should i just leave them bewill i face issues if i DO delete them? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-these-user-environmental/b095ec98-aed9-4250-bc97-f56b089b96e8
  4. is it safe to delete these user environmental variables?

    in Windows 10 Gaming
    is it safe to delete these user environmental variables?: is it safe to delete one of these? Path, TEMP or TMP. Or should i just leave them bewill i face issues if i DO delete them? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-these-user-environmental/b095ec98-aed9-4250-bc97-f56b089b96e8
  5. is it safe to delete these user environmental variables?

    in Windows 10 Software and Apps
    is it safe to delete these user environmental variables?: is it safe to delete one of these? Path, TEMP or TMP. Or should i just leave them bewill i face issues if i DO delete them? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-these-user-environmental/b095ec98-aed9-4250-bc97-f56b089b96e8
  6. How to recover Environmental Variables that were deleted

    in Windows 10 Gaming
    How to recover Environmental Variables that were deleted: Now I can't access CMD or Powershell from start menu. Can't elevate to Admin. I tried: 1. booting into safe mode and did system restore with command prompt2. Running SFC and DISM These methods have not workedAlso, when I try to reset the pc, it doesn't load, just freezes. How...
  7. How to recover Environmental Variables that were deleted

    in Windows 10 Software and Apps
    How to recover Environmental Variables that were deleted: Now I can't access CMD or Powershell from start menu. Can't elevate to Admin. I tried: 1. booting into safe mode and did system restore with command prompt2. Running SFC and DISM These methods have not workedAlso, when I try to reset the pc, it doesn't load, just freezes. How...
  8. How to recover Environmental Variables that were deleted

    in Windows 10 Customization
    How to recover Environmental Variables that were deleted: Now I can't access CMD or Powershell from start menu. Can't elevate to Admin. I tried: 1. booting into safe mode and did system restore with command prompt2. Running SFC and DISM These methods have not workedAlso, when I try to reset the pc, it doesn't load, just freezes. How...
  9. Environmental variable/path

    in Windows 10 Installation and Upgrade
    Environmental variable/path: Hello community, I need some help. I was attempting to download Oracle JDK/JRE and somehow corrupted my path. Can anyone tell me the default path setting that I need to restore? I appreciate your help....
  10. Environmental Variables

    in Windows 10 Support
    Environmental Variables: I'm trying add "EUINC" to my Environmental Variables. It contains 7 include directories. EUINC:=\eu\arwen;E:\eu\myinclude;E:\eu\football;e:\eu\IDEwin32lib;e:\eu\win32dib;e:\eu\winclass; e:\eu\win32lib\include This worked fine with Windows 7 and 8.1. But It seems...