<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Linglom&#039;s blog &#187; Administration</title>
	<atom:link href="http://www.linglom.com/category/windows/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linglom.com</link>
	<description>Just another IT weblog</description>
	<lastBuildDate>Thu, 27 May 2010 09:56:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Silently Install Dot Net Framework 2.0 Using Batch File</title>
		<link>http://www.linglom.com/2009/05/19/how-to-silently-install-dot-net-framework-20-using-batch-file/</link>
		<comments>http://www.linglom.com/2009/05/19/how-to-silently-install-dot-net-framework-20-using-batch-file/#comments</comments>
		<pubDate>Tue, 19 May 2009 06:57:12 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[.NET Framework]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=743</guid>
		<description><![CDATA[Introduction When you develop an application using Microsoft Visual Studio, it always requires Microsoft .NET Framework to be installed on clients in order to run the application but the required version may be vary depends on applications. Even third-party software around the world today are sometimes require Microsoft .NET Framework so you should install .NET [...]


Related posts:<ol><li><a href='http://www.linglom.com/2008/04/16/how-to-silently-install-office-2003-service-pack-3-through-gpo/' rel='bookmark' title='Permanent Link: How to silently install Office 2003 Service Pack 3 through GPO'>How to silently install Office 2003 Service Pack 3 through GPO</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Introduction</h3>
<p>When you develop an application using Microsoft Visual Studio, it always requires Microsoft .NET Framework to be installed on clients in order to run the application but the required version may be vary depends on applications. Even third-party software around the world today are sometimes require Microsoft .NET Framework so you should install .NET Framework on clients at the first time you prepare them. But generally, there are computers which actively using by users and don&#8217;t have .NET Framework. Therefore, you should find a solution to install .NET Framework on clients without interrupt them. There are many solutions to solve the problem. In this post, I show how to silently install .NET Framework 2.0 SP1 on a local computer. The minimum recommend version is 2.0 Service Pack 1. Currently, the most updated version is 3.5 Service Pack 1. </p>
<p><span id="more-743"></span></p>
<p><!-- Start AdLogger Wrapping Code -->
<?php @include_once("/usr/local/psa/home/vhosts/linglom.com/httpdocs/adlogger/ad_check_include.php"); if ($show_ads == 'y') { ?>

<script type="text/javascript"><!--
google_ad_client = "pub-7765165459812980";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2007-02-17: SquareonBlog
google_ad_channel = "6055254908";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "ce6531";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<?php } ?>
<!-- End AdLogger Wrapping Code --></p>
<p>Silently installation means that the software is installed in background so it doesn&#8217;t require any user interaction while it&#8217;s installing. It is a useful method for deploy software to clients without interrupt users. </p>
<p>First of all, you have to download .NET 2.0 SP1 from Microsoft. Then, I&#8217;ll show the command use to install in silent mode. After that, I create a batch file to run the command to make the installation easier.</p>
<p><em><strong>Note: </strong></em>To install .NET Framework 2.0 SP1, it requires <a href="http://support.microsoft.com/kb/893803" target="_blank" rel="nofollow">Windows Installer 3.1</a> to be installed first.</p>
<h3>Step-by-step</h3>
<ol>
<li>Download Microsoft .NET Framework 2.0 Service Pack 1 from Microsoft.
<ul>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=79BC3B77-E02C-4AD3-AACF-A7633F706BA5&#038;displaylang=en" target="_blank" rel="nofollow">Microsoft .NET Framework 2.0 Service Pack 1 (x86)</a> &#8211; 23.6 MB</li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=029196ED-04EB-471E-8A99-3C61D19A4C5A&#038;displaylang=en" target="_blank" rel="nofollow">Microsoft .NET Framework 2.0 Service Pack 1 (x64)</a> &#8211; 46.9 MB</li>
</ul>
</li>
<li>On a client, open command prompt by <strong>Start</strong> -> <strong>Run</strong> -> type <strong>cmd</strong> -> press <strong>Enter</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_1.png" width="200" height="101" alt="Open Command Prompt" title="Open Command Prompt"  /></a></li>
<li>Use /q parameter to install .NET Framework 2.0 SP1 in silent mode. Type <strong>&#8220;C:\NetFx20SP1_x86.exe /q&#8221;</strong>.<br />
<em><strong>Note: </strong></em>The path to file of yours may not be the same as the example.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_2.png" width="200" height="101" alt="Install Dot Net Framework 2.0 Silently" title="Install Dot Net Framework 2.0 Silently"  /></a></li>
<li>You won&#8217;t notice any dialog or user input message. But you can check if there is any error on the installation in Application Event Log. This is the example of the successfully installation message.<br />
<strong>Product: Microsoft .NET Framework 2.0 Service Pack 1 &#8211; Update &#8216;.NET Framework CRT&#8217; installed successfully.</strong><br />
<em><strong>Note: </strong></em>There are also other messages in the event log about the installation. This is just one of them.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_3.png" width="200" height="225" alt="Application Event Log" title="Application Event Log"  /></a></li>
<li>You can also observe in <strong>Add or Remove Programs</strong> if .NET Framework has been installed or not. Click <strong>Start</strong> -> <strong>Settings</strong> -> <strong>Control Panel</strong> -> <strong>Add or Remove Programs</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_4.png" width="200" height="145" alt="Add or Remove Programs" title="Add or Remove Programs"  /></a></li>
<li>Next, to make the installation more practical. I&#8217;ll move the installation file to a shared folder on <strong>\\192.168.125.12\MISC</strong> so you don&#8217;t need to copy the installation file to a target computer every time. Then, I create a batch file to execute the installation in silent mode so you don&#8217;t have to type the command every time.<br />
The batch file will look as similar as below:<br />
<strong>\\192.168.125.12\MISC\NetFx20SP1_x86.exe /q</strong><br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_5.png" width="200" height="124" alt="A Batch File" title="A Batch File"  /></a></li>
<li>Now I&#8217;ve tried to install the software by execute the batch file with a normal user credential. I have observed an error message below.<br />
<strong>Setup discover the following problem:<br />
You must have administrative privileges to run Microsoft.NET Framework 2.0 SP1 Setup. Please contact your system administrator.</strong><br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_6.png" width="200" height="106" alt="You must have administrative privileges to run Microsoft.NET Framework 2.0 SP1 Setup" title="You must have administrative privileges to run Microsoft.NET Framework 2.0 SP1 Setup"  /></a></li>
<li>The error message stated clearly that the current user doesn&#8217;t has privilege to install a software. To solve the problem, I use <strong>&#8220;runas&#8221;</strong> command to execute the installation as a domain administrator (<strong>virtual\administrator</strong>). Modify the batch file to be as below.<br />
<strong>runas /user:virtual\administrator &#8220;\\192.168.125.12\MISC\NetFx20SP1_x86.exe /q&#8221;</strong><br />
<em><strong>Note:</strong></em> You can view the command reference by follow the link at the bottom.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_7.png" width="200" height="119" alt="Runas Command on Batch File" title="Runas Command on Batch File"  /></a></li>
<li>Now try to run the batch file with a normal user credential again. It&#8217;ll ask for domain administrator&#8217;s password (the account which I&#8217;ve specified in the batch file). Type the password and press Enter.<br />
<em><strong>Note:</strong></em> The password won&#8217;t show on the screen.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_8.png" width="200" height="101" alt="Type Password for Runas Command" title="Type Password for Runas Command"  /></a></li>
<li>After a few minutes, observe the Application Event Log. You&#8217;ll see the message similar as the figure below.<br />
<strong>Product: Microsoft .NET Framework 2.0 Service Pack 1 &#8212; Installation completed successfully.</strong><br />
<em><strong>Note:</strong></em> In user column, the user is <strong>virtual\administrator</strong> which isn&#8217;t the current user logon but it&#8217;s the user that I&#8217;ve specified in the batch file.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Install-DotNet2-Silently/_9.png" width="200" height="225" alt="Application Event Log" title="Application Event Log"  /></a></li>
</ol>
<h3>Reference</h3>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/bb490994.aspx" target="_blank" rel="nofollow">Command-line reference &#8211; Runas</a></li>
</ul>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2008/04/16/how-to-silently-install-office-2003-service-pack-3-through-gpo/' rel='bookmark' title='Permanent Link: How to silently install Office 2003 Service Pack 3 through GPO'>How to silently install Office 2003 Service Pack 3 through GPO</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/05/19/how-to-silently-install-dot-net-framework-20-using-batch-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automate Backup Database on SQL Server, Part II: Create Scheduled Task</title>
		<link>http://www.linglom.com/2009/02/02/automate-backup-database-on-sql-server-part-ii-create-scheduled-task/</link>
		<comments>http://www.linglom.com/2009/02/02/automate-backup-database-on-sql-server-part-ii-create-scheduled-task/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 02:19:41 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Backup]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=599</guid>
		<description><![CDATA[Create a Scheduled Task From the previous part, I have created a VB Script that perform backup database task on SQL Server. Next, create a task schedule to execute the script on the specific time as I want. I want the script to be executed every day at 1:00 AM. The article is divided into [...]


Related posts:<ol><li><a href='http://www.linglom.com/2009/01/29/automate-backup-database-on-sql-server-part-i-create-vb-script/' rel='bookmark' title='Permanent Link: Automate Backup Database on SQL Server, Part I: Create VB Script'>Automate Backup Database on SQL Server, Part I: Create VB Script</a></li>
<li><a href='http://www.linglom.com/2009/07/08/solved-system-data-sqlclient-sqlerror-the-backup-set-holds-a-backup-of-a-database-other-than-the-existing-dbname-database/' rel='bookmark' title='Permanent Link: [Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database'>[Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Create a Scheduled Task</h3>
<p>From the previous part, I have created a VB Script that perform backup database task on SQL Server. Next, create a task schedule to execute the script on the specific time as I want. I want the script to be executed every day at 1:00 AM.</p>
<p><span id="more-599"></span></p>
<p><!--adsense#Square--></p>
<p>The article is divided into 2 parts:</p>
<ol>
<li><strong><a href="http://www.linglom.com/2009/01/29/automate-backup-database-on-sql-server-part-i-create-vb-script/">Part I</a></strong>: Create VB Script<br />
In this part, I&#8217;ll create create a VB Script for backup database.</li>
<li><strong>Part II</strong>: Create Scheduled Task<br />
This is the part which you&#8217;re reading show how to create a task schedule to execute the VB Script on scheduled time.</li>
</ol>
<h3>Step-by-step</h3>
<ol>
<li>Open Scheduled Task. <strong>Start</strong> -> <strong>Programs</strong> -> <strong>Accessories</strong> -> <strong>System Tools</strong> -> <strong>Scheduled Task</strong>.</li>
<li>Double-click on <strong>Add Scheduled Task</strong> to create a new task schedule.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_1.png" width="250" height="145" alt="Add Scheduled Task" title="Add Scheduled Task"  /></a></li>
<li>On Scheduled Task Wizard, click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_2.png" width="250" height="180" alt="Scheduled Task Wizard" title="Scheduled Task Wizard"  /></a></li>
<li>On Select Program to Run, click <strong>Browse</strong> and select the VB script file.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_3.png" width="250" height="180" alt="Browse to VB Script" title="Browse to VB Script"  /></a></li>
<li>Define name of the task and select when to perform the task. In this example, I want to backup daily. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_4.png" width="250" height="180" alt="Select Daily" title="Select Daily"  /></a></li>
<li>Select time to run this task. I set to <strong>1:00 AM every day</strong>. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_5.png" width="250" height="180" alt="Set Time" title="Set Time"  /></a></li>
<li>Enter the username and password. The task will be run by this user account. If you create a VB Script that using Windows Authentication mode, you have to enter the account that has backup privilege on the SQL Server.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_6.png" width="250" height="180" alt="User Account" title="User Account"  /></a></li>
<li>Click <strong>Finish</strong> to complete creating a task schedule.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_7.png" width="250" height="180" alt="Finish Create Task Schedule" title="Finish Create Task Schedule"  /></a></li>
<li>The task schedule has been created. Now when the time is 1:00 AM, the task will be run as the user account that you&#8217;ve spcified in the task schedule.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part2/_8.png" width="250" height="145" alt="Task Schedule" title="Task Schedule"  /></a></li>
</ol>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2009/01/29/automate-backup-database-on-sql-server-part-i-create-vb-script/' rel='bookmark' title='Permanent Link: Automate Backup Database on SQL Server, Part I: Create VB Script'>Automate Backup Database on SQL Server, Part I: Create VB Script</a></li>
<li><a href='http://www.linglom.com/2009/07/08/solved-system-data-sqlclient-sqlerror-the-backup-set-holds-a-backup-of-a-database-other-than-the-existing-dbname-database/' rel='bookmark' title='Permanent Link: [Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database'>[Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/02/02/automate-backup-database-on-sql-server-part-ii-create-scheduled-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automate Backup Database on SQL Server, Part I: Create VB Script</title>
		<link>http://www.linglom.com/2009/01/29/automate-backup-database-on-sql-server-part-i-create-vb-script/</link>
		<comments>http://www.linglom.com/2009/01/29/automate-backup-database-on-sql-server-part-i-create-vb-script/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 02:30:56 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Backup]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=597</guid>
		<description><![CDATA[Introduction Last year, I wrote an article about backup and restore database on SQL Server with Microsoft SQL Server Management Studio. That article (How to backup and restore database on Microsoft SQL Server 2005) was simple and plain. But it will be inconvenience if you have to backup databases frequently. So I decide to write [...]


Related posts:<ol><li><a href='http://www.linglom.com/2009/02/02/automate-backup-database-on-sql-server-part-ii-create-scheduled-task/' rel='bookmark' title='Permanent Link: Automate Backup Database on SQL Server, Part II: Create Scheduled Task'>Automate Backup Database on SQL Server, Part II: Create Scheduled Task</a></li>
<li><a href='http://www.linglom.com/2009/07/08/solved-system-data-sqlclient-sqlerror-the-backup-set-holds-a-backup-of-a-database-other-than-the-existing-dbname-database/' rel='bookmark' title='Permanent Link: [Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database'>[Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><a name="top"></a></p>
<h3>Introduction</h3>
<p>Last year, I wrote an article about backup and restore database on SQL Server with Microsoft SQL Server Management Studio. That article (<a href="http://www.linglom.com/2008/01/12/how-to-backup-and-restore-database-on-microsoft-sql-server-2005/">How to backup and restore database on Microsoft SQL Server 2005</a>) was simple and plain. But it will be inconvenience if you have to backup databases frequently. So I decide to write another article. This article, I show you how to backup databases automatically on scheduled time. Therefore, you don&#8217;t have to waste time to manually backup databases on SQL Server anymore. </p>
<p><span id="more-597"></span></p>
<p><!--adsense#Square--></p>
<p>Let&#8217;s me explain what I&#8217;m going to do to automate the task that I&#8217;ve mentioned above. First, I&#8217;ll create a <strong>VB Script</strong> file that perform backup database on SQL Server. Then, I create a <strong>Scheduled Task</strong> to execute the script daily. That&#8217;s it, the script will be executed according to the scheduled time without any user interaction.</p>
<p>The article is divided into 2 parts:</p>
<ol>
<li><strong>Part I</strong>: Create VB Script<br />
This is the part which you&#8217;re reading show how to create a VB Script for backup database.</li>
<li><strong><a href="http://www.linglom.com/2009/02/02/automate-backup-database-on-sql-server-part-ii-create-scheduled-task/">Part II</a></strong>: Create Scheduled Task<br />
In this part, I&#8217;ll create a task schedule to execute the VB Script on scheduled time.</li>
</ol>
<h3>Create a VB Script</h3>
<ol>
<li>In the example below, I&#8217;m going to create a VB Script that backup a database <strong>Northwind</strong> on SQL Server 2005 (<strong>INSTANCE01</strong>). Then, I&#8217;ll create a Scheduled Task to execute the script at <strong>1:00 AM daily</strong>. Sounds easy, isn&#8217;t it? Let&#8217;s see it in action.</li>
<li>On SQL Server 2005 server, open Notepad and type the following code:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
</pre></td><td class="code"><pre class="vbscript" style="font-family:monospace;">On Error Resume Next 
&nbsp;
strComputer = &quot;.&quot;
&nbsp;
'Set objWMIService = GetObject(&quot;winmgmts:&quot; _
'    &amp; &quot;{impersonationLevel=impersonate}!\\&quot; &amp; strComputer &amp; &quot;\root\cimv2&quot;)
&nbsp;
Dim sDBUser
Dim sDBPwd
Dim sDBServer
Dim sDBName
&nbsp;
sDBUser = &quot;sa&quot;
sDBPwd = &quot;password&quot;
sDBServer = &quot;.\INSTANCE01&quot;
sDBName = &quot;Northwind&quot;
backupPath = &quot;C:\Test\&quot;
&nbsp;
Set oSQLServer = CreateObject(&quot;SQLDMO.SQLServer&quot;)
Set oBackup = CreateObject(&quot;SQLDMO.Backup&quot;)
&nbsp;
oSQLServer.LoginTimeout = 30
oSQLServer.LoginSecure = True
'oSQLServer.Connect sDBServer
oSQLServer.Connect sDBServer, sDBUser, sDBPwd
&nbsp;
oBackUp.Initialize = &quot;TRUE&quot; ' Means overwrite existing .bak file. 
oBackup.Database = sDBName
oBackup.Action = SQLDMOBackup_Database
oBackup.Files = backupPath &amp; sDBName &amp; &quot;.bak&quot;
oBackup.SQLBackup oSQLServer
&nbsp;
oSQLServer.Close()</pre></td></tr></table></div>

<p><em><strong>Code Explanation:</strong></em></p>
<ul>
<li>Line 3: Specify server name. <strong>&#8220;.&#8221;</strong> means the local computer.</li>
<li>Line 5-6 and 24: Connect to SQL Server with Windows Authentication mode (Using current user credential). If you don&#8217;t want to specify username and password in the script, uncomment these line and comment the line 25 instead.</li>
<li>Line 8-11: Variables Declaration</li>
<li>Line 13-17: Assign values to variables.
<ul>
<li>Line 13: Username for connect to SQL Server</li>
<li>Line 14: Password of the username</li>
<li>Line 15: The SQL Server. For SQL Server Express Edition, the value should be <strong>&#8220;.\SQLEXPRESS&#8221;</strong>.</li>
<li>Line 16: The Database name. In this example, it is <strong>Northwind</strong>. </li>
<li>Line 17: Define location where you want to keep the backup file.</li>
</ul>
</li>
<li>Line 19-20: Create Objects to perform backup.</li>
<li>Line 22-23: SQL Connection attributes.</li>
<li>Line 24: Connect to SQL Server with Windows Authentication Mode (Doesn&#8217;t need username and password). See <em><strong>Line 5-6 and 24</strong></em> for more detail.</li>
<li>Line 25: Connect to SQL Server with SQL Authentication Mode (Specify username and password). The code above is set to connect by this method.</li>
<li>Line 27: Set to <strong>True</strong> to overwrite the existing backup file.</li>
<li>Line 28-29: Backup attributes,</li>
<li>Line 30: Set location of the backup file.</li>
<li>Line 31: Perform backup operation.</li>
<li>Line 33: Close the connection to SQL Server.</li>
</ul>
</li>
<li>Customize the code as you desired. You should change the configurations on line 13-17 to match your environment. Then, save the file to .vbs format. In this example, I save to <strong>Northwind.vbs</strong>.</li>
<li>Next, test the script by double-click the script to execute it. You should see the <strong>Northwind.bak</strong> file in the location where you have specified in the script.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part1/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part1/_1.png" width="250" height="93" alt="Backup Northwind" title="Backup Northwind"  /></a></li>
<li>If you didn&#8217;t see the Northwind.bak, check the Application event log to see if there is any error. The figure below is the success backup message.<br />
<a href="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part1/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/SQLServer/Automate-Backup/Part1/_2.png" width="250" height="195" alt="Backup Message Log" title="Backup Message Log"  /></a></li>
<li>For create a schedule task, I&#8217;ll write it soon.</li>
</ol>
<p><a href="#top">Back to top</a></p>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2009/02/02/automate-backup-database-on-sql-server-part-ii-create-scheduled-task/' rel='bookmark' title='Permanent Link: Automate Backup Database on SQL Server, Part II: Create Scheduled Task'>Automate Backup Database on SQL Server, Part II: Create Scheduled Task</a></li>
<li><a href='http://www.linglom.com/2009/07/08/solved-system-data-sqlclient-sqlerror-the-backup-set-holds-a-backup-of-a-database-other-than-the-existing-dbname-database/' rel='bookmark' title='Permanent Link: [Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database'>[Solved] System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;dbName&#8217; database</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/01/29/automate-backup-database-on-sql-server-part-i-create-vb-script/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</title>
		<link>http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/</link>
		<comments>http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 15:13:23 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Norton Ghost]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=456</guid>
		<description><![CDATA[Finalize Cloned Disk After I have cloned a disk from the sample disk. Next, I&#8217;m going to reboot the cloned disk on another PC. Then, Sysprep will regenerate the computer&#8217;s security ID (SIDs) and initialize Mini-setup to prepare the Operating System which is the topic I&#8217;ll cover in this post. Note: Some steps in this [...]


Related posts:<ol><li><a href='http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</a></li>
<li><a href='http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</a></li>
<li><a href='http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Finalize Cloned Disk</h3>
<p>After I have cloned a disk from the sample disk. Next, I&#8217;m going to reboot the cloned disk on another PC. Then, Sysprep will regenerate the computer&#8217;s security ID (SIDs) and initialize Mini-setup to prepare the Operating System which is the topic I&#8217;ll cover in this post.</p>
<p><span id="more-456"></span></p>
<p><em><strong>Note:</strong></em> Some steps in this post may not be the same with yours. It depends on the Answer file. If you have configure it in the Answer file, it won&#8217;t ask again at here. But if the configuration in the Answer file is error, it&#8217;ll ask you again. For instance, if you type wrong product key, it will show the error and let you enter again at this step.</p>
<p><!--adsense#Square--></p>
<p>You can see the index of this series at <a href="http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/">Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></p>
<h3>Step-by-step</h3>
<ol>
<li>When you boot the cloned disk first time, you&#8217;ll see the screen like the figure below.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_1.png" width="250" height="201" alt="Windows XP Setup" title="Windows XP Setup"  /></a></li>
<li>On Windows XP Professional Setup, click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_2.png" width="250" height="195" alt="Windows XP Professional Setup" title="Windows XP Professional Setup"  /></a></li>
<li>On License Agreement, select <strong>&#8220;I acccept this agreement&#8221;</strong>. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_3.png" width="250" height="195" alt="License Agreement" title="License Agreement"  /></a></li>
<li>On Regional and Language Options, configure keyboard language and standards language. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_4.png" width="250" height="195" alt="Regional and Language Options" title="Regional and Language Options"  /></a></li>
<li>On Product Key, enter the an unique product key of Microsoft Windows XP. If you have single product key which can be used in many computers, you can configure the product key in the answer file and you don&#8217;t have to enter on each computer anymore. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_5.png" width="250" height="195" alt="Enter Product Key" title="Enter Product Key"  /></a></li>
<li>On Computer Name and Administrator Password, enter the Computer Name and specify the administrator&#8217;s password. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_6.png" width="250" height="195" alt="Enter Computer Name and Administrator Password" title="Enter Computer Name and Administrator Password"  /></a></li>
<li>On Performing Final Tasks, waiting Sysprep to process.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_7.png" width="250" height="195" alt="Performing Final Tasks" title="Performing Final Tasks"  /></a></li>
<li>That&#8217;s it. The computer is finished cloning and ready to use in production.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part4/_8.png" width="250" height="191" alt="Finished Clone Windows XP" title="Finished Clone Windows XP"  /></a></li>
</ol>
<h3>Summary</h3>
<p>This series may not be useful only in corporate. But it can be apply in home use, too. For instance, you can ghost your Windows operating system to an image file and store it on NAS (Network Attached Storage) so that next time you don&#8217;t have to re-install the operating system again if it fails. You can restore from the image file that you&#8217;ve stored in the NAS.<br />
Remember, you don&#8217;t have to regenerate SIDs if the PC is stand-alone.</p>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</a></li>
<li><a href='http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</a></li>
<li><a href='http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</title>
		<link>http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/</link>
		<comments>http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 15:12:25 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Norton Ghost]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=454</guid>
		<description><![CDATA[Duplicate Disk with Norton Ghost In this post, I&#8217;ll show you how to clone a disk to disk using Norton Ghost. From last post, I have run Sysprep tool to prepare the disk for cloning. This is just an example so I&#8217;ve attached another disk to this computer and I&#8217;m going to clone disk to [...]


Related posts:<ol><li><a href='http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</a></li>
<li><a href='http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</a></li>
<li><a href='http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Duplicate Disk with Norton Ghost</h3>
<p>In this post, I&#8217;ll show you how to clone a disk to disk using Norton Ghost. From last post, I have run Sysprep tool to prepare the disk for cloning. This is just an example so I&#8217;ve attached another disk to this computer and I&#8217;m going to clone disk to disk. Then, I&#8217;ll get the cloned disk to attach to another PC and run Mini-setup which will be show in the next post.</p>
<p><span id="more-454"></span></p>
<p><!--adsense#Square--></p>
<p>If you&#8217;re going to apply this tutorial in a corporate, you should clone the sample computer&#8217;s disk to an image file and store it on a file server (or any place on the network). When you want a new computer, you simple restore image file from the file server through network without touching any hardware device. </p>
<p>You can see the index of this series at <a href="http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/">Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></p>
<h3>Requirement</h3>
<ul>
<li>Norton Ghost software</li>
</ul>
<h3>Step-by-step</h3>
<ol>
<li>Booting the PC in DOS and run Norton Ghost. Click <strong>OK</strong><br />
<em><strong>Note:</strong></em> You need Norton Ghost since it is a licensed software, I can&#8217;t distribute it. If you already have one, you can create an emergency diskette to boot into DOS mode.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/_1.png" width="250" height="188" alt="Norton Ghost" title="Norton Ghost"  /></a></li>
<li>Perform Disk to Disk operation. Select <strong>Local</strong> -> <strong>Disk</strong> -> <strong>To Disk</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/_2.png" width="250" height="188" alt="Perform Disk to Disk Operation" title="Perform Disk to Disk Operation"  /></a></li>
<li>Select Source Drive. Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/_3.png" width="250" height="188" alt="Select Source Drive" title="Select Source Drive"  /></a></li>
<li>Select <strong>Destination</strong> Drive. Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/_4.png" width="250" height="188" alt="Select Destination Drive" title="Select Destination Drive"  /></a></li>
<li>On Destination Drive Details, click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/_5.png" width="250" height="188" alt="Destination Drive Details" title="Destination Drive Details"  /></a></li>
<li>The message notifies you that data on the destination drive will be overwritten. Click <strong>Yes</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/_6.png" width="250" height="187" alt="Destination will be overwritten" title="Destination will be overwritten"  /></a></li>
<li>The clone is finished. Next, I&#8217;ll shutdown the PC and detach the cloned disk to attach to another PC and run Mini-setup which I&#8217;ll show in the next post.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part3/_7.png" width="250" height="188" alt="Clone Complete" title="Clone Complete"  /></a></li>
</ol>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</a></li>
<li><a href='http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</a></li>
<li><a href='http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</title>
		<link>http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/</link>
		<comments>http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 12:47:32 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Norton Ghost]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=452</guid>
		<description><![CDATA[Prepare Source for Disk Duplication In this post, I&#8217;ll show you how to create an Answer file for using when setup Windows after a computer is cloned. And run Sysprep tool to prepare a computer to be a sample computer (source disk) for cloning. The Answer file should contains only general configuration not unique value [...]


Related posts:<ol><li><a href='http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</a></li>
<li><a href='http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</a></li>
<li><a href='http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Prepare Source for Disk Duplication</h3>
<p>In this post, I&#8217;ll show you how to create an Answer file for using when setup Windows after a computer is cloned. And run Sysprep tool to prepare a computer to be a sample computer (source disk) for cloning.</p>
<p><span id="more-452"></span></p>
<p><!--adsense#Square--></p>
<p>The Answer file should contains only general configuration not unique value on each computer. For instance, if you&#8217;re going to deploy the image to all computers in the same time zone, it is good to configure time zone in the answer file so that you don&#8217;t have to set time zone on each computer after cloned them. But if you&#8217;re going to deploy the image in different time zone, you should not configure time zone in the answer file.</p>
<p>You can see the index of this series at <a href="http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/">Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></p>
<h3>Step-by-step</h3>
<ol>
<li>Install Windows XP, update patches and setup the basic applications on the sample computer.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_1.png" width="250" height="201" alt="Prepare Sample Computer" title="Prepare Sample Computer"  /></a></li>
<li>Extract Sysprep tool. Insert the Windows XP CD. Navigate to &#8220;CD-Rom DriveSUPPORTTOOLS&#8221; and extract <strong>deploy.cab</strong> to C:Sysprep. If you don&#8217;t have Windows XP CD, you can download the Sysprep tool from Microsoft.<br />
<em><strong>Note:</strong></em> You have to use the Sysprep tool version according to Windows version. For example, you <strong>should not</strong> use Sysprep for Windows XP on Windows Server 2003.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_2.png" width="250" height="200" alt="Extract Sysprep" title="Extract Sysprep"  /></a></li>
<li>Run Setup Manager to create an Answer file. Double-click on <strong>setupmgr.exe</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_3.png" width="250" height="201" alt="Run Setup Manager" title="Run Setup Manager"  /></a></li>
<li>On Welcome to Setup Manager,click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_4.png" width="250" height="207" alt="Welcome to Setup Manager" title="Welcome to Setup Manager"  /></a></li>
<li>On New or Existing Answer File, select <strong>Create new</strong>. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_5.png" width="250" height="208" alt="New Answer File" title="New Answer File"  /></a></li>
<li>On Type of Setup, select <strong>Sysprep setup</strong>. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_6.png" width="250" height="208" alt="Sysprep setup" title="Sysprep setup"  /></a></li>
<li>On Product, select <strong>Windows XP Professional</strong>. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_7.png" width="250" height="207" alt="Select Windows XP Professional" title="Select Windows XP Professional"  /></a></li>
<li>On License Agreement, select <strong>No, do not fully automate the installation</strong>. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_8.png" width="250" height="208" alt="License Agreement" title="License Agreement"  /></a></li>
<li>Now you can configure the general configuration in your environment. I&#8217;ll show sample configuration.<br />
On Name and Organization, enter the Name and the Organization.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_9.png" width="250" height="153" alt="Name and the Organization" title="Name and the Organization"  /></a></li>
<li>On Time Zone, select the time zone.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_10.png" width="250" height="153" alt="Select Time Zone" title="Select Time Zone"  /></a></li>
<li>On Product Key, enter the Windows product key if you have Windows corporate key (one key can be installed on many computers). If you have an unique key on each computer, leave this empty.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/11.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_11.png" width="250" height="153" alt="Enter Product Key" title="Enter Product Key"  /></a></li>
<li>On Computer Name, select <strong>Automatically generate computer name</strong> so that each computer after cloned and run sysprep, it&#8217;ll has unique computer name (Auto-generated name).<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/12.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_12.png" width="250" height="153" alt="Set Computer Name" title="Set Computer Name"  /></a></li>
<li>On Administrator Password, leave as default.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/13.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_13.png" width="250" height="153" alt="Administrator Password" title="Administrator Password"  /></a></li>
<li>On Workgroup or Domain, leave as default.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/14.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_14.png" width="250" height="153" alt="Select Workgroup or Domain" title="Select Workgroup or Domain"  /></a></li>
<li>On Identification String, give some name to identify this sysprep image. It&#8217;ll keep this information in the registry so you&#8217;ll know that this computer was cloned from which Sysprep image. Click <strong>Finish</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/15.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_15.png" width="250" height="153" alt="Set Identification String" title="Set Identification String"  /></a></li>
<li>Save the .inf file. This is the Answer file that you&#8217;ve configured. Save it in the same folder and click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/16.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_16.png" width="250" height="133" alt="Save Answer File" title="Save Answer File"  /></a></li>
<li>After the Answer File has been saved, click <strong>Cancel</strong> to exit Setup Manager<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/17.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_17.png" width="250" height="153" alt="Exit Setup Manager" title="Exit Setup Manager"  /></a></li>
<li>You noticed the Sysprep&#8217;s Answer file has been created in Windows Explorer.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/18.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_18.png" width="250" height="201" alt="Sysprep's Answer File" title="Sysprep's Answer File"  /></a></li>
<li>Next, let&#8217;s prepare this computer as a sample computer for cloning by run <strong>Sysprep.exe</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/19.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_19.png" width="250" height="201" alt="Run Sysprep Preparation Tool 2.0" title="Run Sysprep Preparation Tool 2.0"  /></a></li>
<li>It shows a warning message. Just click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/20.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_20.png" width="250" height="108" alt="Sysprep Preparation Tool 2.0" title="Sysprep Preparation Tool 2.0"  /></a></li>
<li>To make Sysprep use Answer file after cloned, check on <strong>Mini-Setup</strong>. Select Shutdown mode to <strong>Shutdown</strong>. Click <strong>Reseal</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/21.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_21.png" width="250" height="275" alt="Reseal" title="Reseal"  /></a></li>
<li>It shows a warning message again that after reboot the security identifiers (SIDs) will be regenerate. This is what we want after clone the disk. Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/22.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_22.png" width="250" height="86" alt="Warning regenerate SIDs" title="Warning regenerate SIDs"  /></a></li>
<li>Sysprep is working.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/23.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_23.png" width="250" height="276" alt="Sysprep is working" title="Sysprep is working"  /></a></li>
<li>The sample computer is shutting down. After the system shutdown, its disk can now be cloned to other disk now. Next post, I&#8217;ll show how to clone a disk to disk using Norton Ghost.<br />
<a href="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/24.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/Sysprep/Part2/_24.png" width="250" height="201" alt="Exit Setup Manager" title="Exit Setup Manager"  /></a></li>
</ol>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</a></li>
<li><a href='http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</a></li>
<li><a href='http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</title>
		<link>http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/</link>
		<comments>http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 02:00:17 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Norton Ghost]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=450</guid>
		<description><![CDATA[Introduction If you are a corporate administrator or an IT staff, you may have confront a situation that you have to install and setup Windows XP on many computers which all computers have identical hardware configurations. What will you do? Go to each computer, sit and manually install Windows XP? If only a few computers, [...]


Related posts:<ol><li><a href='http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</a></li>
<li><a href='http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</a></li>
<li><a href='http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Introduction</h3>
<p>If you are a corporate administrator or an IT staff, you may have confront a situation that you have to install and setup Windows XP on many computers which all computers have identical hardware configurations. What will you do? Go to each computer, sit and manually install Windows XP? If only a few computers, it&#8217;s OK to do that. It would takes few hours to complete that. But what if there are more than 10 computers or 100 computers waiting you to install and setup. That would be painful to do that way.<br />
<em><strong>Note:</strong></em> This topic isn&#8217;t a new technology but I think it may be useful to many people so I decide to post it.</p>
<p><span id="more-450"></span></p>
<p><!--adsense#Square--></p>
<p>The series is divided into 4 parts:</p>
<ol>
<li>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part I: Introduction</li>
<li><a href="http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/">Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</a></li>
<li><a href="http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/">Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</a></li>
<li><a href="http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/">Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</a></li>
</ol>
<p>The common way which is widely use to do this task is called <strong>Cloning</strong>, <strong>Imaging</strong> or <strong>Ghost</strong> (The name comes from Norton Ghost which is a popular Disk Imaging Software in the old days). Cloning, the name has already described what it does. It creates image file bit-by-bit from source disk and then restores the data on destination disk. So that the destination disk has the same data as the source disk. This can be done using Disk Imaging Softwares such as Norton Ghost, Acronis True Image, R-Drive Image, Paragon Drive Backup, etc. In this tutorial, I&#8217;ll use the popular one <strong>Norton Ghost</strong>.</p>
<p>But wait, don&#8217;t start cloning a disk now. There is one problem since Microsoft Windows 2000 has assigned a unique security ID (SID) to each computer when it was installed. If you cloned the Windows, they would have the same SID and may cause many problems when both computers are in the same domain. On stand-alone computer, this is not a problem. But you can&#8217;t join the cloned computer to same domain as the original computer.</p>
<p>So to prevent duplicated SID, Microsoft provides a tool &#8220;<strong>Sysprep</strong>&#8221; to handle this problem. Sysprep is a tool to deploy Windows XP on multiple computers. Sysprep prepares the sample computer for cloning. After cloned, Sysprep modifies the local computer security ID (SID) on the destination computer the first time the computer is restarted so that the SID is unique to each computer. The requirements for using Sysprep as part of disk duplication process are at the following:</p>
<ul>
<li>The master installation and the destination computers must have compatible hardware abstraction layers (HALs). For more information on HAL compatiblity use the following knowledgebase article: <a href="http://support.microsoft.com/?id=309283" rel="nofollow">Q309283</a> HAL options after Windows XP or Windows Server 2003 Setup.</li>
<li>The mass–storage controllers (IDE or SCSI) must be identical between the reference and destination computers.</li>
<li>Plug and Play devices such as modems, sound cards, network cards, video cards, and so on, do not have to be the same. However, any device drivers not included in Drivers.cab should be included in the master installation before you run Sysprep. Alternatively, make sure the uninstalled drivers are available on the destination computer at first run, so Plug and Play can detect and install the drivers. </li>
<li>Third–party software or disk–duplicating hardware devices are required. These products create binary images of a computer’s hard disk, and they either duplicate the image to another hard disk or store the image in a file on a separate disk. </li>
<li>The size of the destination computer’s hard disk must be at least the same size as the hard disk of the master installation. If the destination computer has a larger hard disk, the difference is not included in the primary partition. However, you can use the ExtendOemPartition entry in the Sysprep.inf file to extend the primary partition if it was formatted to use the NTFS file system. </li>
</ul>
<p>Reference: <a href="http://technet.microsoft.com/en-us/library/bb457067.aspx" rel="nofollow" target="_blank">How to Prepare Images for Disk Duplication with Sysprep </a></p>
<p>There are also some notes that you should know about Sysprep tool:</p>
<ul>
<li>Sysprep runs only if the computer is a member of a workgroup, not a domain. If the computer is joined to a domain, Sysprep removes it from the domain. </li>
<li>You cannot run Sysprep on a computer that has been configured as a Cluster Service server, a Certificate Services server, or a domain controller. You can run Sysprep on a standalone server. </li>
<li>If you run Sysprep on an NTFS file system partition that contains encrypted files or folders, the data in those folders become completely unreadable and unrecoverable. </li>
<li>You can only use this version of Sysprep on Windows XP installations. You cannot use this version of Sysprep on a Windows 2000 installation. </li>
</ul>
<p>For full information about Sysprep, see <a href="http://technet.microsoft.com/en-us/library/bb457073.aspx" rel="nofollow" target="_blank">How to Use Sysprep: An Introduction</a> and <a href="http://technet.microsoft.com/en-us/library/cc783215.aspx" rel="nofollow" target="_blank">What Is Sysprep?</a></p>
<p>In this series, I&#8217;ll show you how to duplicate Windows XP by disk to disk only. But in the production environment, you can apply to clone through network so that you don&#8217;t have to touch any hardware device. But this way requires that the network should be fast enough (at least should be fast Ethernet &#8211; 100 Mbps). Otherwise, the network may be congested and resulting in slow down network application and cloning will takes too much time.</p>
<h3>Summary</h3>
<p>Now you have understand things to clone Windows XP. Here are summarize steps you have to perform:</p>
<ol>
<li>Use Sysprep to prepare source disk for cloning.</li>
<li>Create Image file from a source disk and restore to destination disk. Or may be cloning by Disk-to-Disk.</li>
<li>Finalize the destination disk for production use. This will be automatically run by Sysprep tool.</li>
</ol>
<p>Enough for chit-chat? Let&#8217;s do it now. See the next post &#8211; <a href="http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/">part II: Prepare Source for Disk Duplication</a>.</p>
<p><em><strong>Note:</strong></em> Windows XP is an example I&#8217;m going to use in the tutorial. But you can clone other Windows Operating System besides XP by this way, too. </p>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2009/01/10/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iii-duplicate-disk-with-norton-ghost/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part III: Duplicate Disk with Norton Ghost</a></li>
<li><a href='http://www.linglom.com/2009/01/05/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-ii-prepare-source-for-disk-duplication/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part II: Prepare Source for Disk Duplication</a></li>
<li><a href='http://www.linglom.com/2009/01/15/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-iv-finalize-cloned-disk/' rel='bookmark' title='Permanent Link: Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk'>Clone Microsoft Windows XP using Sysprep and Norton Ghost, Part IV: Finalize Cloned Disk</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2008/12/22/clone-microsoft-windows-xp-using-sysprep-and-norton-ghost-part-i-introduction/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deploy Windows Media Player using Group Policy, Part II: Deploy MSI Package</title>
		<link>http://www.linglom.com/2008/12/10/deploy-windows-media-player-using-group-policy-part-ii-deploy-msi-package/</link>
		<comments>http://www.linglom.com/2008/12/10/deploy-windows-media-player-using-group-policy-part-ii-deploy-msi-package/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 17:47:35 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Media Player]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=403</guid>
		<description><![CDATA[Deploy MSI Package From the previous part, I have make an MSI package from Windows Media Player executable file. Now I can use the MSI package file deploy from Group Policy to computers in my domain. This post will show how to deploy the MSI package through Group Policy. This tutorial consists of 2 parts: [...]


Related posts:<ol><li><a href='http://www.linglom.com/2008/12/06/deploy-windows-media-player-using-group-policy-part-i-make-an-msi-installer/' rel='bookmark' title='Permanent Link: Deploy Windows Media Player using Group Policy, Part I: Make an MSI Installer'>Deploy Windows Media Player using Group Policy, Part I: Make an MSI Installer</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Deploy MSI Package</h3>
<p>From the previous part, I have make an MSI package from Windows Media Player executable file. Now I can use the MSI package file deploy from Group Policy to computers in my domain. This post will show how to deploy the MSI package through Group Policy.</p>
<p><span id="more-403"></span></p>
<p><!--adsense#Square--></p>
<p>This tutorial consists of 2 parts:</p>
<ol>
<li><a href="http://www.linglom.com/2008/12/06/deploy-windows-media-player-using-group-policy-part-i-make-an-msi-installer/">Deploy Windows Media Player using Group Policy, Part I: Make an MSI Installer</a></li>
<li>Deploy Windows Media Player using Group Policy, Part II: Deploy MSI Package</li>
</ol>
<h3>Step-by-step</h3>
<ol>
<li>On the Domain Controller server, open Active Directory Users and Computers.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_1.png" width="250" height="171" alt="Active Directory Users and Computers" title="Active Directory Users and Computers"  /></a></li>
<li>I&#8217;m going to create a new group policy in an Organization Unit. First, create a new Organization Unit (OU), name as <strong>&#8220;TestOU&#8221;</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_2.png" width="250" height="172" alt="Create an Organization Unit" title="Create an Organization Unit"  /></a></li>
<li>Open the TestOU Properties, select Group Policy tab. Click New and name the new group policy as <strong>&#8220;Deploy WP 10&#8243;</strong>. Click on the new Group Policy and select <strong>Edit</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_3.png" width="250" height="212" alt="Create a new Group Policy" title="Create a new Group Policy"  /></a></li>
<li>On Group Policy Object Editor, expand <strong>Computer Configuration</strong> -> <strong>Software Settings</strong> -> right-click on <strong>Software installations</strong> -> <strong>New</strong> -> <strong>Package</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_4.png" width="250" height="178" alt="New Software Installation Package" title="New Software Installation Package"  /></a></li>
<li>New Windows appears, you have to select to the MSI package that you have just created in the first part. But you need to place it on shared folder where other computers has access to it. Therefore, you must using UNC path, eg. <em>\\Servername\Share Name\Target file</em>. In this example, I place the MSI package in the UNC path as <strong>&#8220;\\BKKPDC010\PDC\mpsetupedp.msi&#8221;</strong>. Click <strong>Open</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_5.png" width="250" height="182" alt="Open MSI package (UNC Path)" title="Open MSI package (UNC Path)"  /></a></li>
<li>On Deploy Software, select <strong>Assigned</strong>. Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_6.png" width="250" height="168" alt="Deploy Method - Assigned" title="Deploy Method - Assigned"  /></a></li>
<li>Now you&#8217;ve finished create a software installation package on the group policy. Next, you need to move some computers to the group policy.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_7.png" width="250" height="160" alt="Software Installation Package Created" title="Software Installation Package Created"  /></a></li>
<li>Select sample target computer. Drag a computer to the <strong>&#8220;TestOU&#8221;</strong> Organization Unit so that the group policy that you&#8217;ve just created will applied to the computer. In this example, the client is <strong>&#8220;BKKTEST01&#8243;</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_8.png" width="250" height="171" alt="Select Target Computer" title="Select Target Computer"  /></a></li>
<li>Wait a few minutes for the group policy applied to all domain controllers (if you have more than one). Then, restart the target computer to take the effect of new group policy.<br />
<em><strong>Note:</strong></em> You can run <strong>&#8220;gpupdate.exe&#8221;</strong> on the client to refresh the policy from the domain without restart the computer.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_9.png" width="250" height="188" alt="Restart Client Machine" title="Restart Client Machine"  /></a></li>
<li>When the client is booting on Windows XP, it&#8217;ll load the group policy.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_10.png" width="250" height="211" alt="Applying the computer settings" title="Applying the computer settings"  /></a></li>
<li>You&#8217;ll see that the status is installing Windows Media Player.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/11.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_11.png" width="250" height="211" alt="Installing Windows Media Player" title="Installing Windows Media Player"  /></a></li>
<li>After the installation has finished, login on the client computer and open the Application event log by right-click on <strong>My Computer</strong> -> select <strong>Manage</strong> -> expand <strong>System Tools</strong> -> <strong>Event Viewer</strong> -> <strong>Application</strong>. Here, you can observe whether the installation is success or not. In this example, the installation was successful.<br />
<em><strong>Note:</strong></em> If you see the error log about installation, I suggest you search on the Internet with the error message you see. You may get the answer faster than leave the comment in this post.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/12.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_12.png" width="250" height="211" alt="Check the Installation's Status" title="Check the Installation's Status"  /></a></li>
<li>Let&#8217;s open new Windows Media Player, you&#8217;ll see it is version 10 now. Just keep click Next.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/13.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_13.png" width="250" height="211" alt="First Time to Run Windows Media Player 10" title="First Time to Run Windows Media Player 10"  /></a></li>
<li>Now Windows Media Player 10 is installed and ready to use.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartII/14.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartII/_14.png" width="250" height="211" alt="Windows Media Player 10" title="Windows Media Player 10"  /></a></li>
<li>After you&#8217;ve tested that the first client computer was installed successfully, you can move more computers to this Group Policy to install Windows Media Player 10.</li>
</ol>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2008/12/06/deploy-windows-media-player-using-group-policy-part-i-make-an-msi-installer/' rel='bookmark' title='Permanent Link: Deploy Windows Media Player using Group Policy, Part I: Make an MSI Installer'>Deploy Windows Media Player using Group Policy, Part I: Make an MSI Installer</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2008/12/10/deploy-windows-media-player-using-group-policy-part-ii-deploy-msi-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploy Windows Media Player using Group Policy, Part I: Make an MSI Installer</title>
		<link>http://www.linglom.com/2008/12/06/deploy-windows-media-player-using-group-policy-part-i-make-an-msi-installer/</link>
		<comments>http://www.linglom.com/2008/12/06/deploy-windows-media-player-using-group-policy-part-i-make-an-msi-installer/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 14:06:16 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Media Player]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=400</guid>
		<description><![CDATA[Introduction Microsoft Windows Media Player is a popular multimedia software that comes with Microsoft Operating System. It can play various media formats such as .avi, .cda, .mpg, .mid, .mp2, .mp3, .mp4, .wav, .wma, etc. You can see the supported file formats at Information about the Multimedia file types that Windows Media Player supports. But even [...]


Related posts:<ol><li><a href='http://www.linglom.com/2008/12/10/deploy-windows-media-player-using-group-policy-part-ii-deploy-msi-package/' rel='bookmark' title='Permanent Link: Deploy Windows Media Player using Group Policy, Part II: Deploy MSI Package'>Deploy Windows Media Player using Group Policy, Part II: Deploy MSI Package</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Introduction</h3>
<p>Microsoft Windows Media Player is a popular multimedia software that comes with Microsoft Operating System. It can play various media formats such as .avi, .cda, .mpg, .mid, .mp2, .mp3, .mp4, .wav, .wma, etc. You can see the supported file formats at <a href="http://support.microsoft.com/kb/316992/en-us" rel="nofollow" target="_blank">Information about the Multimedia file types that Windows Media Player supports</a>. But even you have the latest version of Windows Media Player, it sometimes may requires you to download additional codecs on the Internet. </p>
<p><span id="more-400"></span></p>
<p><!--adsense#Square--></p>
<p>By default, Windows XP comes with Windows Media Player 9. Sometimes, it has a problem when playing media files. But most cases always be solved by update the Windows Media Player to the higher version. If you regularly play media files on the computer, you would need to update Windows Media Player to latest version.</p>
<p>If you&#8217;re going to install only a single computer, it would be fine. You can download the latest Windows Media Player setup file (.EXE) and then run on the computer and you are done. But what if you have to update more than 10 computers (in a corporate for an example). That would takes time and inefficient way to install Windows Media Player on each computer manually. To solve the problem, you can deploy Windows Media Player using group policy or SMS. But these ways require that all computers must be in the domain not workgroup environment. In this article, I&#8217;ll focusing on deploy the Windows Media Player using Group Policy only. </p>
<p>To deploy Microsoft Windows Media Player through Group Policy, you need to make the Windows Media Player setup file (.EXE) to Microsoft Installer (.MSI) package file. The advantage of .MSI package is that you can deploy it through Group Policy or SMS and also it can do silently installation which means that there is no user interface interaction show up when installing the software. </p>
<p>Microsoft already provided a tool to create Microsoft Installer (.MSI) package for Windows Media Player. It&#8217;s called <strong>Enterprise Deployment Pack (EDP) for Windows Media Player</strong>. But currently (the time I wrote this article), EDP is support for make .MSI package of Windows Media Player 9 Series and Windows Media Player 10 only. Windows Media Player 11 isn&#8217;t support yet. So I&#8217;ll show how to deploy Microsoft Windows Media Player 10 using Group Policy. And in this part, let see how to make an .MSI package file of Windows Media Player.</p>
<p>This tutorial consists of 2 parts:</p>
<ol>
<li>Deploy Windows Media Player using Group Policy, Part I: Make an MSI Installer</li>
<li><a href="http://www.linglom.com/2008/12/10/deploy-windows-media-player-using-group-policy-part-ii-deploy-msi-package/">Deploy Windows Media Player using Group Policy, Part II: Deploy MSI Package</a></li>
</ol>
<h3>Step-by-step</h3>
<ol>
<li>Download Enterprise Deployment Pack (EDP) for Windows Media Player from <a href="http://www.microsoft.com/windows/windowsmedia/forpros/enterprise/deploypack.aspx" rel="nofollow">Microsoft</a>. </li>
<li>Double-click <strong>mpedp.exe</strong> to run Enterprise Deployment Pack (EDP) for Windows Media Player. Click <strong>Yes</strong> to continue.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_1.png" width="250" height="42" alt="Run Setup Enterprise Deployment Pack " title="Run Setup Enterprise Deployment Pack "  /></a></li>
<li>Click <strong>Yes</strong> to accept License Agreement.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_2.png" width="250" height="234" alt="Accept License Agreement" title="Accept License Agreement"  /></a></li>
<li>Select path to install Enterprise Deployment Pack (EDP) for Windows Media Player. I leave it to default location (<strong>C:\MPEDP</strong>). Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_3.png" width="250" height="95" alt="Select Path to Install Enterprise Deployment Pack (EDP)" title="Select Path to Install Enterprise Deployment Pack (EDP)"  /></a></li>
<li>The setup is complete. Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_4.png" width="250" height="41" alt="Installation finishes" title="Installation finishes"  /></a></li>
<li>Before run Enterprise Deployment Pack (EDP) for Windows Media Player, go download Windows Media Player 10 from Microsoft and rename it to <strong>MPSetup.exe</strong> and place it in <strong>C:\MPEDP\Redist</strong>. This is going to be the source file for making MSI package.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_5.png" width="250" height="212" alt="Download Windows Media Player 10" title="Download Windows Media Player 10"  /></a></li>
<li>Next, open Enterprise Deployment Pack (EDP) for Windows Media Player. Click Start -> Programs -> Windows Media -> Enterprise Deployment Pack. The Build Installation Package wizard starts up. Type <strong>Y</strong> to set Windows Media Player as a default player.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_6.png" width="250" height="126" alt="Run Enterprise Deployment Pack (EDP)" title="Run Enterprise Deployment Pack (EDP)"  /></a></li>
<li>Next, it asks you to include custom settings in the MSI package. I don&#8217;t want any complexity for now so type <strong>N</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_7.png" width="250" height="126" alt="Include Custom Settings in MSI Package" title="Include Custom Settings in MSI Package"  /></a></li>
<li>Now the wizard is making .MSI package. Wait a few minutes.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_8.png" width="250" height="142" alt="Making MSI Package" title="Making MSI Package"  /></a></li>
<li>When the wizard has finished, it tells that the MSI Package is in <strong>\Release</strong> folder.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_9.png" width="250" height="126" alt="Finish Make MSI Package" title="Finish Make MSI Package"  /></a></li>
<li>Open <strong>C:\MPEDP\Release</strong> folder, you&#8217;ll see the Windows Media Player 10 MSI Package. I&#8217;ll use this file to deploy it through Group Policy in the next part.<br />
<a href="http://www.linglom.com/images/Windows/Administration/EDP/PartI/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/EDP/PartI/_10.png" width="250" height="239" alt="The Windows Media Player - MSI Package" title="The Windows Media Player - MSI Package"  /></a></li>
</ol>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2008/12/10/deploy-windows-media-player-using-group-policy-part-ii-deploy-msi-package/' rel='bookmark' title='Permanent Link: Deploy Windows Media Player using Group Policy, Part II: Deploy MSI Package'>Deploy Windows Media Player using Group Policy, Part II: Deploy MSI Package</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2008/12/06/deploy-windows-media-player-using-group-policy-part-i-make-an-msi-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(2)</title>
		<link>http://www.linglom.com/2008/08/11/getting-started-with-microsoft-windows-server-update-services-part-vi-disconnected-network2/</link>
		<comments>http://www.linglom.com/2008/08/11/getting-started-with-microsoft-windows-server-update-services-part-vi-disconnected-network2/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 01:51:27 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WSUS 3.0]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=107</guid>
		<description><![CDATA[This post was continued from Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(1). From the previous, you have already exported the WSUS&#8217;s meta data and update files. On this post, I&#8217;ll show how to import files and metadata to the disconnected WSUS server (the imported server). The series are divided into [...]


Related posts:<ol><li><a href='http://www.linglom.com/2008/08/05/getting-started-with-microsoft-windows-server-update-services-part-vi-disconnected-network1/' rel='bookmark' title='Permanent Link: Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(1)'>Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(1)</a></li>
<li><a href='http://www.linglom.com/2008/06/03/getting-started-with-microsoft-windows-server-update-services-part-i-introduction/' rel='bookmark' title='Permanent Link: Getting started with Microsoft Windows Server Update Services, Part I: Introduction'>Getting started with Microsoft Windows Server Update Services, Part I: Introduction</a></li>
<li><a href='http://www.linglom.com/2008/06/28/getting-started-with-microsoft-windows-server-update-services-part-iv-configuration/' rel='bookmark' title='Permanent Link: Getting started with Microsoft Windows Server Update Services, Part IV: Configuration'>Getting started with Microsoft Windows Server Update Services, Part IV: Configuration</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>This post was continued from <a href="http://www.linglom.com/2008/08/05/getting-started-with-microsoft-windows-server-update-services-part-vi-disconnected-network1/">Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(1)</a>. From the previous, you have already exported the WSUS&#8217;s meta data and update files. On this post, I&#8217;ll show how to import files and metadata to the disconnected WSUS server (the imported server).</p>
<p><span id="more-107"></span></p>
<p><!--adsense#Square--></p>
<p>The series are divided into 6 parts:</p>
<ul>
<li><a href="http://www.linglom.com/2008/06/03/getting-started-with-microsoft-windows-server-update-services-part-i-introduction/">Getting started with Microsoft Windows Server Update Services, Part I: Introduction</a></li>
<li><a href="http://www.linglom.com/2008/06/13/getting-started-with-microsoft-windows-server-update-services-part-ii-requirement/">Getting started with Microsoft Windows Server Update Services, Part II: Requirement</a></li>
<li><a href="http://www.linglom.com/2008/06/23/getting-started-with-microsoft-windows-server-update-services-part-iii-installation/">Getting started with Microsoft Windows Server Update Services, Part III: Installation</a></li>
<li><a href="http://www.linglom.com/2008/06/28/getting-started-with-microsoft-windows-server-update-services-part-iv-configuration/">Getting started with Microsoft Windows Server Update Services, Part IV: Configuration</a>
</li>
<li><a href="http://www.linglom.com/2008/07/30/getting-started-with-microsoft-windows-server-update-services-part-v-configure-client/">Getting started with Microsoft Windows Server Update Services, Part V: Configure Client</a></li>
<li><a href="http://www.linglom.com/2008/08/05/getting-started-with-microsoft-windows-server-update-services-part-vi-disconnected-network1/">Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(1)</a></li>
<li>Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(2)</li>
</ul>
<h3>Step-by-step</h3>
<h4>Import files and metadata to the imported server</h4>
<ol>
<li>Copy files that you have exported from previous post to the disconnected WSUS server. In this example, I copied from the exported server by using 8GB. USB Drive to <strong>C:\WSUSFiles\</strong>.<br />
<em><strong>Note: </strong></em>If the files are too large to fit in USB Drive, you may consider using portable harddisk or tape disk.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_1.png" width="250" height="103" alt="The backup files" title="The backup files"  /></a></li>
<li>Open command-line and type <strong>&#8216;ntbackup&#8217;</strong> to run the Backup/Restore tool.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_2.png" width="250" height="109" alt="Run 'ntbackup'" title="Run 'ntbackup'"  /></a></li>
<li>On Backup or Restore Wizard, click next.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_3.png" width="250" height="190" alt="Backup or Restore Wizard" title="Backup or Restore Wizard"  /></a></li>
<li>On Backup or Restore, select <strong>&#8220;Restore files and settings&#8221;</strong>. Click next.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_4.png" width="250" height="190" alt="Select Restore files and settings" title="Select Restore files and settings"  /></a></li>
<li>On What to Restore, click <strong>Browse</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_5.png" width="250" height="190" alt="Select files to restore" title="Select files to restore"  /></a></li>
<li>Then browse to the <strong>WSUSContent.bkf</strong> file (the backup file) and click OK.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_6.png" width="250" height="190" alt="Browse to the backup file" title="Browse to the backup file"  /></a></li>
<li>Then, on right side, expand the list by clicking on the box until you can check the box. Click next.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_7.png" width="250" height="190" alt="Select what to restore" title="Select what to restore"  /></a></li>
<li>On Completing the Backup or Restore Wizard, click <strong>Advanced</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_8.png" width="250" height="190" alt="Select Advanced" title="Select Advanced"  /></a></li>
<li>On Where to Restore, if you have different path from the backup file (D:\WSUS\WSUSContent), you can change it here by change &#8220;Restore files to&#8221; to <strong>&#8220;Alternate location&#8221;</strong> and browse to new path. In this example, the disconnected WSUS server has WSUSContent in C:\WSUS\ so I&#8217;ll restore on C:\.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_9.png" width="250" height="189" alt="Change restore's path" title="Change restore's path"  /></a></li>
<li>On How to Restore, leave default settings. Click next.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_10.png" width="250" height="190" alt="How to Restore" title="How to Restore"  /></a></li>
<li>On Advanced Restore Options, leave default settings again. Click next.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/11.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_11.png" width="250" height="189" alt="Advanced Restore Options" title="Advanced Restore Options"  /></a></li>
<li>On Completing the Backup or Restore Wizard, click <strong>Finish</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/12.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_12.png" width="250" height="191" alt="Completing the Backup or Restore Wizard" title="Completing the Backup or Restore Wizard"  /></a></li>
<li>Waiting for the restoration process to finish.<br />
<em><strong>Note:</strong></em> The restore process may take time depends on update files.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/13.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_13.png" width="250" height="277" alt="Restoring the file" title="Restoring the file"  /></a></li>
<li>When restoration process finishes, click close.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/14.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_14.png" width="250" height="236" alt="Restoration finishes" title="Restoration finishes"  /></a></li>
<li>Try to view the WSUSContent folder, you should see lot of folders in WSUSContent. Now you have finished restore the update files on the disconnected WSUS server.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/15.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_15.png" width="250" height="207" alt="WSUSContent folder" title="WSUSContent folder"  /></a></li>
<li>Next, you need to import metadata file to the disconnected server. Open command prompt and navigate to <strong>&#8220;Program Files\Update Services\Tools&#8221;</strong>. Then, type<br />
<blockquote><p>wsusutil import C:\WSUSFiles\export.cab C:\WSUSFiles\import.log</p></blockquote>
<p>where &#8220;C:\WSUSFiles\export.cab&#8221; is the source file for importing to WSUS server and<br />
&#8220;C:\WSUSFiles\import.log&#8221; is the log file which will be created by the tool for logging the imported process.<br />
<em><strong>Note: </strong></em>The import metadata process may takes time depends on how large of the metadata.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/16.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_16.png" width="250" height="69" alt="Import metadata" title="Import metadata"  /></a></li>
<li>When the metadata file has been imported, open Microsoft Windows Server Update Services 3.0 SP1 -> click on Updates -> All Updates -> change Status to &#8220;Any&#8221; and click refresh. Now you&#8217;ll see the update list as you&#8217;ve just seen on the exported WSUS server. Then, you can distribute updates to any client as you want.<br />
<a href="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/17.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Administration/WSUS/Part6(2)/_17.png" width="250" height="181" alt="New Updates on disconnected WSUS Server" title="New Updates on disconnected WSUS Server"  /></a></li>
</ol>
<h3>Summary</h3>
<p>From all 6 parts of this tutorial, you should be able to manage WSUS server to distribute patches and updates to clients in the network. If you have a problem, you can discuss in the forum.</p>
</div>

<p>Related posts:<ol><li><a href='http://www.linglom.com/2008/08/05/getting-started-with-microsoft-windows-server-update-services-part-vi-disconnected-network1/' rel='bookmark' title='Permanent Link: Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(1)'>Getting started with Microsoft Windows Server Update Services, Part VI: Disconnected network(1)</a></li>
<li><a href='http://www.linglom.com/2008/06/03/getting-started-with-microsoft-windows-server-update-services-part-i-introduction/' rel='bookmark' title='Permanent Link: Getting started with Microsoft Windows Server Update Services, Part I: Introduction'>Getting started with Microsoft Windows Server Update Services, Part I: Introduction</a></li>
<li><a href='http://www.linglom.com/2008/06/28/getting-started-with-microsoft-windows-server-update-services-part-iv-configuration/' rel='bookmark' title='Permanent Link: Getting started with Microsoft Windows Server Update Services, Part IV: Configuration'>Getting started with Microsoft Windows Server Update Services, Part IV: Configuration</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2008/08/11/getting-started-with-microsoft-windows-server-update-services-part-vi-disconnected-network2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
