What "Service" within Services.msc is responsible for Drive Shares


  1. Posts : 7
    Windows 7 Ultimate 64-bit
       #1

    What "Service" within Services.msc is responsible for Drive Shares


    *Scratching Head*

    I have a problem of losing all my shared folders of my not yet mounted drives every time I reboot. The problem is, I use TrueCrypt on a few drives and have folders shared on those drives.. So, windows never remembers those shared folders since I have not yet entered the password to mount them.

    I was wondering if any knew what service it is that is responsible for shared folders? That way, I can set it to manual and start that after I mount my drives. And WAHLAH! Winders will then have all drives there to rememebr the shares..

    Any ideas?

    Thanks in advance...
    Leda
      My Computer


  2. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #2

    I do not believe Windows will share a encrypted file, folder, partition, drive until Windows can see them and a password is used.
      My Computer


  3. Posts : 7
    Windows 7 Ultimate 64-bit
    Thread Starter
       #3

    Layback Bear said:
    I do not believe Windows will share a encrypted file, folder, partition, drive until Windows can see them and a password is used.

    Exactly...
    This is why I want to set the service responsible for networking to manual. I cannot figure out which it is..
    Once I get the drives mounted, I'll then start that service. That would be easier then redoing all my permissions etc on the diff folders and drives I have.

    Open Start/Run enter: services.msc
    or type in services in the text area and it should popup above to click..
    Within there are many related to networking.. I would ahte to manually try all of them until I got the right one. UGH!
      My Computer


  4. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #4

    Is what you are looking for a way around the password to share those drives?
      My Computer


  5. Posts : 7
    Windows 7 Ultimate 64-bit
    Thread Starter
       #5

    Layback Bear said:
    Is what you are looking for a way around the password to share those drives?
    TrueCrypt has a pass at boot up long before anything GUI / Windows loads..
    I keep that pass totally different from the one I use to mount my drives once into GUI interface. I don;t trust Gates, NSA, anyone even if I only have personal shit on here.. it is not their damned Bee's wax.. Anyway...

    Windows enters my user pass for me auto using the netplwiz and then winblows boots, loads the TSR's I want loaded along with TrueCrypt prompting for my password to mount my other drives.
    By then, Windows has already shared the shares on my drives that are NOT TrueCrypted and I have to re-share the Encrypted drives/folders once I mount them.

    I've read-up on TrueCrypt and there is no way to auto load those drives without using the same password as my Boot Time pass and having it cache the pass into memory.

    So, There MUST BE a service I can set to manual that will prevent windBLOWS from doing anything peer to peer or sharing of folders until I get those drives mounted. Then I can start that service.

    Make sense?

    Great Article here:
    http://news.techworld.com/security/3...ack-truecrypt/
    Last edited by ZugZug; 11 Jun 2014 at 18:53. Reason: added URL
      My Computer


  6. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #6

    Well it doesn't make sense to me but it might to others.
    Just hang in there and see who drops by with suggestions.
      My Computer


  7. Posts : 4,161
    Windows 7 Pro-x64
       #7

    Layback Bear said:
    Well it doesn't make sense to me but it might to others.
    Just hang in there and see who drops by with suggestions.
    I don't see the reasoning behind encrypting shared media either. Even less sense turning a service on and off to use it.

    Oh and by the way, I believe the service is a disk service--Part of EFS. Which can't be disabled.
      My Computer


  8. Posts : 2,468
    Windows 7 Ultimate x64
       #8

    To answer your question directly, the service you're looking for is the Server Service.

    I don't think, however, that your approach is the best option. Since the server service is a central point in Windows (and generally, built in services are poorly designed in regards to interdependencies between them), stopping it can result in unanticipated side effects. Also (and this is just an untested guess on my part), I don't think that the service itself takes care of unsharing invalid shares, but most likely it just relies on some configuration setup by explorer, for example.

    Deletion of your unmounted drive makes perfect sense. Since it no longer exists, it's invalid to have it exposed to clients that might request it, the very same case when you delete a shared folder though explorer, it correctly warns you about the share and it too will be deleted. That's possibly because explorer recognises it, rather the server service realizing of the potential problem.

    Possibly, the best alternative is to do precisely what you want to avoid, to recreate every share/permission/whatever each time you mount the drive. This only relies on documented and tested behavior, instead of some hacky workaround.
    You can automate this process using a bat file, for example. It will invoke Truecrypt (which will ask the password in turn), then run "net share"s to recreate the shares, then "icacls" to rebuild the permissions, immediatly after the drive is safely mounted and available.
      My Computer


  9. Posts : 7
    Windows 7 Ultimate 64-bit
    Thread Starter
       #9

    Alejandro85 said:
    To answer your question directly, the service you're looking for is the Server Service.

    I don't think, however, that your approach is the best option. Since the server service is a central point in Windows (and generally, built in services are poorly designed in regards to interdependencies between them), stopping it can result in unanticipated side effects. Also (and this is just an untested guess on my part), I don't think that the service itself takes care of unsharing invalid shares, but most likely it just relies on some configuration setup by explorer, for example.

    Deletion of your unmounted drive makes perfect sense. Since it no longer exists, it's invalid to have it exposed to clients that might request it, the very same case when you delete a shared folder though explorer, it correctly warns you about the share and it too will be deleted. That's possibly because explorer recognises it, rather the server service realizing of the potential problem.

    Possibly, the best alternative is to do precisely what you want to avoid, to recreate every share/permission/whatever each time you mount the drive. This only relies on documented and tested behavior, instead of some hacky workaround.
    You can automate this process using a bat file, for example. It will invoke Truecrypt (which will ask the password in turn), then run "net share"s to recreate the shares, then "icacls" to rebuild the permissions, immediatly after the drive is safely mounted and available.

    Wow..
    I forgot about this post.. It's nice to see there were follow ups.
    You were right about server service causing issues.. I ran across that (server service) method a couple days ago.
    When the server is on manual.. Windows loaded and my screens were all darkened. I thought my monitors both died at the same time or something funky was going on at first, then I remembered having the server service on manual. I set it back to auto logged my account off / back on and screens were bright again. "Thank God" I thought..

    Anyway, I thunk on it a bit.. *Lightbulb* - "Hey I remember Basic"!
    I was 13 learning basic from editing that old game Gorilla so I could throw Bananas faster and farther (lol) and always having to tweak my config.sys autoexec.bat n stuff back in the day because RAM was so damned expensive and me poor for games and 1 node OBV/2 BBS that I ran. Talk about hearing... "GET OFF THE PHONE" all the time..
    (I loved Rusty and Eddie's).

    Later, it turned out I acquired APCI Doom front end launcher as a gift from 'Sorsha' by 15yrs. old and talked mom and dad into getting 4 phone lines after I had about 50 promised subscribers for Doom Death matches at a fee covering the cost and then some. By graduation I was in a new 4x4 Dodge Ram with granny gear and 2 dirtbikes in the back from that venture.

    Back on topic..
    Turns out there was a far easier (Basic`Eer) fix than yours.

    BEHOLD.. Add-Shares.BAT pinned to my Task Bar..
    Enter my pass to mount my drives and then click it!

    --paste--
    NET SHARE BACKUPS=I:\!BACKUPS /GRANT:everyone,READ
    NET SHARE DROPBOX=I:\Dropbox\!DROPBOX_SHARE /GRANT:everyone,READ
    NET SHARE DAD-MOM-MOVIES_DLNA="h:\DAD MOM MOVIES" /GRANT:everyone,READ
    NET SHARE DAD_MOM_TV_SHOWS_DLNA="j:\DAD MOM TV-SHOWS" /GRANT:everyone,READ
    NET SHARE DVD_TEMP=I:\DVD-TEMP /GRANT:everyone,READ
    NET SHARE HUNTING_FISHING_SHOWS_DLNA="I:\Hunting&Fishing Shows" /GRANT:everyone,READ
    NET SHARE INCOMING_FILES=H:\Incoming /GRANT:everyone,READ
    NET SHARE MKV_2_MPG_DLNA=G:\MKV_2_MPGS_MOVIES /GRANT:everyone,READ
    NET SHARE MOVIES_DLNA=K:\Movies /GRANT:everyone,READ
    NET SHARE MP3_NotMine="I:\Mike_Computer\MP3 (Not Mine)" /GRANT:everyone,READ
    NET SHARE NWO_DOCUMENTARIES_DLNA=I:\NWO_FILMS /GRANT:everyone,READ
    NET SHARE OPERATING_SYSTEMS="I:\Operating Systems" /GRANT:everyone,READ
    NET SHARE RECORDED_TV="G:\Recorded TV" /GRANT:everyone,READ
    NET SHARE TV_SERIES_DLNA=J:\TV-SHOWS /GRANT:everyone,READ
    NET SHARE WAR_DOCUMENTARIES_DLNA="I:\WAR Documentaries" /GRANT:everyone,READ
    NET SHARE !_NEWS_NOT_IN_THE_NEWS!_DLNA=J:\IGNORED_MSM_NEWS /GRANT:everyone,READ
    @Pause
    --end--


    root@toor:~#NET SHARE /?

    NET SHARE
    sharename
    sharename=driveath [/GRANT:user,[READ | CHANGE | FULL]]
    [/USERS:number | /UNLIMITED]
    [/REMARK:"text"]
    [/CACHE:Manual | Documents| Programs | BranchCach
    e | None]
    sharename [/USERS:number | /UNLIMITED]
    [/REMARK:"text"]
    [/CACHE:Manual | Documents | Programs | BranchCache | None]
    {sharename | devicename | driveath} /DELETE
    sharename \\computername /DELETE

    VENTURING ON...
    Getting my VISA/MASTER Card Merchant ID MID/TID in 1996 and leasing a Dedicated BSD w/Apache and automated batches was my DOT com.
    I figgered out an INSANELY SIMPLE TRICK to take front page on Google for many months getting me over 150k unique hits a day.
    Then I gave my Webhost top spot on keyword "Web Hosting" and variations and got free lifetime Dedicated (Google plugged/fixed it in late 1999).

    After 8 months of REALLY NICE iBILL deposits every night in batches to my bank account, I decided it was time to quit college and Lexis-Nexis Data Center and go to the islands of Hawaii first class for month.

    Ever seen this movie: Middle Men (2009) - IMDb
    It is a True Story.. I was in on that..

    Not worked since.. I am 44 now.

    -PEACE
    Last edited by ZugZug; 15 Jun 2014 at 07:57. Reason: type-o's
      My Computer


  10. Posts : 7
    Windows 7 Ultimate 64-bit
    Thread Starter
       #10

    How are you guys on IP Cameras?
    I've tried everything this side of running cat5 thru the attic to keep them from losing connections.

    Using a UBEE wireless router, Sricams, and iSPy open source.
    I set lower frame rates, no metal or microwaves near router or cameras. qos and leased ips via MAC all set in the ubee and they still drop connection left and right.
    This PC has both hardwire and wireless connections.. Tried minport bridging and not.. Changing DNS, disable one or other and not.. just on and on, connection off on.. off on...

    I am about ready to get a good switch, stick it in the attic, and buy a crap load of cat5.. It just sucks the wireless is not solid (signal shows all bars even) and that will be like *shrug* 400 / 500 bucks and a day's work crawling around the attic drilling holes n crap..
    It would be nice getting 30fps on hardwire though and not having to crank them down so much on wireless.


    Adding.. I've also swapped out to a Netgear and it does it too..
    Attached Thumbnails Attached Thumbnails What "Service" within Services.msc is responsible for Drive Shares-damn-capture.jpg  
    Last edited by ZugZug; 15 Jun 2014 at 08:30. Reason: add links
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:06.
Find Us