Archive | Windows 2008 Server RSS feed for this section

Adding second hard drive to HyperV virtual machine


How to Attach virtual hard disk to existing HyperV virtual machine?
This step by step instruction will guide you to add virtual hard disk to your HyperV virtual machine.

Situations:
My virtual SharePoint 2010 installation is running out of space and need to add additional drive so
that I could move SQL data out of current drive to the new one.

image

 

Step 1:

1. Turn off your virtual hyperv machine and open HyperV Manager. Select the virtual machine
which you want to add additional virtual drive and click on Settings

HyperV Manager

2. In settings select IDE Controller | Hard Drive  and click Add

Adding new hard drive to hyperv

3.  Now we need to create a new virtual hard disk. Click new to create new virtual harddisk

Creating new virtual hard disk - hyperv

4.  Adding new virtual hard disk wizard: This wizard helps you to create a new virtual hard disk.
Virtual hard disk provide storage for virtual machines and are stored on physical media as.vhd files

Click Next

New virtual hard disk wizard in hyperv

5.  You have three options to choose disk type
- Fixed Size, dynamically expanding and differencing. In this case, I am going with fixed size

image

6. Specify Name and location. I

Specify  name and location for virtual hard disk

7. You can create a blank virtual hard disk or copy the contents of an existing physical disk

Configure Virtual Hard Disk HyperV

8. Summary of your new virtual hard disk which we are creating and click
Okay below to create your new virtual hard disk

image

9. Once HyperV completed it process of creating new virtual hard disk, this is how you should see the end result

image

Step 2:

1. Turn on your HyperV virtual machine
Start | Administrative Tools | Server Manager | Disk Management |

In disk management you should see your second drive which you created.

Windows 2008 Server Disk Management

2.  Right click in unallocated space and click on New Simple Volume

Creating Simple Volume in Windows 2008

3. New simple volume wizard : This wizard helps you to create a simple volume on a disk

image

4.  Specify Volume Size : Choose a volume size that is between the maximum and minimum sizes

Specify Volume Size in Windows 2008

5. Assign Drive Letter or Path : For easier access, you can assign a dive letter or drive path to your partition

Assign Drive letter or Path in Windows 2008

6. Format Partition: To store data on this partition, you must format it fist

Format Partition in Windows 2008

7.  You have successfully completed the new simple volume wizard

new volume wizard windows 2008

8.  End results: I have successfully added second drive to my hyperv virtual machine.

Second drive in HyperV virtual machine

Now I can move all the SQL data files to my new drive which I added in HyperV virtual machine. If you perform all the above steps
you can successfully add additional drive in your HyperV virtual machine.

Baseline Configuration Analyzer 2.0


Microsoft Baseline Configuration Analyzer 2.0 (MBCA 2.0) can help you maintain optimal system configuration by analyzing configurations of your computers against a predefined set of best practices, and reporting results of the analyses.

Download Baseline Configuration Analyzer

Windows 2008 Server Performance Tuning Guidelines


Download: Performance Tuning Guidelines for Windows Server

This guide describes important tuning parameters and settings that you can adjust to improve the performance and energy efficiency of the Windows Server 2008 R2 operating system. This guide describes each setting and its potential effect to help you make an informed decision about its relevance to your system, workload, and performance goals.

This paper is for information technology (IT) professionals and system administrators who need to tune the performance of a server that is running Windows Server 2008 R2.

This information applies to the Windows Server 2008 R2 operating system.

What’s New:

  • “Performance Tuning for Web Servers” – Updated guidance to reflect that Http.sys manages connections automatically.

  • “Performance Tuning for File Servers” – Fixed typos in NFS Server tuning parameter registry keys.

  • “Performance Tuning for Virtualization Servers” – Added information about Dynamic Memory tuning.

  • “Performance Tuning for TPC-E Workload” – Clarified tuning guidance.

  • “Resources” – Updated references

Included in this white paper:

  • Choosing and Tuning Server Hardware

  • Performance Tuning for the Networking Subsystem

  • Performance Tuning for the Storage Subsystem

  • Performance Tuning for Web Servers

  • Performance Tuning for File Servers

  • Performance Tuning for Active Directory Servers

  • Performance Tuning for Remote Desktop Session Host (formerly Terminal Server)

  • Performance Tuning for Remote Desktop Gateway

  • Performance Tuning for Virtualization Servers

  • Performance Tuning for File Server Workload (NetBench)

  • Performance Tuning for File Server Workload (SPECsfs2008)

  • Performance Tuning for Network Workload (NTttcp)

  • Performance Tuning for Remote Desktop Services Knowledge Worker Workload

  • Performance Tuning for SAP Sales and Distribution Two-Tier Workload

  • Performance Tuning for TCP-E Workload

