Windows 10 Environment Variable Maximum length

Roger Alcindor
Roger Alcindor used Ask the Experts™
on
I am installing  RAD Studio 10.3 on a PC running Windows 10 Professional  and have received a warning before installation commences : "It has been detected that your system PATH environment variable is too long"
The link to further information states:
"The installation of RAD Studio adds up to 218 characters to your PATH environment variable. If the length of your PATH environment variable goes beyond 2048 characters, your system will misbehave".

The length of the "PATH" environment is 1936 characters.
I was under the impression that Windows 10 has a system PATH environment maximum length of 4096 characters.

Is this correct and in which case should I proceed with installation ?

Error Message
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
If you want a large environment length, you can edit the registry to make it larger.  

https://answers.microsoft.com/en-us/windows/forum/all/cant-edit-environment-variable-over-2047/ac713701-b1b4-4f6f-b2c7-5bb9282addb9

My path is under 1000 characters so I have not had to do this.
Sam Simon NasserIT Support Professional

Commented:
to check the system path: right click computer, properties, advanced system settings, advanced, environment variables.
from the second box, you'll find PATH which includes the current entries. for example, mine is:
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

Open in new window

copy your path here to check if there are any problems with your PATH.
Thanks for your comment John,
Unfortunately, the path is being added to by an installation application so I don't have the information to add the data manually.
I ended up removing some obsolete paths and un-installing  software which wasn't really needed on the machine (SQL Server 17).
That freed up just over 400 character and RAD Studio 10.3 installed without error. Your comment was useful to know.

Best wishes,

Roger

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial