SMB2 active

Posted on 2011-10-29
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++
Question by:reredok
    LVL 10

    Accepted Solution

    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
    LVL 4

    Author Comment

    ok, but is there not an easyier way?

    Name: SMB2
    Typ: REG_DWORD
    =0 disabled
    =1 enabled

    can't i query the "smb2"-value onto Client like " 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 .

    LVL 10

    Expert Comment

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Here's a useful script that will automatically delete ALL user profiles that are on a Windows Server 2008/R2 computer.   WARNING! This is a dangerous operation, designed for use by an administrator who needs to do a complete purge; for instance a…
    If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now