See Also

Free eBook – Introducing Windows Server 2008 R2


Chapter 1 What’s New in Windows Server R2 1
Chapter 2 Installation and Configuration: Adding R2 to Your World 9
Chapter 3 Hyper-V: Scaling and Migrating Virtual Machines 25
Chapter 4 Remote Desktop Services and VDI: Centralizing Desktop and Application Management 47
Chapter 5 Active Directory: Improving and Automating Identity and Access 65
Chapter 6 The File Services Role 91
Chapter 7 IIS 7.5: Improving the Web Application Platform 109
Chapter 8 DirectAccess and Network Policy Server 129
Chapter 9 Other Features and Enhancements 147

http://blogs.technet.com/b/danstolts/archive/2011/09/22/free-ebook-introducing-windows-server-2008-r2.aspx

Uninstall or Removing Active Directory from Windows 2008 server


I want to remove Active Directory from Windows 2008 R2 Server.
How do I uninstall Active directory in Windows 2008 server?
To uninstall Active Directory, go to run and type in dcpromo

uninstalling-active-directory-from-windows-2008-server-step-1

You will get Active Directory Domain Services Installation Wizard.  This computer is already an Active Directory domain controller. You can use this wizard to uninstall active Directory Domain Services on this server.


uninstalling-active-directory-from-windows-2008-server-step-2

Delete the domain.
The domain will no longer exist after you uninstall Active Directory Domain Services from the last domain controller n the domain. Before you continue be aware that all users and computer accounts will be deleted.

uninstalling-active-directory-from-windows-2008-server-step-3

Application Directory Partitions
Applications create these directory partitions to store and replicate data

 

uninstalling-active-directory-from-windows-2008-server-step-4

Confirm Deletion
Removing Active Directory Domain Services will delete all application partitions from this active directory domain controller.
Confirm that you want the wiard to delete all applicaiton directory partitions on this active directory domain controller. The partitions will be deleted when the wizard completed.

uninstalling-active-directory-from-windows-2008-server-step-5

Removing DNS Delegation
This server is also a DNS server and contains Active Directory integrated zones.  These zones will be deleted during the removal of Active Directory Domain Services on this server.
Confirm that you want the wizard to delete the DNS delegations pointing to this server.

 

uninstalling-active-directory-from-windows-2008-server-step-6

 

uninstalling-active-directory-from-windows-2008-server-step-7

 

uninstalling-active-directory-from-windows-2008-server-step-8

Remove Active Directory Domain Services from this computer.

You have indicated that this Active Directory domain controller is the last domain controller in the domain "vwin2008.com".

When the process is complete, this domain will no longer exist.

All application directory partitions on this Active Directory domain controller will be removed.

This domain controller holds the last replica of one or more application directory partitions. When the removal operation is complete, those partitions will no longer exist.

Remove DNS Delegation: Yes

uninstalling-active-directory-from-windows-2008-server-step-9

This wizard is configuring Active Directory Domain Services. This process can take from a few minutes to several hours, depending on your environment and the options that you selected.

uninstalling-active-directory-from-windows-2008-server-step-10

 

Restart your computer to complete active directory uninstallation process from Windows 2008 Server. 

How to set up domain controller with Windows Server 2008


How to install Active Directory in Windows Server 2008 and make it as domain controller?  In this blog, you can see step by step instruction about how you can
Install and configure active directory and make your Windows 2008 server as domain controller
.

My Privious Blog

1. How to create Windows 2008 Virtual Machine?
2. How to build Windows Server 2008 R2 Domain Controller – Part 1
3. How to build Windows Server 2008 R2 Domain Controller – Part 2 (Current Post)

1. To install Active Directory in Windows 2008 server, open run and type in dcpromo and click OK

setting_up_domain_controller_with_windows_2008_server_step_1

 

2. Running dcpromo will start installing Active Directory Domain Services binaries. Please wait and active directory domain services installation wizard will open automatically once the binaries have been installed.

active_directory_domain_services_binaries_installed_step2

 

3.  Welcome to the active directory domain services installation wizard.  This wizard helps you install active directory domain services (AD DS) on this server, making the server an Active Directory domain controller.
To continue, click next.

active_directory_domain_services_installation_wizard_step3

 

Some wizard pages in the Active Directory Domain Services Installation Wizard appear only if you select the Use advanced mode installation check box on the Welcome to the Active Directory Domain Services Installation Wizard page of the wizard.

Advanced mode installation provides experienced users with more control over the installation process, without confusing newer users with configuration options that may not be familiar. For users who do not select the Use advanced mode installation check box, the wizard uses default options that apply to most configurations.

The Use advanced mode installation option on the Welcome page of the wizard is an alternative to running dcpromo at a command prompt with the /adv switch (dcpromo /adv).

