I'm able to mount S3 as a file system in windows by manually triggering a script, Im trying to automate it by running the script on EC2 instance startup using Task Scheduler
When the instance starts up, the mount is not showing as expected but in the task scheduler it is showing the script is running
When I manually run the task in Task Scheduler by selecting the option as "Run only when user is logged on" the script runs and s3 is mounted
But when I select the "Run whether user is logged on or not and do a test Run, it is not mounting
I have manually run the script from the Task Scheduler by selecting the "Run whether user is logged on or not" radio button, I'm unable to see the mount attached
But when I run the same script by selecting "Run only when user is logged on" drive is mounted and works as expected
where is rclone.exe located, need to use fullpaths for everything. c:\path\to\rclone.exe mount aws:dev-bucket S: --vfs-cache-mode full --log-level=DEBUG --log-file=c:\path\to\rclone.log
and for testing, open two command prompts. and run dir s:
rclone.exe is located in " C:\Program Files\rclone "
I have updated the command with full path of rclone and tested, still it is unable to mount when "Run whether user is logged in or not" radio button is checked in Task Scheduler
Also I have opened 2 command prompt and run dir s: , it is returing the same response . It lists the directory and available space details only when I uncheck "Run whether user is logged in or not" radio button is checked in Task Scheduler
To obtain more assistance with this, please see the rclone logs I've attached.
Please let me know is there any other option to mount s3 drive on Windows Instance Startup. Once the machine is launched in AWS I need the drive to be mounted
Thanks the folder mount is working. I'm using this folder mount in AWS Autoscaling, I have configured in Windows Task Scheduler to run a PowerShell script on instance startup for the mount
But when a new instance is launched in Autoscaling, the mount is not attached as expected. The task script is not triggering the script
Would you please guide me through the procedures to mount it automatically without user login?
make sure to use full paths for everything, including the location of rclone, the location of the config file, the location of the debug log
if that does not solve the issue, need to understand, we cannot see into your machine.
no idea about your current setup
so re-answer all the questions in the help and support template.
I have the same issue you are seeing. I believe I was able to make this work as a windows service (Mount command built-in service integration) - still doing my testing, but it looks very promising.
best that you start a new topic, answer all the questions in the help and support template.
posting here that you might have it working, that is just going to confuse the issue.
i am not having an issue, i have no problems running rclone as a service with task scheduler.
and i have posted solutions in many other topics here in the forum.
it is OP that is having the issue and, at this point, we are waiting five days for the OP to respond for a request for basic info.