[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SMB2 active

Posted on 2011-10-29
3
Medium Priority
?
1,063 Views
Last Modified: 2012-05-12
Hi Experts,

how can i determine if smb2 is active on terminalserver or not, like " ... sc query lanmanworkstation depend=...." ???

Best regards & thx++
0
Comment
Question by:reredok
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
SuperTaco earned 1000 total points
ID: 37050585
So, for troubleshooting purposes, mostly in an environment that has mixes operating systems, you might want to consider disabling SMB 2.0. You need to do so on both the "client" and the "server" operating systems. To disable SMB 2.0 for Windows Vista or Windows Server 2008 systems that are the “client” systems run the following commands:

sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
sc config mrxsmb20 start= disabled
Note there's an extra " " (space) after the "=" sign.

To enable back SMB 2.0 for Windows Vista or Windows Server 2008 systems that are the “client” systems run the following commands:

sc config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc config mrxsmb20 start= auto
Again, note there's an extra " " (space) after the "=" sign.

if you have a Windows 2008 server, it's more than likely enabled.  You can try disabling it and see what it says, then re-enable
0
 
LVL 4

Author Comment

by:reredok
ID: 37050648
ok, but is there not an easyier way?

server:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
Name: SMB2
Typ: REG_DWORD
=0 disabled
=1 enabled

can't i query the "smb2"-value onto Client like "..sc query lanmanworkstation depend ..". All Terminalserver are Win dows 2008 R2 Enterprise.

You are correct: by default all Windows 2008 Servers have SMB2 enabled. But some circumstances (i.e. Trouble with SQL Connections) have consider the prevoius Admin to diable SMB2 .

Thx++
0
 
LVL 10

Expert Comment

by:SuperTaco
ID: 37051290
The registry is just another method of enableing/disabling.  I've doen the enable/disable to chekc with out any issues.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question