<?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>Blog of developer Mikkel Ovesen &#187; sql server</title>
	<atom:link href="http://blog.ovesens.net/tag/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ovesens.net</link>
	<description>My thoughts, stuff I need to remember or things I just want to share with the world</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:55:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Locked out of MSSQL 2008</title>
		<link>http://blog.ovesens.net/2009/02/locked-out-of-mssql-2008/</link>
		<comments>http://blog.ovesens.net/2009/02/locked-out-of-mssql-2008/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 03:59:00 +0000</pubDate>
		<dc:creator>Mikkel Ovesen</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[mssql 2008]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">/post/2009/02/16/Locked-out-of-MSSQL-2008.aspx</guid>
		<description><![CDATA[Have you lost administration&#160;control of your MSSQL 2008? I lost control of my MSSQL 2008, unable to create new databases and change server settings&#8230; pretty annoying. I think it happened because I upgraded from SQL Express 2005 to 2008.&#160; Well &#8230; <a href="http://blog.ovesens.net/2009/02/locked-out-of-mssql-2008/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h1>Have you lost administration&nbsp;control of your MSSQL 2008?</h1>
<p>
I lost control of my MSSQL 2008, unable to create new databases and change server settings&#8230; pretty annoying.
</p>
<p>
I think it happened because I upgraded from SQL Express 2005 to 2008.&nbsp;
</p>
<p>
Well if you have the same problems, then you can either uninstall and then install the SQL Server 2008 again&#8230; or you can do as me <img src='http://blog.ovesens.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
<p>
Before you start, make sure the current user is member of the administrators group.
</p>
<ol>
<li>Shutdown the SQL server service, agent service, browser service etc.</li>
<li>Open a Command prompt</li>
<li>Navigate to&nbsp;the SQL 2008&nbsp;installation directory. E.g.:<br />
	&quot;C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Binn&quot;</li>
<li>Run &quot;sqlservr -m -sSQLEXPRESS&quot; (SQLEXPRESS should be the name of your instance)</li>
<li>The SQL server should now be started in &quot;Single User admin mode&quot;.</li>
<li>Open &quot;SQL Server Management Studio&quot;, remember, if you use Vista, to run as administrator.</li>
<li>Open your instance and change your user to sysadmin.</li>
<li>Close &quot;SQL Server Management Studio&quot;</li>
<li>Goto the command prompt and shut down the SQL server instance (press CTRL-C, I think)</li>
<li>Start the SQL service again</li>
</ol>
<p>
&nbsp;
</p>
<p>
You should now be able to create databases again.
</p>
<p>
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ovesens.net/2009/02/locked-out-of-mssql-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

