what service controls network shares?

Discussion in 'Windows Desktop Systems' started by _kC_, Sep 11, 2006.

  1. _kC_

    _kC_ Moderator

    Messages:
    514
    hi, i use encrypted volumes & containers, some of which have network shares on.. but the only problem is after a restart, i have to remake/configure all the shares, as the drives/folders arnt availiable until ive entered my keyfiles/passphrases..

    so was thinking it would be less hassle for me to just set whichever service controls shares to disabled... then just enabale that after i have mounted the encrypted volumes/containers

    this is much less hassle than setting up 12 or so shares and permissions

    or is there any command/setting that can pause the startup of services for a set amount of time?
    and is it just the "network connections" service that i need to stop from aurto startup?

    p.s - Xp pro, sp2 (& all current hotfixes)

    cheers
     
    Last edited: Sep 11, 2006
  2. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Not sure what the exact service is, but you could do a batch file with the appropriate services. If it was called "service1", you could do this:

    net start service1

    Run that when you are ready.
     
  3. _kC_

    _kC_ Moderator

    Messages:
    514
    sorted it...

    net /y stop lanmanserver
    net start browser

    also can be remade in batch via this cmd
    net share sharename=x: /Grant:everyone,Read
     
    Last edited: Sep 12, 2006
  4. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    in services.msc they are listed as "Server" and "Workstation" :)
     
  5. _kC_

    _kC_ Moderator

    Messages:
    514
    heh i always used to dread rebooting.. having to remake all the shares (especially bad this week with having an electrician here rewiring, so this box is on/off/on/off)
    glad its sorted now:)
     
  6. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Interesting approach indeed, I'm sure I can find a usage for that.