The following table lists the additional wizard pages that appear for each deployment configuration when you select the Use advanced mode installation check box.

 

4. Operating System Compatibility: Improved security settings in Windows Server 2008 and Windows Server 2008 R2 affect older version of Windows

active_directory_domain_services_installation_wizard_step4

Windows Server 2008 and "Windows Server 2008 R2" domain controllers have a new more secure default for the security setting named "Allow cryptography algorithms compatible with Windows NT 4.0." This setting prevents Microsoft Windows and non-Microsoft SMB "clients" from using weaker NT 4.0 style cryptography algorithms when establishing security channel sessions against Windows Server 2008 or "Windows Server 2008 R2" domain controllers. As a result of this new default, operations or applications that require a security channel serviced by Windows Server 2008 or "Windows Server 2008 R2" domain controllers might fail.

Platforms impacted by this change include Windows NT 4.0, as well as non-Microsoft SMB "clients" and network-attached storage (NAS) devices that do not support stronger cryptography algorithms. Some operations on clients running versions of Windows earlier than Windows Vista with Service Pack 1 are also impacted, including domain join operations performed by the Active Directory Migration Tool or Windows Deployment Services.

For more information about this setting, see Knowledge Base article 942564 (http://go.microsoft.com/fwlink/?LinkId=104751).

5. Creating a new forest in Windows 2008 Server

create_a_new_domain_in_a_new_forest_step5

To create a new forest, you must be a member of the local Administrators group on the server where you are installing AD DS.

DNS and NetBIOS names

Before you create a new forest, be sure that you have completely planned your DNS infrastructure. To create a new forest, you must know the full DNS name for it. You can install the DNS Server service before you install AD DS or, preferably, you can choose to have the Active Directory Domain Services Installation Wizard install the DNS Server service for you.

If you have the wizard install the DNS Server service, the wizard uses the DNS name that you provide to automatically generate a NetBIOS name for the first domain in the forest. The wizard verifies that the DNS name and the NetBIOS name are unique on the network before it continues.

You must select the Use advanced mode installation check box on the Welcome to the Active Directory Domain Services Installation Wizard page to specify a different NetBIOS name than the name that is generated automatically by the wizard.

 

 

6. Name the forest Root Domain: The first domain in the forest is the forest root domain. It’s name is also the name of the forest.

active_directory_domain_services_installation_wizard_step7 

 

7. Set Forest Function Level: Select the forest functional level.

setting_up_domain_controller_with_windows_2008_server_step_8

The Windows Server 2003 forest functional level provides all features that are available in Windows 2000 forest functional level, and the following additional features:
    -    Linked-value replication, which improves the replication to changes to group memberships.
    -    More efficient generation of complex replication topologies by the KCC.
    -    Forest trust, which allows organizations to easily share internal resources across multiple forests.

Any new domains that are created in this forest will automatically operate at the Windows Server 2003 domain functional level.

 

8. The next windows will be set Domain Functional Level. Select it and then click on Next

9. Additional Domain Controller Options

setting_up_domain_controller_with_windows_2008_server_step_9

The first domain controller in a forest must be a global catalog server and cannot be an RODC. We recommend that you install the DNS Server service on the first domain controller.

 

10. If the wizard not able to create delegation, just click yes to continue…

setting_up_domain_controller_with_windows_2008_server_step_10 

 

11. Location for Database, Log Files and SYSVOL
Specify the folders that will contain the active directory domain controller database, log files and SYSVOL

setting_up_domain_controller_with_windows_2008_server_step_11

12. Directory Services Restore Mode Administrator Password.
The directory services restore mode administrator account is different from the domain administrator account. 

Assign a password for the administrator account that will be used when this domain controller is started in directory services restore mode.

setting_up_domain_controller_with_windows_2008_server_step_12

 

13.  Summary of your Active Directory configuration for setting up domain controller in Windows 2008 server. Click next to install Active Directory in Windows 2008 Server

setting_up_domain_controller_with_windows_2008_server_step_13

 

14. This wizard is configuring active directory domain services in Windows 2008 server. This process can take from a few minutes to server hours, depending on your environment and the options that you selected

setting_up_domain_controller_with_windows_2008_server_step_14

 

15. Completing the active directory domain service installation wizard. Active Directory Domain Service is now installed on this computer as domain controller.

setting_up_domain_controller_with_windows_2008_server_step_15

Click Finish to Restart the computer and once your server is booted login to the server. You can see the following.

  • Active Directory Administrative center
    Active Directory Domain and Trusts
    Active Directory Module for WIndows
    Active Directory Sites and Servies
    Active Directory Users and Computers
    ADSI Edit

    image

Installing Active Directory in Windows 2008 Server and making the server as Domain Controller is not that difficult if you follow all the above steps. 

How to enable remote desktop for windows 2008 server machine in a workgroup?


Connecting Windows 2008 Server machine from remote computer using Remote Desktop Connection can be established by enabling Remote Desktop connection
from the server computer.

Step by step instruction to setup remote desktop for Windows Server 2008.

1. right-click on my computer and select properties

enable-remote-desktop-for-windows-server-1

enable-remote-desktop-for-windows-server-step-2

2. Click on Remote Settings in System Window

enable-remote-desktop-for-windows-server-step-3

3. On the remote tab, select either allow connections from computers running any version of Remote Desktop or
Allow connections only from computers running Remote Desktop with Network Level Authentication

You will get Remote Desktop Firewall exception window and click Ok to continue

enable-remote-desktop-for-windows-server-step-4

4. Add a users to connect to this computer

enable-remote-desktop-for-windows-server-step-5

5.  In this case, I am adding local administrator to connect using Remote Desktop connection to Windows 2008 server. Once you added the users click OK for all the open windows.

enable-remote-desktop-for-windows-server-step-6

6. Open your Remote Desktop connection from your client computer, either Windows 7, XP, Vista or any other computer.  Click on options

enable-remote-desktop-for-windows-server-step-7

7. Since this computer is not connected to any domain and you have to enter computer name and for the user name it would be computerName\UserName

enable-remote-desktop-for-windows-server-step-8

8. You can save the settings and click Connect to Windows Server using Remote Desktop Connection.
You may get Security certificate message if your using Windows 7 or older version. Click yes to connect to remote computer without verifying certificate

enable-remote-desktop-for-windows-server-step-9

9.  Once you click yes and, remote desktop connection will be connected Windows 2008 server  machine in a workgroup or in domain.

How to build Windows Server 2008 R2 Domain Controller


Installing Windows Server 2008 R2 server and configuring as domain controller.  In my previous post I created new virtual machine to install Windows 2008 Server
In this post, I am going to install Windows 2008 Server R2 and configure as domain controllerInstalling Windows 2008 Server and configuring as domain controller is
not very difficult but if your installing for first time, this blog will give you step by step instruction for installing Windows Server 2008.

1. I open my Windows 2008 virtual machine and attaching Windows 2008 Server ISO image to boot . Enter for Windows Setup files to begin

installing_windows_2008_server_in_virtual_machine_1

2.  Windows 2008 Server is loading files in the virtual machine

installing_windows_2008_server_in_virtual_machine_2

3. Enter your language and other preferences and click Next to continue to Install Windows 2008 Server

installing_windows_2008_server_in_virtual_machine_3

4. Click Install Now to Install Windows Server 2008 R2

Click to Install Now for Windows 2008 Installation

5. Select the operating system you want to install. In this case I am going for Windows Server 2008 R2
Standard Full Installation

Windows Server 2008 R2 Standard Full Installation

6. Read the license terms and click next

installing_windows_2008_server_in_virtual_machine_6

7.  Which type of installation do you want?  You have two options

Upgrade:
Upgrade to a newer version of Windows and keep your files, settings, and programs. The option to upgrade is only available when
existing version of Windows is running. We recommend backing up your files before you proceed.

Custom (advanced)
Install a new copy of Windows 2008 Server. This option does not keep your files, settings, and programs.  The option to make changes to
disks and partitions is available when you start your computer using the installation disc. We recommend backing up your files before you proceed.

Going with Custom Installation of Windows 2008 Server R2

installing_windows_2008_server_in_virtual_machine_7

8. Where do you want to Install Windows 2008 Server R2? Select the disk and click next

installing_windows_2008_server_in_virtual_machine_8

9. Installing Windows 2008 R2 Server and copying Windows Files

installing_windows_2008_server_in_virtual_machine_9

10. Windows 2008 Server R2 installation completed and it want us to change the password

installing_windows_2008_server_in_virtual_machine_10

installing_windows_2008_server_in_virtual_machine_11

11. Configure this server windows appear.  First activate your windows and download and install updates. In my next post,
I will be configuring Windows 2008 Server R2 as domain controller.

How To Enable Telnet In Windows Server 2008


Telnet is not enabled by default in Windows Server 2008. However, Telnet Client is a feature included with Microsoft Windows Server 2008 and Windows Vista. On Windows Server 2008, you can install Telnet Client by using the Add Features Wizard in Server Manager.

Step by Step instruction to enable Telnet in Windows 2008 Server

Adding Telnet Client in Windows 2008

Step by Step instruction to enable Telnet in Windows 2008 Server

Source:
http://www.elmajdal.net/win2k8/how_to_enable_telnet_in_windows_server_2008.aspx


Follow

Get every new post delivered to your Inbox.

Join 109 other followers