Accidentally Made new User Path Variable, so real one got overridden!!


  1. Posts : 3
    Windows 10 Home
       #1

    Accidentally Made new User Path Variable, so real one got overridden!!


    While trying to add a new Path Variable, i accidentally made a new User Path Variable with the exact same name as the real User Path Variable, so the real one got overridden. What can i do to recover it? If i can't, what can i do? Need Answers Quick. Thanks!
      My Computer


  2. Posts : 42,998
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Suggest system restore. (Assuming it will work given what you've done!) Have you enabled it on your PC?

    System Restore Windows 10 Windows 10 Performance Maintenance Tutorials

    You can start it from
    a. within Windows
    b. by booting from Win 10 bootable medium
    c. by e.g. SHIFT + left click on Restart and reboot to Troubleshooting options.

    Failing that you could restore the backup copy of your registry (needs a boot disk or you boot to a command prompt)

    We strongly recommend everyone uses disk imaging. If you have a disk image of Windows you have a second chance in most situations without technical help. E.g. Macrium Reflect (free)
    Last edited by Brink; 17 Sep 2017 at 09:29. Reason: added tutorial link for more info
      My Computers


  3. Posts : 3
    Windows 10 Home
    Thread Starter
       #3

    dalchina said:
    Suggest system restore. (Assuming it will work given what you've done!) Have you enabled it on your PC?

    System Restore Windows 10 Windows 10 Performance Maintenance Tutorials

    You can start it from
    a. within Windows
    b. by booting from Win 10 bootable medium
    c. by e.g. SHIFT + left click on Restart and reboot to Troubleshooting options.

    Failing that you could restore the backup copy of your registry (needs a boot disk or you boot to a command prompt)

    We strongly recommend everyone uses disk imaging. If you have a disk image of Windows you have a second chance in most situations without technical help. E.g. Macrium Reflect (free)
    My computer seems to be working fine and i have not encountered problems so far. I deleted the User Path Variable, not the System Path, should i still do a system restore? I don’t know if the restore point i have is old or new...
      My Computer


  4. Posts : 42,998
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Which variable are you referring to? USERPROFILE? That's pretty simple, so if the path is valid- same as before- I guess you're lucky.

    As you can see, restore points are clearly dated:
    Accidentally Made new User Path Variable, so real one got overridden!!-1.jpg
    .. so you can decide what to do.

    I have my PC set up to create one daily (using a task I created):
    Accidentally Made new User Path Variable, so real one got overridden!!-1.jpg

    We also continually strongly urge people to use disk imaging to protect their PC & their data against all manner of problems-- something to look into when you've resolved this. (e.g. Macrium Reflect (free) ).
      My Computers


  5. Posts : 3
    Windows 10 Home
    Thread Starter
       #5

    dalchina said:
    Which variable are you referring to? USERPROFILE?

    As you can see, restore points are clearly dated:
    Accidentally Made new User Path Variable, so real one got overridden!!-1.jpg
    .. so you can decide what to do.

    I have my PC set up to create one daily (using a task I created):
    Accidentally Made new User Path Variable, so real one got overridden!!-1.jpg

    We also continually strongly urge people to use disk imaging to protect their PC & their data against all manner of problems-- something to look into when you've resolved this. (e.g. Macrium Reflect (free) ).
    I’m reffering to the Path in User Variables. Not everyone seems to have it and the value is different for different computers.
    Accidentally Made new User Path Variable, so real one got overridden!!-6b25943b-61bb-43cc-b73a-82c4866ae9b4.jpeg
      My Computer


  6. Posts : 42,998
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    Accidentally Made new User Path Variable, so real one got overridden!!-1.jpg
    As you can see, it can get complicated depending on what's installed, so you may find something obscure not working.
      My Computers


 

  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 23:15.
Find Us




Windows 10 Forums