14

After having poorly handled the PATH system variable (resulting in deletion), I'm now looking to reinstate the variable with the original value. I found answers like this one about Windows 8 and below, but not for Windows 10.

I guess values are virtually identical, but I'd like to know the exact string so I'm not missing anything.

EDIT: Also, Regedit tree have changed and I'm not able to locate the variable

4

1 Answer 1

23

This is copied from a Win 10 Enterprise 64Bit System I set up yesterday (no programs installed yet):

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

seems to be identical with the Windows 8 one you found.

28.11.2003: As this is still a frequently visited question I wanted to update it with the status for 22H2 for Windows 10 and 23H2 for Windows 11 (both Enterprise). It seems current builds have an additional Entry

%SystemRoot%\System32\OpenSSH

added at the end

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .