{"id":1186,"date":"2025-09-19T15:47:45","date_gmt":"2025-09-19T15:47:45","guid":{"rendered":"https:\/\/www.itcrumbs.com\/?p=1186"},"modified":"2025-09-19T15:47:45","modified_gmt":"2025-09-19T15:47:45","slug":"smbv1-leasing","status":"publish","type":"post","link":"https:\/\/www.itcrumbs.com\/?p=1186","title":{"rendered":"SMBv1 Leasing"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"rtoc-11\">Legacy applications connecting to Windows shares<\/h3>\n\n\n\n<p>For legacy applications that need to access file shares on your Windows server, Microsoft suggests configuring those shares with leasing mode using the&nbsp;<em>-LeasingMode None<\/em>&nbsp;parameter in PowerShell commands like&nbsp;<em>New-SmbShare<\/em>&nbsp;or&nbsp;<em>Set-SmbShare<\/em>. This makes the Windows server&#8217;s shares behave like SMBv1 (without modern features like oplocks and leases) while still using the more secure SMBv2 or SMBv3 protocols.<\/p>\n\n\n\n<p>Here is an example:<\/p>\n\n\n\n<p># Create a new share compatible with legacy applications<\/p>\n\n\n\n<p>New-SmbShare -Name &#8220;LegacyApp&#8221; -Path &#8220;C:\\LegacyData&#8221; -LeasingMode None<\/p>\n\n\n\n<p># Or modify an existing share<\/p>\n\n\n\n<p>Set-SmbShare -Name &#8220;ExistingShare&#8221; -LeasingMode None<\/p>\n\n\n\n<p>This allows legacy applications to connect successfully without requiring the vulnerable SMBv1 protoco<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/4sysops.com\/archives\/windows-september-updates-break-smbv1-shares-workarounds-and-user-feedback\/\">https:\/\/4sysops.com\/archives\/windows-september-updates-break-smbv1-shares-workarounds-and-user-feedback\/<\/a>l.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Legacy applications connecting to Windows shares For legacy applications that need to access file shares on your Windows server, Microsoft suggests configuring those shares with leasing mode using the&nbsp;-LeasingMode None&nbsp;parameter in PowerShell commands like&nbsp;New-SmbShare&nbsp;or&nbsp;Set-SmbShare. This makes the Windows server&#8217;s shares behave like SMBv1 (without modern features like oplocks and leases) while still using the more [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1186","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/1186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1186"}],"version-history":[{"count":1,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/1186\/revisions"}],"predecessor-version":[{"id":1187,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/1186\/revisions\/1187"}],"wp:attachment":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}