Friday, September 25, 2009

Migrate a domain controller from Windows 2003 to Windows 2008

Migrate a domain controller from Windows 2003 to Windows 2008

In this Will be doing a Migrating from a windows server 2003 sp2 standard to 2008 R2 64 bit Windows Server.

The Domian Name Sccmtest.com

Roles in the server : DNS,

1. 1st step open command prompt and run the following commands, make sure first to browse to the adprep directory inside the Windows 2008 DVD , in my case, the D drive is the DVD Drive letter, so to browse to the adprep directory (Eg: cd D:\sources\adprerp)

· adprep/ forestprep

· adprep/ domainprep

· adprep/ rodcprep (Optional, if you plan to add a Read Only Domain Controller Later)

clip_image002

Like in the above Image run the all 3 command.

2nd step create the Windows 2008 X64 Server (that will be the New DC)

clip_image004

3rd Add the new server to the domain And promote it as ADC ( when you’re doing the Dcprome install the DNS Role As well)

clip_image006

clip_image007

clip_image009

clip_image011

clip_image013

clip_image015

clip_image017

clip_image019

clip_image021

clip_image023

clip_image025

clip_image027

Moving the FSMO roles to the new Domain Controller.

Change the Operations Master

(Active Directory Domains and Trusts MMC rite click go to connect to domain controllers and select the new DC)

clip_image029

The click Operations Master and Change.

clip_image031

clip_image033

Change the Schema Master

Run the following command regsvr32 schmmgmt.dll.

clip_image035

Add the Schema Snap-in in your Management Console.

clip_image037

clip_image039

Change the RID Master, PDC Emulator and the Infrastructure Master.

Go to Active Directory Users and Computers

Click on change RID Master, PDC Emulator and the Infrastructure Master.

clip_image041

clip_image043

clip_image045

clip_image047

All the FSMO roles are transfered to the new Server 2008 Domain Controller. Now demote the Windows 2003 Domain Controller by running the DCPROMO command.

clip_image048

clip_image050

clip_image052

clip_image054

clip_image056

clip_image058

clip_image060

And Restart the Old Server

In-Place Upgrade from Windows Server 2003 Domain Controller to Windows Server 2008

Upgrading Steps

1. On you DC, insert the Windows Server 2008 DVD, and then open command prompt and run the following commands, make sure first to browse to the adprep directory inside the Windows 2008 DVD , in my case case, the D drive is the DVD Drive letter, so to browse to the adprep directory (Eg: cd D:\sources\adprerp)

· adprep/ forestprep

· adprep/ domainprep

· adprep/ rodcprep (Optional, if you plan to add a Read Only Domain Controller Later)

image001

image002

image003

image004

image005

image006

Insert the Cd and click install now.... or Run the Windows server 2008 Setup

image007

image008

image009

And couple of restarts it’s done, enjoy the rich features of Windows Server 2008 & R2

Thursday, September 17, 2009

How to Configure Windows Server 2008 for Site Systems

http://technet.microsoft.com/en-us/library/cc431377.aspx

To Install Internet Information Services (IIS) to support Configuration Manager 2007 SP1 site systems on Windows Server 2008 Computers This procedure describes how to install Internet Information Services (IIS) 7.0 Windows Server 2008 to support the following site system roles:

  • Management point.
  • Background Intelligent Transfer Service (BITS)-enabled distribution point.
  • Reporting point.
  • Software Update Point.
  • Server locator point.
  • Fallback status point.

To Install Internet Information Services (IIS) on Windows Server 2008 Computers

  1. On the Windows Server 2008 computer, navigate to Start / All Programs / Administrative Tools / Server Manager to start Server Manager. In Server Manager, select the Features node and click Add Features to start the Add Features Wizard.

  2. On the Select Features page of the Add Features Wizard:

    • Select BITS Server Extensions. When prompted, click Add Required Role Services to add the dependent components, including the Web Server (IIS) role.
    • Select Remote Differential Compression, and then click Next.
  3. On the Web Server (IIS) page of the Add Features Wizard, click Next.

  4. On the Select Role Services page of the Add Features Wizard:

    • Under Application Development, select ASP.NET and, when prompted, click Add Required Role Services to add the dependent components.
    • Under Security, select Windows Authentication.
    • In the Management Tools node, under IIS 6 Management Compatibility, ensure that both IIS 6 Metabase Compatibility and IIS 6 WMI Compatibility are selected and then click Next.
  5. On the Confirmation page, click Install, and then complete the rest of the wizard.

  6. Click Close to exit the Add Features Wizard, and then close Server Manager.

