Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista networking & sharing

Vista - Server driver locks shared folders

Reply
 
Old 10-07-2008   #1 (permalink)
akobrin


 
 

Server driver locks shared folders

I create a share on Vista or Windows 2008 SP1. No one accesses this share
from network. After some time folder for this share becomes locked.
You can see in Process Explorer that System process has opened file handles
for each shared folder.
I've traced this using Process Monitor and found that srv.sys is making
NtOpenFile call. srv.sys is Server driver responsible for file sharing.
Here is call stack in srv.sys:
SrvConfigurationThread -> InitializeServer -> SrvInitializeScavenger ->
ScavengerTimerRoutine -> ScavengerThread -> RefreshSnapShotsAlgorithm ->
SrvSnapRefreshSnapShotsForShare -> SrvSnapSetVolumeHandle ->
SrvRefreshShareRootHandle.
What is this - share snap shots? Why srv.sys is doing it?
How can I release this share root handles?

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Shared Folders Vista networking & sharing
Shared folders Live Messenger
Shared Fax/Scan Folders on server?? Vista print fax & scan
Vista to Server 2003 shared folders Vista networking & sharing
Shared folders on XP/Windows Server 2003 via VPN from Vista Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46