If you are using LucidLink to host an SMB share on Windows, in some cases that share may no longer be accessible upon reboot.
LucidLink starts after the Windows Server Service, which is is responsible for reconnecting shares when the system restarts.
To resolve this you can ensure that the
net share command is run after the LucidLink service starts:
- Make sure you created a Filespace and have set LucidLink as a Windows Service
- Open up the Task Scheduler and create a scheduled task. Ensure it is set to run whether a user is logged on or not, and that this task runs with highest privileges.
- Create a "shares.bat" file that calls
net share sharename=drive:\share /GRANT:Everyone,FULL, and save this as
- Create a scheduled task action that calls this script.
- Create a trigger that runs on an event. Choose 'custom' and create a new event filter based on XML.
<QueryList> <Query Id="0"> <Select Path="System"> *[EventData[Data[@Name='param1'] and (Data='Lucid')]] and *[EventData[Data[@Name='param2'] and (Data='running')]] </Select> </Query> </QueryList>
Under advanced settings make sure you delay the task by 30 seconds and repeat it several times to give the LucidLink service some time bring up the Filespace mount point. Normally it should come up very quickly.
Now you have ensured that the LucidLink share you created comes back every time your system reboots. For any questions about this, or any other topic feel free to reach out to our support team.