Temp filename too long to delete or move

Temp filename too long to delete or move

Issue:

When a customers is trying to delete the c:\stoneware\temp\ files in Windows, Windows is giving an error that some of the file names are too long to delete. The Customer can also see a similar issue when trying to make a backup of the c:\stoneware folder prior to an upgrade.  Windows gives an error that some of the file names, of files in the c:\stoneware\temp\ folder, are too long to move.


Solution:

Delete the c:\stoneware\temp\ folder via a Command Prompt instead of deleting the folders contents through the Windows GUI.
  1. Open a command prompt as administrator, by right-clicking on the Command Prompt shortcut and choosing Run as Administrator.
  2. Change Directory into the c:\stoneware\ folder.
  3. Use the following command to remove the temp folder: rmdir temp /q/s
  4. Use the following command to recreate the temp folder: mkdir temp

Another option is to use the 8.3 filenames to delete the folder.
  1. Type dir /x to display the short 8.3 folder/file names.
  2. Delete the folder using the 8.3 folder name.  It's possible you may have to drill down to delete the specific file name causing the issue.


We have also found a 3rd party utility named SuperDelete that can be used to delete the entire temp folder, getting around the 260 character limitation in folder/file names.

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Change Reset Password Button Text

        Change the text of the "Reset Password" button on the UW Login Page How to change the text of the Reset Password button on the Login Page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants ...
      • Remove Reset Password Button From Login Page

        Remove the Reset Password Button from the Login Page How to remove the Reset Password button from the Unified Workspace login page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants Expand ...
      • Lenovo Unified Workspace End-of-Life Questions and Answers

        As of January 31st 2024, Lenovo Unified Workspace (formerly Stoneware WebNetwork) is no longer supported. This means that we no longer provide licenses, downloads, updates, patches, or technical assistance for this product. If you have any questions ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • Related Articles

      • Move webNetwork to different server

        *** If you are moving to a different OS, please see : https://helpdesk.lenovosoftware.com/portal/kb/articles/migrate-webnetwork-to-windows-linux-22-8-2017 *** Keeping the same OS / version / IP As long as you are keeping the same OS/ version/IP then ...
      • Move Unified Workspace to a new path

        Many customers have webNetwork / Unified Workspace (UW) installed in c:\stoneware which has been the default for many years. With 6.4.7.x the default has been changed to c:\UnifiedWorkspace. Some customers have asked how do I move c:\stoneware to ...
      • Move SQL Databases to a new SQL Server

        Issue Customer would like to move their UW SQL Databases from older hardware to new hardware. Solution The easiest method is to use the same SQL database type, as this only requires exporting/importing the existing database from the old server to the ...
      • How to delete servers from the allow / deny server list.

        If you need to delete an entry a server in the allow / deny list you can launch the swLauncher.exe program from %appdata%\AppLauncher You can then select the server and delete it from the list.
      • Move database logging to SQL server.

        Changing / migrating the Logging Database from HSQL to MySQL , MSSQL. By default, the Stoneware Relay logs all transactions to a Java database called HyperSonic SQL. This database is installed as part of the portal installation and automatically ...