{"id":642,"date":"2023-11-03T12:49:46","date_gmt":"2023-11-03T12:49:46","guid":{"rendered":"https:\/\/learnsysadmin.com\/?post_type=kbe_knowledgebase&#038;p=642"},"modified":"2024-02-18T14:23:52","modified_gmt":"2024-02-18T14:23:52","slug":"smb-server-message-block","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/","title":{"rendered":"SMB &#8211; Server Message Block"},"content":{"rendered":"\n<p class=\"has-medium-font-size wp-block-paragraph\">This article briefly talks about <strong>SMB &#8211; Server Message Block<\/strong> Protocol, which is basically used for <strong>Files<\/strong>, <strong>Folder<\/strong> and <strong>Printer sharing<\/strong> across networks.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Summary of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#What_are_Protocols\" title=\"What are Protocols?\">What are Protocols?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#What_is_SMB_%E2%80%93_Server_Message_Block_Protocol\" title=\"What is SMB &#8211; Server Message Block Protocol?\">What is SMB &#8211; Server Message Block Protocol?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#What_are_the_Ports_used_by_the_SMB_%E2%80%93_Server_Message_Block_Protocol\" title=\"What are the Ports used by the SMB &#8211; Server Message Block Protocol?\">What are the Ports used by the SMB &#8211; Server Message Block Protocol?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#What_is_a_SMB_Dialect\" title=\"What is a SMB Dialect?\">What is a SMB Dialect?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#How_to_Check_Active_SMB_Connections\" title=\"How to Check Active SMB Connections?\">How to Check Active SMB Connections?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#SMB_Client_Command_%E2%80%93_Get-SmbConnection\" title=\"SMB Client Command &#8211; Get-SmbConnection\">SMB Client Command &#8211; Get-SmbConnection<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Check_All_Active_SMB_connections_from_an_SMB_Client_to_All_SMB_Servers\" title=\"Check All Active SMB connections from an SMB Client to All SMB Server(s)\">Check All Active SMB connections from an SMB Client to All SMB Server(s)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Check_Active_SMB_connections_from_an_SMB_Client_to_Specific_SMB_Servers\" title=\"Check Active SMB connections from an SMB Client to Specific SMB Server(s)\">Check Active SMB connections from an SMB Client to Specific SMB Server(s)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#SMB_Server_Command_%E2%80%93_Get-SmbSession\" title=\"SMB Server Command &#8211; Get-SmbSession\">SMB Server Command &#8211; Get-SmbSession<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Functions_or_Purpose_of_SMB_%E2%80%93_Server_Message_Block_Protocol\" title=\"Functions or Purpose of SMB &#8211; Server Message Block Protocol?\">Functions or Purpose of SMB &#8211; Server Message Block Protocol?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#How_to_Enable_Disable_SMBv1_and_SMBv2v3\" title=\"How to Enable \/ Disable SMBv1 and SMBv2\/v3?\">How to Enable \/ Disable SMBv1 and SMBv2\/v3?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Enable_SMBv1\" title=\"Enable SMBv1\">Enable SMBv1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Disable_SMBv1\" title=\"Disable SMBv1\">Disable SMBv1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Enable_SMBv2v3\" title=\"Enable SMBv2\/v3\">Enable SMBv2\/v3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Disable_SMBv2v3\" title=\"Disable SMBv2\/v3\">Disable SMBv2\/v3<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#What_is_the_Registry_Location_for_SMB_%E2%80%93_Server_Message_Block_Protocol\" title=\"What is the Registry Location for SMB &#8211; Server Message Block Protocol?\">What is the Registry Location for SMB &#8211; Server Message Block Protocol?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Registry_Location_for_SMB_Server_Settings\" title=\"Registry Location for SMB Server Settings\">Registry Location for SMB Server Settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Registry_Location_for_SMB_Client_Settings\" title=\"Registry Location for SMB Client Settings\">Registry Location for SMB Client Settings<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#Microsofts_documentation_on_SMB_Protocol_overview\" title=\"Microsoft&#8217;s documentation on SMB Protocol overview:\">Microsoft&#8217;s documentation on SMB Protocol overview:<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_are_Protocols\"><\/span>What are Protocols?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Click on the link below to find more about Protocols:<br><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/what-is-a-protocol\/\">https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/what-is-a-protocol\/<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_SMB_%E2%80%93_Server_Message_Block_Protocol\"><\/span>What is SMB &#8211; Server Message Block Protocol?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>SMB Protocol<\/strong> is a <strong>Network File Sharing Protocol<\/strong> in Microsoft Windows. The SMB Protocol enables <strong>File<\/strong>, <strong>Folder<\/strong> and <strong>Printers<\/strong> <strong><span style=\"text-decoration: underline;\">sharing<\/span><\/strong> <strong>across networks<\/strong>. The <strong>SMB Protocol<\/strong> is a <strong>Client-Server<\/strong> based Protocol. Hence, the SMB Protocol needs a Server Service (LanmanServer) to host SMB Shares and a Client Service (LanmanWorkstation) to access SMB Shares.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_are_the_Ports_used_by_the_SMB_%E2%80%93_Server_Message_Block_Protocol\"><\/span>What are the Ports used by the SMB &#8211; Server Message Block Protocol?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">You should note that the <strong>two<\/strong> main <strong>ports<\/strong> that <strong>SMB<\/strong> uses are <strong>139<\/strong> and <strong>445<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_a_SMB_Dialect\"><\/span>What is a SMB Dialect?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">An <strong>SMB Dialect<\/strong> is the <strong>version<\/strong> of the <strong>SMB Protocol<\/strong> that the <strong>SMB Client and Server<\/strong> <strong>use<\/strong> to <strong>Exchange Message Packets<\/strong>.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Over the years, the <strong>SMB Protocol Message Packets<\/strong> has <strong>undergone several upgrades<\/strong> to accommodate <strong>new functionalities<\/strong> and hence we have <strong>hundreds of Dialects<\/strong> for the SMB Protocol.<\/p>\n\n\n\n<pre class=\"wp-block-verse has-medium-font-size\"><strong>Note:<\/strong> The <strong>Common Internet File System (CIFS)<\/strong> Protocol is a <strong>dialect of SMB<\/strong>.\nHere is the link from Microsoft for <strong>more information<\/strong> about <strong>Common Internet File System (CIFS)<\/strong>:\n<a href=\"https:\/\/learn.microsoft.com\/en-us\/openspecs\/windows_protocols\/ms-cifs\/d416ff7c-c536-406e-a951-4f04b2fd1d2b\">https:\/\/learn.microsoft.com\/en-us\/openspecs\/windows_protocols\/ms-cifs\/d416ff7c-c536-406e-a951-4f04b2fd1d2b<\/a><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Check_Active_SMB_Connections\"><\/span>How to Check Active SMB Connections?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">SMB Protocol is a Client-Server Protocol.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Use the following 2 commands to gather SMB Connection Information from the SMB Client(s) and SMB Server(s)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SMB_Client_Command_%E2%80%93_Get-SmbConnection\"><\/span>SMB Client Command &#8211; <span style=\"text-decoration: underline;\">Get-SmbConnection<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Run the <strong>Get-SmbConnection<\/strong> command from an <strong>SMB Client<\/strong> to gather all the SMB Connection Information.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The <strong>Get-SmbConnection<\/strong> command <strong>gathers<\/strong> all the <strong>Information<\/strong> about the <strong>SMB sessions<\/strong> that are <strong>currently active<\/strong> between the <strong>SMB-Client<\/strong> and respective <strong>SMB-Server(s)<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Check_All_Active_SMB_connections_from_an_SMB_Client_to_All_SMB_Servers\"><\/span>Check All Active SMB connections from an SMB Client to All SMB Server(s)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The following command shows the <strong>active SMB connections<\/strong> <strong>from<\/strong> the <strong>SMB Client<\/strong> to <strong><span style=\"text-decoration: underline;\">All<\/span><\/strong> <strong>SMB Servers<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>Get-SmbConnection<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.flickr.com\/photos\/51330320@N04\/53503630077\/in\/album-72177720314541124\/\"><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg\" alt=\"get-smbconnection_smb-server-message-block\"\/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Check_Active_SMB_connections_from_an_SMB_Client_to_Specific_SMB_Servers\"><\/span>Check Active SMB connections from an SMB Client to Specific SMB Server(s)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Use the following command to view <strong>active SMB connections<\/strong> <strong>from<\/strong> the <strong>SMB Client<\/strong> to <strong><span style=\"text-decoration: underline;\">Specified<\/span><\/strong> <strong>SMB Server(s)<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>Get-SmbConnection -ServerName &#91;ServerName(s)]<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.flickr.com\/photos\/51330320@N04\/53504956890\/in\/album-72177720314541124\/\"><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/65535\/53504956890_ad9b29f4b5_h.jpg\" alt=\"get-smbconnection_ServerName\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SMB_Server_Command_%E2%80%93_Get-SmbSession\"><\/span>SMB Server Command &#8211; <span style=\"text-decoration: underline;\">Get-SmbSession<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Run the <strong>Get-SmbSession<\/strong> command from an <strong>SMB Server<\/strong> to gather all the SMB Connection Information.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The <strong>Get-SmbSession<\/strong> command <strong>gathers<\/strong> all the <strong>Information<\/strong> about the <strong>SMB sessions<\/strong> that are <strong>currently active<\/strong> between the <strong>SMB-Server<\/strong> and respective <strong>SMB-Client(s)<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Functions_or_Purpose_of_SMB_%E2%80%93_Server_Message_Block_Protocol\"><\/span>Functions or Purpose of SMB &#8211; Server Message Block Protocol?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The main <strong>purpose<\/strong> of <strong>SMB Protocol<\/strong> is <strong>File Sharing<\/strong>, but on top of File Sharing, the SMB Protocol <strong>provides<\/strong> the following <strong>functionalities<\/strong> as well:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">SMB Protocol <strong>Dialect Negotiation<\/strong>.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">Exploring Network to Discover other SMB Protocol Servers, also know as Network Browsing.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Enable_Disable_SMBv1_and_SMBv2v3\"><\/span>How to Enable \/ Disable SMBv1 and SMBv2\/v3?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Enable_SMBv1\"><\/span>Enable SMBv1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>Set-SmbServerConfiguration -EnableSMB1Protocol $true<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Disable_SMBv1\"><\/span>Disable SMBv1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>Set-SmbServerConfiguration -EnableSMB1Protocol $false<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Enable_SMBv2v3\"><\/span>Enable SMBv2\/v3<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-verse has-medium-font-size\">Note: SMBv2 and SMBv3 are <strong>both Enabled<\/strong> using the <strong>EnableSMB2Protocol argument<\/strong>.\nThere is <strong>no separate setting<\/strong>\/<strong>argument<\/strong> <strong>for SMBv3<\/strong>.<\/pre>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>Set-SmbServerConfiguration -EnableSMB2Protocol $true<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Disable_SMBv2v3\"><\/span>Disable SMBv2\/v3<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-verse has-medium-font-size\">Note: SMBv2 and SMBv3 are <strong>both Disabled<\/strong> using the <strong>EnableSMB2Protocol argument<\/strong>.\nThere is <strong>no separate setting<\/strong>\/<strong>argument<\/strong> <strong>for SMBv3<\/strong>.<\/pre>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>Set-SmbServerConfiguration -EnableSMB2Protocol $false<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_the_Registry_Location_for_SMB_%E2%80%93_Server_Message_Block_Protocol\"><\/span>What is the Registry Location for SMB &#8211; Server Message Block Protocol?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Registry_Location_for_SMB_Server_Settings\"><\/span>Registry Location for SMB Server Settings<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The SMB Protocol settings for <strong>SMB Server<\/strong> is at the following location in the Registry:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Registry_Location_for_SMB_Client_Settings\"><\/span>Registry Location for SMB Client Settings<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The SMB Protocol settings for <strong>SMB Client<\/strong> is at the following location in the Registry:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanWorkstation\\Parameters<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Microsofts_documentation_on_SMB_Protocol_overview\"><\/span>Microsoft&#8217;s documentation on SMB Protocol overview:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-verse has-medium-font-size\">Here is the link from Microsoft for <strong>more information<\/strong> about <strong>SMB<\/strong> Protocol:\n<a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/fileio\/microsoft-smb-protocol-and-cifs-protocol-overview\">https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/fileio\/microsoft-smb-protocol-and-cifs-protocol-overview<\/a><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This article briefly talks about SMB &#8211; Server Message Block Protocol, which is basically used for Files, Folder and Printer sharing across networks. What are Protocols? Click on the link below to find more about Protocols:https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/what-is-a-protocol\/ What is SMB &#8211; Server Message Block Protocol? SMB Protocol is a Network File Sharing Protocol in Microsoft Windows. ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","kbe_taxonomy":[7],"kbe_tags":[],"class_list":["post-642","kbe_knowledgebase","type-kbe_knowledgebase","status-publish","hentry","kbe_taxonomy-protocols"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SMB - Server Message Block - Learn System Administration<\/title>\n<meta name=\"description\" content=\"SMB - Server Message Block, What is SMB - Server Message Block and its functions, Enable\/Disable SMBv1 and SMBv2\/SMBv3\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SMB - Server Message Block - Learn System Administration\" \/>\n<meta property=\"og:description\" content=\"SMB - Server Message Block, What is SMB - Server Message Block and its functions, Enable\/Disable SMBv1 and SMBv2\/SMBv3\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn System Administration\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-18T14:23:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/\",\"url\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/\",\"name\":\"SMB - Server Message Block - Learn System Administration\",\"isPartOf\":{\"@id\":\"https:\/\/learnsysadmin.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg\",\"datePublished\":\"2023-11-03T12:49:46+00:00\",\"dateModified\":\"2024-02-18T14:23:52+00:00\",\"description\":\"SMB - Server Message Block, What is SMB - Server Message Block and its functions, Enable\/Disable SMBv1 and SMBv2\/SMBv3\",\"breadcrumb\":{\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#primaryimage\",\"url\":\"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg\",\"contentUrl\":\"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learnsysadmin.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SMB &#8211; Server Message Block\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnsysadmin.com\/#website\",\"url\":\"https:\/\/learnsysadmin.com\/\",\"name\":\"Learn System Administration\",\"description\":\"Learn the basics\",\"publisher\":{\"@id\":\"https:\/\/learnsysadmin.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnsysadmin.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnsysadmin.com\/#organization\",\"name\":\"Learn System Administration\",\"url\":\"https:\/\/learnsysadmin.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png\",\"contentUrl\":\"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png\",\"width\":100,\"height\":100,\"caption\":\"Learn System Administration\"},\"image\":{\"@id\":\"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SMB - Server Message Block - Learn System Administration","description":"SMB - Server Message Block, What is SMB - Server Message Block and its functions, Enable\/Disable SMBv1 and SMBv2\/SMBv3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/","og_locale":"en_US","og_type":"article","og_title":"SMB - Server Message Block - Learn System Administration","og_description":"SMB - Server Message Block, What is SMB - Server Message Block and its functions, Enable\/Disable SMBv1 and SMBv2\/SMBv3","og_url":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/","og_site_name":"Learn System Administration","article_modified_time":"2024-02-18T14:23:52+00:00","og_image":[{"url":"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/","url":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/","name":"SMB - Server Message Block - Learn System Administration","isPartOf":{"@id":"https:\/\/learnsysadmin.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#primaryimage"},"image":{"@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#primaryimage"},"thumbnailUrl":"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg","datePublished":"2023-11-03T12:49:46+00:00","dateModified":"2024-02-18T14:23:52+00:00","description":"SMB - Server Message Block, What is SMB - Server Message Block and its functions, Enable\/Disable SMBv1 and SMBv2\/SMBv3","breadcrumb":{"@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#primaryimage","url":"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg","contentUrl":"https:\/\/live.staticflickr.com\/65535\/53503630077_e7157c130b_b.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/smb-server-message-block\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learnsysadmin.com\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"SMB &#8211; Server Message Block"}]},{"@type":"WebSite","@id":"https:\/\/learnsysadmin.com\/#website","url":"https:\/\/learnsysadmin.com\/","name":"Learn System Administration","description":"Learn the basics","publisher":{"@id":"https:\/\/learnsysadmin.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnsysadmin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/learnsysadmin.com\/#organization","name":"Learn System Administration","url":"https:\/\/learnsysadmin.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/","url":"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png","contentUrl":"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png","width":100,"height":100,"caption":"Learn System Administration"},"image":{"@id":"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase\/642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/comments?post=642"}],"version-history":[{"count":65,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase\/642\/revisions"}],"predecessor-version":[{"id":1128,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase\/642\/revisions\/1128"}],"wp:attachment":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/media?parent=642"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_taxonomy?post=642"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_tags?post=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}