1.    16 Sep 2017 #1
    Join Date : Sep 2017
    Posts : 3
    Windows 10 Home

    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 ComputerSystem Spec
  2.    17 Sep 2017 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,071
    Win 10 Pro (1703)

    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 ComputerSystem Spec
  3.    17 Sep 2017 #3
    Join Date : Sep 2017
    Posts : 3
    Windows 10 Home
    Thread Starter

    Quote Originally Posted by dalchina View Post
    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 ComputerSystem Spec
  4.    17 Sep 2017 #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,071
    Win 10 Pro (1703)

    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:
    Click image for larger version. 

Name:	1.jpg 
Views:	3 
Size:	116.3 KB 
ID:	153780
    .. so you can decide what to do.

    I have my PC set up to create one daily (using a task I created):
    Click image for larger version. 

Name:	1.jpg 
Views:	16 
Size:	43.2 KB 
ID:	153781

    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 ComputerSystem Spec
  5.    17 Sep 2017 #5
    Join Date : Sep 2017
    Posts : 3
    Windows 10 Home
    Thread Starter

    Quote Originally Posted by dalchina View Post
    Which variable are you referring to? USERPROFILE?

    As you can see, restore points are clearly dated:
    Click image for larger version. 

Name:	1.jpg 
Views:	3 
Size:	116.3 KB 
ID:	153780
    .. so you can decide what to do.

    I have my PC set up to create one daily (using a task I created):
    Click image for larger version. 

Name:	1.jpg 
Views:	16 
Size:	43.2 KB 
ID:	153781

    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.
    Click image for larger version. 

Name:	6B25943B-61BB-43CC-B73A-82C4866AE9B4.jpeg 
Views:	11 
Size:	49.5 KB 
ID:	153782
      My ComputerSystem Spec
  6.    17 Sep 2017 #6
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,071
    Win 10 Pro (1703)

    Click image for larger version. 

Name:	1.jpg 
Views:	2 
Size:	152.9 KB 
ID:	153785
    As you can see, it can get complicated depending on what's installed, so you may find something obscure not working.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
System Path variable length problem
I was having a problem with Apple's SyncServer.exe (part of iTunes). It was choking on the length of my system PATH environment variable (2388 bytes), so I temporarily hacked it below 2047 bytes, and it worked OK. BUT I couldn't use Control...
General Support
i accidently deleted system environment variable path
i accidently deleted the system environment variable path value now i cant run my java or while typing javac in CMD itit shows javac is not recognized as an internal or external command, operable program or batch file." please tell how do i get...
General Support
Is there a universal variable for the path to a program
I have noticed on several occasions that during the installation of a program downloaded from the internet that there was some sort of variable in the path to the installation folder I would just accept the default and the installation went OK. I...
General Support
Reset Java Environment Variable Path
I had to restore my PC to factory settings because of a virus (maybe overkill, not sure) and reinstalled the Java JDK and editing the Environment Variable for Path. First try gave me this: 68432 Second try gave me this (I can't remember how):...
General Support
Accidentally made everything appear big after tweaking stuff
Hello everybody. So I followed a bunch of tutorials online that show me how to debloat Windows 10 a bit as there are some apps and features that I believe I will never use. One of the articles was about using PowerShell to uninstall packages...
General Support
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 10:04.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums