<?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>management Archives - WardNet</title>
	<atom:link href="https://www.wardnet.co.uk/tag/management/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wardnet.co.uk/tag/management/</link>
	<description>Infrastructure, ERP and General Technology Blog</description>
	<lastBuildDate>Sun, 19 Nov 2017 14:15:05 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2026/01/wp-1767387074640.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>management Archives - WardNet</title>
	<link>https://www.wardnet.co.uk/tag/management/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">63479081</site>	<item>
		<title>SQL Server Tip of the Week &#8211; Domain Migration</title>
		<link>https://www.wardnet.co.uk/sql-server-tip-of-the-week-domain-migration/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Mon, 20 Nov 2017 09:30:11 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Domain Migration]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[SA]]></category>
		<guid isPermaLink="false">https://www.wardnet.co.uk/?p=443</guid>

					<description><![CDATA[<p>I thought I would try a new feature, and hopefully get a schedule of tips I want to share with</p>
<p><a href="https://www.wardnet.co.uk/sql-server-tip-of-the-week-domain-migration/">SQL Server Tip of the Week &#8211; Domain Migration</a></p>
]]></description>
										<content:encoded><![CDATA[<p>I thought I would try a new feature, and hopefully get a schedule of tips I want to share with the world.</p>
<p>In the last week or so the subject of Domain Migration has come up for the millionth time in my career so far (slight exaggeration)</p>
<p>Switching domains is easy, log in on one domain, go to the system settings in Windows and change to the other domain, with a reboot committing the change fully. This is great, but what about the applications?</p>
<p>SQL is possibly the most popular DB platform out there, and up until the last couple of months has been restricted to the MS Windows platform. As a Microsoft product it ties in heavily to the operating system and Active Directory. Typically most DBAs will configure there SQL installation with dual authentication, Windows for binding Windows Accounts and SQL Authentication for local based security. The majority of applications these days will utilise Windows Authentication as this make the management of security policies such as password expiration and removal of users a little simpler, and generally management is from one place, i.e Active Directory. The only issue here is if you&#8217;re doing a manual Domain Migration (i.e no ADMT style tools) then as soon as you change the domain the SQL server sits on, the applications will no longer work and the users will not be able to connect. This is where the SA user is god, as it is local to the SQL installation not the domain/Windows element.</p>
<p>My advice for a manual SQL Server domain migration is simple:</p>
<ol>
<li>Ensure you have dual auth enabled</li>
<li>Ensure you know your SA password (if not, create a new SA style user and note the password you use)</li>
<li>Change SQL to use builtin service accounts (not a domain service account) before the move &#8211; can be changed afterwards to domain users under new domain.</li>
<li>Change ownership of all DBs to SA</li>
<li>Change ownership of all Task Agent jobs to SA</li>
</ol>
<p>These should be done before switching domain!</p>
<p>For steps 4 and 5 I have the following scripts which I have used a few times now, and they do exactly as described, changing the ownership:</p>
<p><strong>Change DBs ownership to sa:</strong></p>
<pre><code class="language-sql">EXEC sp_MSforeachdb 'EXEC [?]..sp_changedbowner ''sa'''</code></pre>
<p><strong>Change Job ownership to sa:</strong></p>
<pre><code class="language-sql">DECLARE @name_holder VARCHAR(1000)

DECLARE My_Cursor CURSOR

FOR

SELECT [name]&nbsp; FROM msdb..sysjobs

OPEN My_Cursor

FETCH NEXT FROM My_Cursor INTO @name_holder

WHILE (@@FETCH_STATUS &lt;&gt; -1)

BEGIN

exec msdb..sp_update_job

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @job_name = @name_holder,

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @owner_login_name = 'sa'

FETCH NEXT FROM My_Cursor INTO @name_holder

END

CLOSE My_Cursor

DEALLOCATE My_Cursor</code></pre>
<p>&nbsp;</p>
<p>One additional step once the migration is done and the server is back up on the new domain, would be to login as sa, and add in the security groups/users from the new domain that need access to the server. I typically add the Domain Admins as SQL sysadmin users. To achieve this for the current domain you can run:</p>
<pre><code class="language-sql">USE [master]
GO
declare @DomainName nvarchar(32)
set @DomainName = (SELECT DEFAULT_DOMAIN()[DomainName])
declare @DomainAdmin nvarchar(64)
set @DomainAdmin = @DomainName + '\Domain Admins'
print @DomainAdmin
EXEC master..sp_addsrvrolemember @loginame = N'NT AUTHORITY\SYSTEM', @rolename = N'sysadmin'
EXEC master..sp_addsrvrolemember @loginame = N'NT AUTHORITY\NETWORK SERVICE', @rolename = N'sysadmin'
EXEC master..sp_addsrvrolemember @loginame = @DomainAdmin, @rolename = N'sysadmin'
print @DomainAdmin + ' Has been Added as sysadmin'
GO</code></pre>
<p>Incidentally this was one of my early attempts at writing SQL scripts without googling around! &#8211; not this also adds SYSTEM and NETWORK SERVICE (local builtin users) as sysadmins.</p>
<p><a href="https://www.wardnet.co.uk/sql-server-tip-of-the-week-domain-migration/">SQL Server Tip of the Week &#8211; Domain Migration</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">443</post-id>	</item>
		<item>
		<title>2016 Update</title>
		<link>https://www.wardnet.co.uk/2016-update/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Sun, 27 Nov 2016 17:53:16 +0000</pubDate>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[Epicor]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Enterprise Search]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[Remote Desktop Services]]></category>
		<guid isPermaLink="false">http://wardnet.co.uk/?p=377</guid>

					<description><![CDATA[<p>If you have seen my other (more personal) blog you will have come across the post I did recently regarding</p>
<p><a href="https://www.wardnet.co.uk/2016-update/">2016 Update</a></p>
]]></description>
										<content:encoded><![CDATA[<p>If you have seen my other (more personal) blog you will have come across the post I did recently regarding how 2016 has flown by and so many things have changed career wise. If you&#8217;ve not read that feel free to jump on over here:&nbsp;<a href="http://johnnyward.me.uk/newblog/a-year-of-two-halves/">http://johnnyward.me.uk/newblog/a-year-of-two-halves/</a></p>
<p>As this is my technology blog I though I&#8217;d share a quick update on skills and technologies that have advanced through this year, the most noticeable are:</p>
<ul>
<li><strong>SQL Skills</strong> &#8211; yes I know more than just installing now, I can troubleshoot performance issues and tweak setups to ensure a nice smooth running system.. Maintenance of SQL is also one of my most common tasks across many customers.</li>
<li><strong>ERP</strong> &#8211; a broad subject, but I will break down a little. Firstly I am more than capable of a &#8220;vanilla&#8221; install of Epicor ERP 10/10.1, I&#8217;m also capable of updating/upgrading those platforms. On top of that I can also talk tech with IT/ERP managers across all industries to help spec, and install/deploy the Epicor ERP platforms. This also includes a number of additional installs (such as web, Enterprise Search, education tools etc.) and enhancements, such as those for document management and CRM.</li>
<li><strong>Hyper-V</strong> &#8211; not something I&#8217;d had the opportunity to play with much before, however I am now capable of installation, deployment, management and maintenance of Hyper-V 2012+ platforms, and I have to say, what a great platform it is.</li>
<li><strong>VMware ESX</strong> &#8211; my knowledge in VMware has also jumped this year, having had the opportunity to manage 2x ESX 6 environments in recent months and upgrade a couple of 5s to 5.5 I am once again familiar with the VMWare suite and as always find it an exciting challenge.</li>
<li><strong>Remote Desktop Services</strong> &#8211; sure we all know a little Terminal Services from back in the day, but having now deployed around 5 of these 2012R2 beauties this year, i am exceptionally impressed. Easy to install and configure, and just as easy to troubleshoot and fix, provided you have the time and mental space in order to do so!</li>
</ul>
<p>Coming up in 2017&#8230;</p>
<p>So it seems there may be a few changes ahead, ones that will potentially make my career, and about time too!</p>
<p>The biggest 2017 challenges seem to be:</p>
<ul>
<li><strong>Cloud</strong> &#8211; funnily enough the UK hasn&#8217;t quite taken to it fully yet&#8230;</li>
<li><strong>Solutions</strong> &#8211; how can a product be further enhanced to meet a customer&#8217;s longer term goals&#8230;</li>
<li><strong>Tools &#8211; </strong>might need a course in C# and a few late nights</li>
</ul>
<p>Watch this space&#8230;</p>
<p><a href="https://www.wardnet.co.uk/2016-update/">2016 Update</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">377</post-id>	</item>
		<item>
		<title>Exchange 2010 SP2</title>
		<link>https://www.wardnet.co.uk/exchange-2010-sp2/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 08:30:27 +0000</pubDate>
				<category><![CDATA[email]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[SP1]]></category>
		<category><![CDATA[SP2]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<guid isPermaLink="false">http://wardnet.co.uk/?p=18</guid>

					<description><![CDATA[<p>Microsoft have just released Exchange 2010 SP2 &#8211; a little over a month since I built both the new email</p>
<p><a href="https://www.wardnet.co.uk/exchange-2010-sp2/">Exchange 2010 SP2</a></p>
]]></description>
										<content:encoded><![CDATA[<p>Microsoft have just released Exchange 2010 SP2 &#8211; a little over a month since I built both the new email servers on SP1 &#8211; how annoying is that! &#8211; anyway, after reading the new features list provided here: <a title="Exchange 2010 SP2 via The Register" href="http://www.theregister.co.uk/2011/12/05/redmond_exchange_2010_sp2/" target="_blank">http://www.theregister.co.uk/2011/12/05/redmond_exchange_2010_sp2/</a> I am not too fussed, and will not be planning an upgrade anytime soon, maybe 6-12 months time I think&#8230;</p>
<p><a href="https://www.wardnet.co.uk/exchange-2010-sp2/">Exchange 2010 SP2</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">18</post-id>	</item>
	</channel>
</rss>
