this post was submitted on 05 Dec 2023
7 points (100.0% liked)
Windows 11
843 readers
1 users here now
Welcome to the community for Windows 11, Microsoft's latest computer operating system.
Rules:
- Do not promote pirated content or grey market keys.
- Be civil. No rude, offensive, or hateful posts/comments.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It really depends on what extra stuff you had added there. In a normal installation, it shouldn't be much - maybe some command line tools don't work as expected, but those can be added back.
I'd maybe suggest creating a new user, reading the PATH from that, and setting it on your profile (change any references to the new user to your old one). That should mostly reset things.
I can't do that since this is a work laptop with restrictions.
You could try following these steps: https://superuser.com/a/571344
I don't have a ControlSet002 folder on the HKEY_LOCAL_MACHINE
Update: I checked out ControlSet001 and it had all the previous path. I cannot copy them since I didn't have enough permissions in my work laptop. But like I said in above comments, doing
echo $:PATH
displayed the previous path variables which I copied and pasted on the Path variable. I think adding multiple path variable enables the option to add, edit etc. Idk whether I recovered all the previous path variables but it's just functioning fine.