Share Permissions on a folder drop (after reboot)

Please follow the steps below to retain share permissions after reboot.

These steps update dependency of LanManServer.

  1. Open command prompt with administrator permission

  2. List LanManServer dependency

    C:\> sc qc LanManServer

  3. Check current dependency

    Our test server’s LanManServer depends on Samss and Srv

  4. Add NetDrive system service to the dependency list

    You must include your current dependencies.

    C:\> sc config LanManServer depend= Samss/Srv/NetDrive3_Service_x64_NetDrive3

    Blank after depend=.

    Samss/Srv/NetDrive3_Service_x64_NetDrive3 on the same line without spaces.

  5. Check updated dependency

    C:\> sc qc LanManServer

After this change file sharing service will start after NetDrive system service.

You can also check current dependencies with Services.

image

Hope this helps.