Description:
You may receive error code 1606 or a message "Could not access network location" pointing to some non-existing location (refer below) while upgrading LEAPWORK version.
This issue may occur if there is an incorrect setting in one of the following registry sub keys:
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, method, or task 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. Then, you can restore the registry if a problem occurs.
- Take backup of all automation cases.
- Completely uninstall old LEAPWORK version from control panel.
- Restart your system in 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 you are prompted for an administrator password or for confirmation, type the password or provide confirmation.
- Or alternatively, Click Start, Type Run (to open Run prompt) and enter regedit and click OK.
Note - Before deleting a registry key, please ensure to take backup of the registry key as deleting a registry key could cause inconsistencies on the machine.
- Once the Registry Editor is open, take a backup of the registry from File - Export - Enter File Name - Save (Save as .reg).
- 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 are the same as the values in the following table. If each value matches the table, go to step 11.
For Windows XP and for Windows Server 2003Value 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 2008Value 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 10Value 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 in step 7, 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 in step 7, and then press ENTER.
- Right-click the value that you created in step 5, click
Modify, type the value in the Value data box for the Value name, 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 are the same as the values in the following table. If each value matches the table, go to step 16.
For Windows XP and for Windows Server 2003Value 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 10Value 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 in step 8, 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 in step 8, and then press ENTER.
- Right-click the value that you created in step 10, click
Modify, type the value in the Value data box for the Value name, and then click OK. - Exit Registry Editor, and then restart the computer.
After restart user can proceed with the installation of LEAPWORK.
If this issue continues, please contact our Priority Support.
Comments
0 comments
Please sign in to leave a comment.