Windows 10: system variables in Windows 10, limited to 2047

Discus and support system variables in Windows 10, limited to 2047 in Windows 10 Customization to solve the problem; change character limit in system variables in Windows 10, limited to 2047... Discussion in 'Windows 10 Customization' started by VernonDoss, Jan 3, 2020.

  1. system variables in Windows 10, limited to 2047


    change character limit in system variables in Windows 10, limited to 2047

    :)
     
    VernonDoss, Jan 3, 2020
    #1

  2. Can't edit environment variable over 2047 characters

    I am running the latest updated version of Windows 10.

    Recent installs have increased the size of my path variable above 2047 characters.

    In control panel I get the error "This dialog allows setting variables up to 2047 characters" when I change the contents of the PATH variable and press the OK button.

    How can I change my path since the control panel won't let me?

    I have enabled NTFS long path names in the group policy but that did not help.

    I saw some posts suggesting that maybe powershell could do it but I am afraid of corrupting my path without a proven script or utility to do it.
     
    GaryMiller2, Jan 3, 2020
    #2
  3. MCK
    mck Win User
    System environment variable won't stick


    Running Win10 Home on an Acer Spin 3, 64bit, i7cpu. I try to add a path to the system environment variables by:

    1. Control Panel > System > Advanced system settings > Advanced tab > Environment variables

    2. The "Environment Variables" window opens.
    3. In the "System Variables" pane I select "Path" and click the EDIT button.
    4. A list of the current system paths is displayed.
    5. I click the NEW button, browse to the path I want to add which is "C:\Python36-32" and click OK. The path "C:\Python36-32" is added to the list of current system paths.
    6. I click OK and am returned to the "Environment Variables" window.
    7. I click the "X" at the top right to close the "Environment Variables" window.

    Now if I click the "Environment Variables" button again (end of step-1) and repeat steps 2-4, the new path I added in step-5 is gone. IOW, adding a new path won't stick.

    What am I doing wrong?
     
  4. perdrix Win User

    system variables in Windows 10, limited to 2047

    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 panel/System/Advanced Systems Settings to restore it to what it was previously as that complained that the variable was too long.

    To quote MSDN:

    Luckily I was able to restore my PATH by using regedit to change the variable Path stored at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment which doesn't appear to suffer from the problem of the control panel.

    Is there any chance this will be fixed (ho ho).

    Dave
     
    perdrix, Jan 3, 2020
    #4
Thema:

system variables in Windows 10, limited to 2047

Loading...
  1. system variables in Windows 10, limited to 2047 - Similar Threads - system variables limited

  2. Is PATH is on the User Variables, or System Variable?

    in Windows 10 Gaming
    Is PATH is on the User Variables, or System Variable?: Hello, I have a problem with my PATH variable in my Windows 8.1 computer.1. Where it all starts:I installed SQLite on my computer, and then i want to test it from Command Prompt with this command:sqlite3 test.dbBut the output is:'sqlite3' is not recognized as an internal or...
  3. Is PATH is on the User Variables, or System Variable?

    in Windows 10 Software and Apps
    Is PATH is on the User Variables, or System Variable?: Hello, I have a problem with my PATH variable in my Windows 8.1 computer.1. Where it all starts:I installed SQLite on my computer, and then i want to test it from Command Prompt with this command:sqlite3 test.dbBut the output is:'sqlite3' is not recognized as an internal or...
  4. Change System variables on windows 11

    in Windows 10 Gaming
    Change System variables on windows 11: Hello,I came across a problem while trying to change a system variable through the Environment Variables window. It does not allow me to add New/ Edit/ Delete any variable.I am in the admin account, and I also changed the User Account Control Settings to the lowest possible...
  5. Change System variables on windows 11

    in Windows 10 Software and Apps
    Change System variables on windows 11: Hello,I came across a problem while trying to change a system variable through the Environment Variables window. It does not allow me to add New/ Edit/ Delete any variable.I am in the admin account, and I also changed the User Account Control Settings to the lowest possible...
  6. Environment Variables, User variables for System Admin

    in Windows 10 Gaming
    Environment Variables, User variables for System Admin: I was looking at the 'User variables for System Admin' one day and saw my name spelled '*****'. I didn't care for that name and without thinking changed the name. Now all my music, photos & docs are gone. How can I undo that already tried 'System Restore'?...
  7. Environment Variables, User variables for System Admin

    in Windows 10 Software and Apps
    Environment Variables, User variables for System Admin: I was looking at the 'User variables for System Admin' one day and saw my name spelled '*****'. I didn't care for that name and without thinking changed the name. Now all my music, photos & docs are gone. How can I undo that already tried 'System Restore'?...
  8. Environment Variables, User variables for System Admin

    in Windows 10 Network and Sharing
    Environment Variables, User variables for System Admin: I was looking at the 'User variables for System Admin' one day and saw my name spelled '*****'. I didn't care for that name and without thinking changed the name. Now all my music, photos & docs are gone. How can I undo that already tried 'System Restore'?...
  9. CPU System variable

    in Windows 10 Customization
    CPU System variable: Hello team, We wanted to know the system variable which provides CPU utilization information to the task manager. https://answers.microsoft.com/en-us/windows/forum/all/cpu-system-variable/7569d78a-d422-44bd-b924-0ca7f72ad308
  10. System Environment variables

    in Windows 10 Customization
    System Environment variables: Hello! I have been trying to run executable programs using command prompt since a long time, added the path names to the System and user environment variables as well. But it is not helping, the command prompt is unable to run any file except the inbuilds such as notepad....

Users found this page by searching for:

  1. This environment variable is too large. This dialog allows setting values up to 2047 characters long. (environment variable)

    ,
  2. edit path variable 2047