When running a job an error occurs, “Unable to write log on D:\Secure Copy\Logs\LogFileName.txt”
After installing Secure Copy on a new server and moving the SecureCopy.ssd file (which contains job settings) to the new server, the error “Unable to write log on D:\Secure Copy\Logs\ LogFileName.txt” occurs when jobs run.
Browse to the Secure Copy install folder:
C:\Program Files\ScriptLogic Corporation\Secure Copy 6
OR starting in version 6.5
C:\Program Files\Quest Software\Secure Copy 6
Note: Create a backup copy of the SecureCopy.ssd file before editing the contents
Edit the SecureCopy.ssd file with Notepad
Select “Edit” | “Find” and type LogFileName
![[image]](https://support.quest.com/KBArticleImages/SL4277/215aa479.jpg)
Delete the path that appears. In this example, delete D:\Secure Copy\Logs\LogFileName.txt
Do not delete the start and end <LogFileName> entries
<LogFileName>D:\Secure Copy\Logs\LogFileName.txt</LogFileName>
Hit the F3 key to find the next entry to delete (continue until the end of the file is reached)
Once all of the old LogFileName paths have been deleted, save the SecureCopy.ssd file
Open the Secure Copy console and run a job to verify that the error no longer displays