To install and configure WebDAV for IIS 7.0 to support management point and BITS-enabled distribution point site system computers

  1. Depending on your server operating system platform, download either the x86 or x64 version of WebDAV from: http://go.microsoft.com/fwlink/?LinkId=108052.( In windows 2008 r2 no need to download)

  2. Depending on which version was downloaded, run either the webdav_x86_rtw.msi or the webdav_x64_rtw.msi file to install WebDAV IIS 7.0 extensions.

  3. Enable WebDAV and create an Authoring Rule, as follows:

    1. Navigate to Start / All Programs / Administrative Tools / Internet Information Services (IIS) Manager to start Internet Information Services 7 Application Server Manager.
    2. In the Connections pane, expand the Sites node in the navigation tree, and then click Default Web Site if you are using the default Web site for the site system or SMSWEB if you are using a custom Web site for the site system.
    3. In the Features View, double-click WebDAV Authoring Rules.
    4. When the WebDAV Authoring Rules page is displayed, in the Actions pane, click Enable WebDAV.
    5. After WebDAV has been enabled, in the Actions pane, click Add Authoring Rule.
    6. In the Add Authoring Rule dialog box, under Allow access to, click All content.
    7. Under Allow access to this content to, click All users.
    8. Under Permissions, click Read, and then click OK.
  4. Change the property behavior as follows:

    1. In the WebDAV Authoring Rules page, in the Actions pane, click WebDAV Settings.
    2. In the WebDAV Settings page, under Property Behavior, set Allow anonymous property queries to True.
    3. Set Allow Custom Properties to False.
    4. Set Allow property queries with infinite depth to True.
    5. If this is a BITS-enabled distribution point, under WebDAV Behavior, set Allow hidden files to be listed to True.
    6. In the Action pane, click Apply.
  5. Close Internet Information Services (IIS) Manager.

To add Remote Differential Compression for site server and branch distribution point computers

  1. In Server Manager, on the Features node, click Add Features to start the Add Features Wizard.

  2. On the Select Features page, select Remote Differential Compression, and then click Next.

  3. Complete the rest of the wizard.

  4. Close Server Manager.

To modify the request Filtering section on BITS-enabled distribution point computers:

  1. Open the applicationHost.config file located in the %windir%\System32\inetsrv\config\ directory on the BITS-enabled distribution point site system.

  2. Search for the <requestFiltering> section.

  3. Determine the file extensions that you will have in the packages on that distribution point. For each file extension that you require, change allowed to true.

    For example, if your package will contain a file with an .mdb extension, change the line <add fileExtension=".mdb" allowed="false" /> to <add fileExtension=".mdb" allowed="true" />.

    Allow only the file extensions required for your packages.

  4. Save and close the applicationHost.config file.

Thursday, September 10, 2009

How to install a 32-bit version of SQL Server 2005 Reporting Services on a computer that is running a 64-bit version of Windows

Install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 6.0
To install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 6.0, follow these steps:
  1. Uninstall the 64-bit version of Reporting Services.
    Note Side-by-side installations of 32-bit versions of Reporting Services and 64-bit versions of Reporting Services are not supported.
  2. Run the Dotnetfx64.exe file to manually install the .NET Framework.
    The Dotnetfx64.exe file is in the Tools\redist\2.0 folder on the SQL Server 2005 Setup media. To download the Dotnetfx64.exe file, visit the following Microsoft Web site:

    http://go.microsoft.com/fwlink/?LinkId=70186 (http://go.microsoft.com/fwlink/?LinkId=70186)

  3. In IIS Manager, click Web Server Extensions.
  4. In the Details pane, right-click ASP.NET V2.0.50727, and then click Allow.
  5. Right-click Web Sites, and then click Properties.
  6. Click the ISAPI Filters tab.
  7. In the Filter Name column, click ASP.NET_2.0.50727, and then click Edit.
  8. Replace C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll with C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll.
    Note The Aspnet_filter.dll file in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder is a 32-bit version of the file.
  9. Click OK two times, and then close IIS Manager.
  10. At a command prompt, run the following command:

    cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1

  11. Install the 32-bit version of Reporting Services.
  12. After setup is complete, open IIS Manager, and then click Web Server Extensions.
  13. In the Details pane, right-click ASP.NET V2.0.50727 (32-bit), and then click Allow.

Back to the top

