Recently we came across one of the scheduling issue reported by a client. He is having an executable (exe) which process an excel file, create tables in database, populate values to the database and generate log files (csv). When we scheduled the exe execution using Windows Scheduler it works fine. But, when we marked the task to execute when the user is not logged into the system, the task fails to process the excel files.
After lot of analysis we have fixed the issue with a simple solution. Create one folder called “Desktop” under the following paths
Note:- Depends on 32-bit or 64-bit, we can create the folder under the respective folder.
When the user is not logged into the system, system uses the specified path as temporary location to process the excel (may be office) files.