Server service auto-tuning and KB article

  • Thread starter Thread starter DWalker
  • Start date Start date
D

DWalker

KB article 314498 talks about the Server service and how it's self-tuning.
But if you set some parameters from the command line (like autodisconnect
for LAN connections), the server service is no longer self-tuning. To
correct this, you are told to follow a list of steps.

It's not possible to follow the steps as listed!

The article says this:

"To restore the LAN Manager Server parameters to their defaults, or to
reconfigure Windows so that it automatically configures the Server service,
follow these steps."

Step 6 says this:

"6. In the right pane of the Registry Editor window, delete all entries
except for the following:

EnableSharedNetDrives
Lmannounce
NullSessionPipes
NullSessionShares
Size

NOTE: You may have other entries here that are statically coded. Do not
remove these entries."

Does anyone else see anything odd about this? We are to remove all entries
except for the ones listed, BUT we're not supposed to remove some other
entries (that aren't listed) that are "statically coded". How are we
supposed to know what other entries that we might see are "statically
coded" and should not be removed? This step is impossible to follow as
written.

I submitted a comment on the article; maybe someone will take a look and
clarify it. But I won't hold my breath.

Is there a better way to restore the server service's auto-tuning if it was
inadvertently turned off by using the command "net config server
/autodisconnect:-1" for example?

Thanks.

David Walker
 
Can you post the contents of the key?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| KB article 314498 talks about the Server service and how it's self-tuning.
| But if you set some parameters from the command line (like autodisconnect
| for LAN connections), the server service is no longer self-tuning. To
| correct this, you are told to follow a list of steps.
|
| It's not possible to follow the steps as listed!
|
| The article says this:
|
| "To restore the LAN Manager Server parameters to their defaults, or to
| reconfigure Windows so that it automatically configures the Server
service,
| follow these steps."
|
| Step 6 says this:
|
| "6. In the right pane of the Registry Editor window, delete all entries
| except for the following:
|
| EnableSharedNetDrives
| Lmannounce
| NullSessionPipes
| NullSessionShares
| Size
|
| NOTE: You may have other entries here that are statically coded. Do not
| remove these entries."
|
| Does anyone else see anything odd about this? We are to remove all
entries
| except for the ones listed, BUT we're not supposed to remove some other
| entries (that aren't listed) that are "statically coded". How are we
| supposed to know what other entries that we might see are "statically
| coded" and should not be removed? This step is impossible to follow as
| written.
|
| I submitted a comment on the article; maybe someone will take a look and
| clarify it. But I won't hold my breath.
|
| Is there a better way to restore the server service's auto-tuning if it
was
| inadvertently turned off by using the command "net config server
| /autodisconnect:-1" for example?
|
| Thanks.
|
| David Walker
 
Can you post the contents of the key?

Sure.

I predict the article was correct when written, but if you delete
everything except those entries mentioned, then right-click a local
disk, the context menu item "Sharing and Security" is missing (in
Windows XP Pro SP2), and all of your previously-shared disks are now
unshared.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver
\parameters]
"autodisconnect"=dword:ffffffff
"enableforcedlogoff"=dword:00000001
"enablesecuritysignature"=dword:00000000
"requiresecuritysignature"=dword:00000000
"NullSessionPipes"=hex
(7):43,00,4f,00,4d,00,4e,00,41,00,50,00,00,00,43,00,4f,\

00,4d,00,4e,00,4f,00,44,00,45,00,00,00,53,00,51,00,4c,00,5c,00,51,00,55,
00,\

45,00,52,00,59,00,00,00,53,00,50,00,4f,00,4f,00,4c,00,53,00,53,00,00,00,
4c,\

00,4c,00,53,00,52,00,50,00,43,00,00,00,62,00,72,00,6f,00,77,00,73,00,65,
00,\
72,00,00,00,00,00
"NullSessionShares"=hex
(7):43,00,4f,00,4d,00,43,00,46,00,47,00,00,00,44,00,46,\
00,53,00,24,00,00,00,00,00
"ServiceDll"=hex
(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,
00,\
73,00,72,00,76,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
"Lmannounce"=dword:00000000
"Size"=dword:00000001
"Guid"=hex:61,b5,b3,20,d7,af,92,4d,bf,c9,1a,71,92,73,1d,5e
"AdjustedNullSessionPipes"=dword:00000001
"CachedOpenLimit"=dword:00000000
"srvcomment"=""
 
Those are the same set of data place holders that I have with the exception
of;
'CachedOpenLimit' which has to do with caching of open files (you can
probably delete this one to return it to auto tuning)

'srvcomment' which you probably already knew is text that appears in the
Comment field next to the name of this computer in My Network Places



The shares should be saved in the \lanmanserver\Shares key. Here's a newer
article version for Windows XP but the text is virtually the same.

http://support.microsoft.com/kb/314498/EN-US/

http://support.microsoft.com/?kbid=125996

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Sure.
|
| I predict the article was correct when written, but if you delete
| everything except those entries mentioned, then right-click a local
| disk, the context menu item "Sharing and Security" is missing (in
| Windows XP Pro SP2), and all of your previously-shared disks are now
| unshared.
|
|
| Windows Registry Editor Version 5.00
|
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver
| \parameters]
| "autodisconnect"=dword:ffffffff
| "enableforcedlogoff"=dword:00000001
| "enablesecuritysignature"=dword:00000000
| "requiresecuritysignature"=dword:00000000
| "NullSessionPipes"=hex
| (7):43,00,4f,00,4d,00,4e,00,41,00,50,00,00,00,43,00,4f,\
|
| 00,4d,00,4e,00,4f,00,44,00,45,00,00,00,53,00,51,00,4c,00,5c,00,51,00,55,
| 00,\
|
| 45,00,52,00,59,00,00,00,53,00,50,00,4f,00,4f,00,4c,00,53,00,53,00,00,00,
| 4c,\
|
| 00,4c,00,53,00,52,00,50,00,43,00,00,00,62,00,72,00,6f,00,77,00,73,00,65,
| 00,\
| 72,00,00,00,00,00
| "NullSessionShares"=hex
| (7):43,00,4f,00,4d,00,43,00,46,00,47,00,00,00,44,00,46,\
| 00,53,00,24,00,00,00,00,00
| "ServiceDll"=hex
| (2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
|
| 00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,
| 00,\
| 73,00,72,00,76,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
| "Lmannounce"=dword:00000000
| "Size"=dword:00000001
| "Guid"=hex:61,b5,b3,20,d7,af,92,4d,bf,c9,1a,71,92,73,1d,5e
| "AdjustedNullSessionPipes"=dword:00000001
| "CachedOpenLimit"=dword:00000000
| "srvcomment"=""
 
Hi. Please see below.

Those are the same set of data place holders that I have with the
exception of;
'CachedOpenLimit' which has to do with caching of open files (you can
probably delete this one to return it to auto tuning)

'srvcomment' which you probably already knew is text that appears in
the Comment field next to the name of this computer in My Network
Places



The shares should be saved in the \lanmanserver\Shares key. Here's a
newer article version for Windows XP but the text is virtually the
same.

http://support.microsoft.com/kb/314498/EN-US/

That's newer? It's the exact same article I mentioned. I'm confused.
How is it newer?

The problem is that you can't follow step 6 in the KB article, not
knowing what "other static entries" you aren't supposed to delete. And
deleting everything except those items listed, at least on my XP Pro
system, killed all kinds of share-related things. (I don't think you're
supposed to delete the entry that lists a DLL name and path, for
example.)

This article talks about saving and restoring individual share names and
permissions. Still, if you remove everything as described in 314498,
the entry "Sharing and Security" disappears from the context menu of a
local drive. This is a bad thing and is separate from what 125996 talks
about!

So the question remains how to restore auto-tuning if you have used the
command line to set autodisconnect to -1?

Thanks.

David Walker
 
You're right it is the same article. I was looking at something else when I
typed that.

"| So the question remains how to restore auto-tuning if you have used the
| command line to set autodisconnect to -1?"

Very carefully. :)

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi. Please see below.
| That's newer? It's the exact same article I mentioned. I'm confused.
| How is it newer?
|
| The problem is that you can't follow step 6 in the KB article, not
| knowing what "other static entries" you aren't supposed to delete. And
| deleting everything except those items listed, at least on my XP Pro
| system, killed all kinds of share-related things. (I don't think you're
| supposed to delete the entry that lists a DLL name and path, for
| example.)
|
| >
| > http://support.microsoft.com/?kbid=125996
|
| This article talks about saving and restoring individual share names and
| permissions. Still, if you remove everything as described in 314498,
| the entry "Sharing and Security" disappears from the context menu of a
| local drive. This is a bad thing and is separate from what 125996 talks
| about!
|
| So the question remains how to restore auto-tuning if you have used the
| command line to set autodisconnect to -1?
|
| Thanks.
|
| David Walker
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top