Install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 7.0
To install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 7.0, follow these steps:
  1. Enable ASP.NET and IIS before you install Reporting Services.
  2. Open a command prompt. To do this, click Start, point to All Programs, point to Accessories, right-click Command Prompt, and then click Run as administrator.
  3. In the User Account Control dialog box, click Continue.
  4. Set the Enable32bitAppOnWin64 option to True at the Parent level under the master Web site level. To do this, follow these steps:
    1. In IIS Manager, click Application Pools.
    2. In the Actions pane, click Set Application Pool Defaults.
    3. In the General section, set the Enable32bitAppOnWin64 option to True.
    Note By default, a SQL Server 2005 64-bit installer will look for a 64-bit IIS installation. If the Enable32bitAppOnWin64 option is set to False at the root level, then the installation of Reporting Services should complete successfully.
  5. Install the 32-bit version of Reporting Services. You must apply SQL Server 2005 Service Pack 2 (SP2) after you install Reporting Services in Windows Vista. If you install SQL Server 2005 Express Edition with Advanced Services, you can run SQL Server 2005 Express Edition with Advanced Services SP2.
    For more information, visit the following Microsoft Web site:

    http://go.microsoft.com/fwlink/?LinkID=63922 (http://go.microsoft.com/fwlink/?LinkID=63922)

    If errors occur during setup, see the "Troubleshoot setup errors on Windows Vista" section.

  6. Reset IIS.
  7. Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
    1. Start Microsoft Internet Explorer.
    2. On the Tools menu, click Internet Options.
    3. Click Security.
    4. Click Trusted Sites.
    5. Click Sites.
    6. Under Add this website to the zone, type http://servername.
    7. If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box.
    8. Click Add.
    9. Repeat steps f and g to add http://localhost, and then click Close.
      This step lets you start Internet Explorer either to localhost or to the network computer name of the server for both Report Server and Report Manager.
  8. Create role assignments that explicitly grant you full-permissions access. To do this, follow these steps:
    1. Start Internet Explorer by using the Run as administrator option. To do this, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator.
    2. Start Report Manager.
      Note By default, the Report Manager URL is http://servername/reports. If you are using SQL Server 2005 Express Edition with Advanced Services SP2, the Report Manager URL is http://servername/reports$sqlexpress. If you are using a named instance of Reporting Services, the Report Manager URL is http://servername/reports$InstanceName.
    3. On the Home page, click Properties.
    4. Click New Role Assignment.
    5. Type a Windows user account in the following format:

      domain\user

    6. Click to select the Content Manager check box.
    7. Click OK.
    8. In the upper-right corner of the Home page, click Site Settings.
    9. Click Configure site-wide security.
    10. Click New Role Assignment.
    11. Type a Windows user account in the following format:

      domain\user

    12. Click to select the System Administrator check box.
    13. Click OK.
    14. Close Report Manager.
  9. Open Report Manager in Internet Explorer without using the Run as administrator option.

Back to the top

Troubleshoot setup errors on Windows Vista
If you encounter "setup failure" error messages for SQL Server Native Client (SNAC), for Database Services, and for Reporting Services. Or, the SNAC installation package might be invalid or incorrectly installed. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

929667 (http://support.microsoft.com/kb/929667/ ) Error message when you install SQL Server 2005 Express Edition Service Pack 2 Community Technology Preview: "An installation package for the product Microsoft SQL Server Native Client cannot be found"

If the steps to install the 32-bit version of Reporting Services do not resolve the errors, follow these steps:

  1. Exit the Setup program.
  2. Click Start, and then click Control Panel.
  3. Click Uninstall a program.
  4. Click Microsoft SQL Server Native Client.
  5. Click Uninstall.
  6. Click Yes.
  7. Extract the SQL Server 2005 Express Edition with Advanced Services installation package to a folder on your computer. To do this, run SQLEXPR_ADV.EXE /x at a command prompt.
  8. Select a folder into which to extract the files.
  9. In the folder, find the Sqlncli_x64.msi file. This is the SNAC installation package for SNAC.
  10. Double-click the Sqlncli_x64.msi file, and then run the Setup program.
  11. On the Feature Selection page, click SQL Server Native Client SDK, click This feature will be installed on local hard drive, click Next, and then click Install.
  12. In the User Account Control dialog box, click Continue.
  13. Install SQL Server 2005 Express Edition with Advanced Services.
  14. Reset IIS.
  15. Repeat steps 9 through 11 in the "Install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 7.0" section.

Global Vnet Peering

g  Global Vnet Peering Configuration  Ø Global VNet Peering enables peering virtual networks in different Azure regions. Ø Tr...