Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

11 Jun 2014   #1
ZugZug

Windows 7 Ultimate 64-bit
 
 
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 System SpecsSystem Spec
.
11 Jun 2014   #2
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

I do not believe Windows will share a encrypted file, folder, partition, drive until Windows can see them and a password is used.
My System SpecsSystem Spec
11 Jun 2014   #3
ZugZug

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
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 System SpecsSystem Spec
.

11 Jun 2014   #4
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Is what you are looking for a way around the password to share those drives?
My System SpecsSystem Spec
11 Jun 2014   #5
ZugZug

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
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/
My System SpecsSystem Spec
11 Jun 2014   #6
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

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 System SpecsSystem Spec
11 Jun 2014   #7
carwiz

Windows 7 Pro-x64
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
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 System SpecsSystem Spec
15 Jun 2014   #8
Alejandro85

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
15 Jun 2014   #9
ZugZug

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by Alejandro85 View Post
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
My System SpecsSystem Spec
15 Jun 2014   #10
ZugZug

Windows 7 Ultimate 64-bit
 
 

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 Images
What "Service" within Services.msc is responsible for Drive Shares-damn-capture.jpg 
My System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Folder for "Videos" library won't work on same drive as "Recorded TV"
Interesting discovery. W7 Pro x64. I was copying content from my desktop PC to my laptop in anticipation of an upcoming weekend trip. The content consists of both (a) entire recent copy-freely WTV recordings, and (b) MPEG videos (actually previously edited from copy-freely WTV recordings using...
Media Center
Disabling shares folders ending with "$"
Hi guys, First post here. I need some help how to disable shares folders, "C$", "IPC$", etc. In Computer Management, I tried right click on the folder and I don't have the "Stop Sharing" option (I have administration rights in my system). I know the dollar sign means that these folders are...
Network & Sharing
Hard Drive "Not Initialized", "device is not ready",won't recognize
I used a DriveWire - Universal Hard Drive Adapter (IDE / PATA / SATA to USB HDD Adapter) to hook up A 3.5" Hard Drive (Samsung model HD502HJ) to my desktop in an attempt to get my wife's files off her old desktop machine and merge them into mine. It all started off fine, the drive was recognized...
Hardware & Devices
Random "Bad Pool Header" and "System Service Exception" BSODs
I have been getting these "Bad Pool Header" and "System Service Exception" BSODs for about a day now (the "Bad Pool Header" one tends to pop up more often then the other btw). I ran a registry cleaner which didn't work and ran memtest this morning and it showed that my memory was fine. The BSODs...
BSOD Help and Support
"Share with -> Specific people..." shares all libraries
Hi all! I'm on an all Windows 7 network except for a Win XP machine which is my girlfriend's. I chose to share one folder today, by using "Share with -> Specific people -> " and all of a sudden she can access *all* my libraries apart from the one folder i chose to share with her. How come she...
Network & Sharing
Why is the "Remote Desktop Services" service on?
Remote Desktop Services service description: "Allows users to connect interactively to a remote computer. Remote Desktop and Remote Desktop Session Host Server depend on this service. To prevent remote use of this computer, clear the checkboxes on the Remote tab of the System properties...
Network & Sharing


Our Sites

Site Links

About Us

Find 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 23:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App