<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Edwin M Sarmientonull session shares &#8211; Edwin M Sarmiento</title>
	<atom:link href="https://www.edwinmsarmiento.com/category/null-session-shares/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.edwinmsarmiento.com</link>
	<description>Intentional Excellence</description>
	<lastBuildDate>Mon, 13 Apr 2026 21:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">84283043</site>		<item>
		<title>Backup on shared folders running on a local system account?</title>
		<link>https://www.edwinmsarmiento.com/backup-on-shared-folders-running-on-a-local-system-account/</link>
		<comments>https://www.edwinmsarmiento.com/backup-on-shared-folders-running-on-a-local-system-account/#respond</comments>
		<pubDate>Mon, 18 May 2009 21:40:00 +0000</pubDate>
		<dc:creator>Edwin M Sarmiento</dc:creator>
				<category><![CDATA[backups]]></category>
		<category><![CDATA[null session shares]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://bassplayerdoc.wordpress.com/2009/05/18/backup-on-shared-folders-running-on-a-local-system-account</guid>

				<description><![CDATA[I still see a lot of SQL Servers running using the LocalSystem account, particularly, MSDE 2000, which is very popular among third-party applications that requires storing data in a database. Others run a stand-alone SQL Server system and use LocalSystem account for the service accounts. While this may be a security risk, a lot of [&#8230;]]]></description>
					<content:encoded><![CDATA[<p><span style="font-family:arial;">I still see a lot of SQL Servers running using the <a href="http://msdn.microsoft.com/en-us/library/ms684190.aspx">LocalSystem</a> account, particularly, MSDE 2000, which is very popular among third-party applications that requires storing data in a database. Others run a stand-alone SQL Server system and use LocalSystem account for the service accounts. While this may be a security risk, a lot of users still have them configured. And when they need to generate database backups on a shared folder, the SQL Server service&#8217;s attempt to connect to network resources are denied access because they have no credentials and they are using a null session.Of course, a typical recommendation would be to change the service account to a local Windows or a domain account with least privilege but not everybody is open to that suggestion. So how do you allow SQL Server to generate a backup on a shared folder while using a LocalSystem account? The solution: <span style="font-weight:bold;">enable null session shares</span></span></p>
<p>While I do not advocate such workarounds as it opens up additional security loopholes, it still is a workaround. And as I usuallly say, <strong><span style="font-size:85%;">WARNING: This is not a recommended approach. Use at your own risk</span></strong></p>
<p><span style="font-family:arial;">Microsoft has a documented procedure to <a href="http://support.microsoft.com/kb/289655">enable null sessions shares</a> and while the KB article mentions Windows 2000, it does work for Windows Server 2003. This should be done on the Windows machine that hosts the shared folder. A word of caution if you intend to use this approach &#8211; document every step that you do and make sure you rollback any changes made after generating your database backup. Tasks like enabling the <span style="font-weight:bold;">Guest</span> user account (this is disabled by default), modifying the registry, etc. should be rolled back as soon as you&#8217;re done, otherwise, you&#8217;re opening up security vulnerabilities across your network. </span></p>
<div class="blogger-post-footer"><img decoding="async" src="https://blogger.googleusercontent.com/tracker/92377218009570869-4565393464317364782?l=bassplayerdoc.blogspot.com" alt="" width="1" height="1" /></div>
]]></content:encoded>
			

		<wfw:commentRss>https://www.edwinmsarmiento.com/backup-on-shared-folders-running-on-a-local-system-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
				<post-id xmlns="com-wordpress:feed-additions:1">187</post-id>	</item>
	</channel>
</rss>