Error: "Could not access network location" while upgrading Leapwork version
Error: "Could not access network location" while upgrading Leapwork version
Description:
You may receive error code 1606 or a message "Could not access network location" pointing to some non-existing location while upgrading Leapwork version.
This issue may occur if there is an incorrect setting in one of the following registry subkeys:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Resolution:
Important! This section contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it.
- Take a backup of all automation cases.
- Completely uninstall the old Leapwork version from the control panel.
- Restart your system in the case of Windows 7 or 2008.
- Launch the windows registry:
- From the Start menu, type regedit.exe in the search box, and then press Enter. If prompted for an administrator password, type the password or provide confirmation.
- Or alternatively, click Start, type Run and enter regedit and click OK.
Note - Before deleting a registry key, please ensure to take a backup of the registry key.
Once the Registry Editor is open, take a backup of the registry from File - Export - Enter File Name - Save.
Locate and then click the following registry subkey:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
In the right pane, verify that the values match the values in the following table. If each value matches the table, go to step 11.
For Windows XP and for Windows Server 2003
| Value name | Type | Value data |
|---|---|---|
| AppData | REG_EXPAND_SZ | %USERPROFILE%\Application Data |
| Cache | REG_EXPAND_SZ | %USERPROFILE%\Local Settings\Temporary Internet Files |
| Cookies | REG_EXPAND_SZ | %USERPROFILE%\Cookies |
| Desktop | REG_EXPAND_SZ | %USERPROFILE%\Desktop |
| Favorites | REG_EXPAND_SZ | %USERPROFILE%\Favorites |
| History | REG_EXPAND_SZ | %USERPROFILE%\Local Settings\History |
| Local AppData | REG_EXPAND_SZ | %USERPROFILE%\Local Settings\Application Data |
| Local Settings | REG_EXPAND_SZ | %USERPROFILE%\Local Settings |
| My Pictures | REG_EXPAND_SZ | %USERPROFILE%\My Documents\My Pictures |
| NetHood | REG_EXPAND_SZ | %USERPROFILE%\NetHood |
| Personal | REG_EXPAND_SZ | %USERPROFILE%\My Documents |
| PrintHood | REG_EXPAND_SZ | %USERPROFILE%\PrintHood |
| Programs | REG_EXPAND_SZ | %USERPROFILE%\Start Menu\Programs |
| Recent | REG_EXPAND_SZ | %USERPROFILE%\Recent |
| SendTo | REG_EXPAND_SZ | %USERPROFILE%\SendTo |
| Start Menu | REG_EXPAND_SZ | %USERPROFILE%\Start Menu |
| Startup | REG_EXPAND_SZ | %USERPROFILE%\Start Menu\programs\Startup |
| Templates | REG_EXPAND_SZ | %USERPROFILE%\Templates |
For Windows Vista, Windows 7, and Windows Server 2008
| Value name | Type | Value data |
|---|---|---|
| {374DE290-123F-4565-9164-39C4925E467B} | REG_EXPAND_SZ | %USERPROFILE%\Downloads |
| AppData | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming |
| Cache | REG_EXPAND_SZ | %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files |
| Cookies | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies |
| Desktop | REG_EXPAND_SZ | %USERPROFILE%\Desktop |
| Favorites | REG_EXPAND_SZ | %USERPROFILE%\Favorites |
| History | REG_EXPAND_SZ | %USERPROFILE%\AppData\Local\Microsoft\Windows\History |
| LocalAppData | REG_EXPAND_SZ | %USERPROFILE%\AppData\Local |
| My Pictures | REG_EXPAND_SZ | %USERPROFILE%\Pictures |
| My Music | REG_EXPAND_SZ | %USERPROFILE%\Music |
| My Video | REG_EXPAND_SZ | %USERPROFILE%\Videos |
| NetHood | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts |
| Personal | REG_EXPAND_SZ | %USERPROFILE%\Documents |
| PrintHood | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts |
| Programs | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs |
| Recent | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent |
| SendTo | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo |
| Start Menu | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu |
| Startup | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup |
| Templates | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Templates |
For Windows 10
| Value name | Type | Value data |
|---|---|---|
| {374DE290-123F-4565-9164-39C4925E467B} | REG_EXPAND_SZ | %USERPROFILE%\Downloads |
| AppData | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming |
| Cache | REG_EXPAND_SZ | %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache |
| Cookies | REG_EXPAND_SZ | %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCookies |
| Desktop | REG_EXPAND_SZ | %USERPROFILE%\Desktop |
| Favorites | REG_EXPAND_SZ | %USERPROFILE%\Favorites |
| History | REG_EXPAND_SZ | %USERPROFILE%\AppData\Local\Microsoft\Windows\History |
| LocalAppData | REG_EXPAND_SZ | %USERPROFILE%\AppData\Local |
| My Pictures | REG_EXPAND_SZ | %USERPROFILE%\Pictures |
| My Music | REG_EXPAND_SZ | %USERPROFILE%\Music |
| My Video | REG_EXPAND_SZ | %USERPROFILE%\Videos |
| NetHood | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts |
| Personal | REG_EXPAND_SZ | %USERPROFILE%\Documents |
| PrintHood | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts |
| Programs | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs |
| Recent | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent |
| SendTo | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo |
| Start Menu | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu |
| Startup | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup |
| Templates | REG_EXPAND_SZ | %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Templates |
- If any Name, Type, or Value does not match the table, right-click the Value name, and then click Delete.
- In the left pane, right-click User Shell Folders, point to New, click Expandable String Value, type the Name value that you want from the table, and then press ENTER.
- Right-click the value that you created, click Modify, type the value in the Value data box, and then click OK.
- Locate and then click the following registry subkey:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- In the right pane, verify that the values match the values in the following table. If each value matches the table, go to step 16.
For Windows XP and for Windows Server 2003
| Value name | Type | Value data |
|---|---|---|
| Common AppData | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Application Data |
| Common Desktop | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Desktop |
| Common Documents | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Documents |
| Common Favorites | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Favorites |
| Common Programs | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Start Menu\Programs |
| Common Start Menu | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Start menu |
| Common Startup | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Start Menu\Programs\Startup |
| Common templates | REG_EXPAND_SZ | %ALLUSERSPROFILE%\Templates |
For Windows Vista, Windows 7, Windows Server 2008 and Windows 10
| Value name | Type | Value data |
|---|---|---|
| {3D644C9B-1FB8-4f30-9B45-F670235F79C0} | REG_EXPAND_SZ | %PUBLIC%\Downloads |
| Common AppData | REG_EXPAND_SZ | %ProgramData% |
| Common Desktop | REG_EXPAND_SZ | %PUBLIC%\Desktop |
| Common Documents | REG_EXPAND_SZ | %PUBLIC%\Documents |
| Common Programs | REG_EXPAND_SZ | %ProgramData%\Microsoft\Windows\Start Menu\Programs |
| Common Start Menu | REG_EXPAND_SZ | %ProgramData%\Microsoft\Windows\Start Menu |
| Common Startup | REG_EXPAND_SZ | %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup |
| Common templates | REG_EXPAND_SZ | %ProgramData%\Microsoft\Windows\Templates |
| CommonMusic | REG_EXPAND_SZ | %PUBLIC%\Music |
| CommonPictures | REG_EXPAND_SZ | %PUBLIC%\Pictures |
| CommonVideo | REG_EXPAND_SZ | %PUBLIC%\Videos |
- If any Name, Type, or Value does not match the table, right-click the Value name, and then click Delete.
- In the left pane, right-click User Shell Folders, point to New, click Expandable String Value, type the Name value that you want from the table, and then press ENTER.
- Right-click the value that you created, click Modify, type the value in the Value data box, and then click OK.
- Exit Registry Editor, and then restart the computer.
After restart, the user can proceed with the installation of Leapwork.
If this issue continues, please contact our Priority Support.