Showing posts with label Installation. Show all posts
Showing posts with label Installation. Show all posts

Hypervisor is not Running

After the Hyper-V role is installed , When you try to create a new virtual machine, it fails to start with the following error:

The virtual machine could not be started because the hypervisor is not running.

Cause: Hardware virtualization or DEP was disabled in the BIOS.

Resolution: Enable Hardware virtualization or DEP in the BIOS. In some cases, the server needs to be physically shutdown in order for the new BIOS settings to take effect.

What is the DEP ?!!! Data Execution Prevention (DEP) is a set of hardware and software technologies that perform additional checks on memory to help protect against malicious code exploits.

Hardware-enforced DEP marks all memory locations in a process as non-executable unless the location explicitly contains executable code. One kind of malicious code attacks tries to insert and run code from non-executable memory locations. DEP helps prevent these attacks by intercepting them and raising an exception.

Hardware-enforced DEP

Hardware-enforced DEP marks all memory locations in a process as non-executable unless the location explicitly contains executable code. A class of attacks exists that tries to insert and run code from non-executable memory locations. DEP helps prevent these attacks by intercepting them and raising an exception.

Hardware-enforced DEP relies on processor hardware to mark memory with an attribute that indicates that code should not be executed from that memory. DEP functions on a per-virtual memory page basis, and DEP typically changes a bit in the page table entry (PTE) to mark the memory page.

Processor architecture determines how DEP is implemented in hardware and how DEP marks the virtual memory page. However, processors that support hardware-enforced DEP can raise an exception when code is executed from a page that is marked with the appropriate attribute set.

Advanced Micro Devices (AMD) and Intel have defined and shipped Windows-compatible architectures that are compatible with DEP.

Beginning with Windows XP SP2, the 32-bit version of Windows uses one of the following:

· The no-execute page-protection (NX) processor feature as defined by AMD.

· The Execute Disable Bit (XD) feature as defined by Intel.

To use these processor features, the processor must be running in Physical Address Extension (PAE) mode. However, Windows will automatically enable PAE mode to support DEP. Users do not have to separately enable PAE by using the /PAE boot switch.

Note: Because 64-bit kernels are Address Windowing Extensions (AWE) aware, there is not a separate PAE kernel in 64-bit versions of Windows.
For more information about PAE and AWE in Windows Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

283037 (http://support.microsoft.com/kb/283037/ ) Large memory support is available in Windows Server 2003 and in Windows 2000

Benefits

The primary benefit of DEP is that it helps prevent code execution from data pages, such as the default heap pages, various stack pages, and memory pool pages. Typically, code is not executed from the default heap and the stack. Hardware-enforced DEP detects code that is running from these locations and raises an exception when execution occurs. If the exception is unhandled, the process will be stopped. Execution of code from protected memory in kernel mode causes a Stop error.

DEP can help block a class of security intrusions. Specifically, DEP can help block a malicious program in which a virus or other type of attack has injected a process with additional code and then tries to run the injected code. On a system with DEP, execution of the injected code causes an exception. Software-enforced DEP can help block programs that take advantage of exception-handling mechanisms in Windows.

For more information Check Microsoft KBs

http://support.microsoft.com/kb/912923

http://support.microsoft.com/kb/875352/

http://blogs.technet.com/askcore/archive/2009/02/16/top-issues-for-microsoft-support-for-windows-server-2008-hyper-v-q2.aspx

Site


Install the Windows Recovery Console in Boot Menu

The Windows Recovery Console is required to fix many startup issues caused by malware, viruses, and corrupt system files. The Recovery Console can be booted from the Windows Setup disc, but many machines (including Netbooks) do not have CD drives or easy access to the Windows Setup disc.

Below are the instructions to install the Recovery Console on any Windows XP machine as a boot list option. You will no longer need physical access to the Windows Setup disc (except to install initially) when things go wrong.

  • Insert the Windows XP setup disc.
  • Click Start -> Run and type: "%windir%\i386\winnt32.exe /cmdcons"
  • Click YES on the Windows Setup box to install the Recovery Console.
  • Setup will attempt to connect to the Internet to update any setup files from the disc. Press ESC to interrupt the setup and use the files on the disc only.
  • Once the Recovery Console is installed a confirmation box will pop up. Click OK.

Some Windows XP passwords will not be recognized by the Recovery Console. To remove the password requirement, modify the following registry key:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Setup\RecoveryConsole
  • Set the DWORD SecurityLevel value to 1.


How To Create Bootable Windows 7, Vista, or XP USB Flash/Pen Drive Quickly

Users who have been struggling to follow our command prompt based install Windows 7 from USB flash drive and make bootable USB guides have a good reason to rejoice. Now you can create Windows 7, Vista, or the old XP bootable USB key with a few clicks. Yup, this is true. Read to know more!

Let's begin the guide without wasting time. Just make sure that you have a pen drive with 4GB + capacity if you are making a bootable USB flash drive.

Requirements to create bootable Windows USB:

# Windows 7 or Vista ISO

# Pen drive with 4GB+ (2 GB is sufficient for XP)

# 15 Minutes of free time

Procedure:

1. Insert your USB flash/pen drive to your system and backup all the data from the USB as your USB drive will be formatted during the process.

2. Now download WinToFlash tool (free) from here.

3. Run the tool, and browse to your Windows 7, Vista, or XP DVD files (make sure that your USB drive letter is correct).

4. Click Create button to begin the bootable USB process. Wait for few minutes to see the bootable USB.

5. That's all!


Customize Windows 7 Installation Setup With Win Integrator Tool

12:58 AM by Yash Kalra 0 comments

Win Integrator to create customized Windows 7 installation ISO setup with tweaks and drivers.

Win Integrator

The user interface is easy-to-use and extremely simple, just like the Vlite tool. The main windows allows you browse to the Windows 7 installation files. Once the folder is selected you will be given options to select your operating system that you want to configure using Win Integrator.

Win Integrator for Windows 7

One can add updates, drivers, and language packs just with a few clicks. As me mentioned before, it's extremely easy-to-use. It allows you remove Windows programs and features such as Internet Explorer, Games, Snipping tool and more from the installation setup. Other than that, you can also turn Windows features on or off using this tool.

Win Integrator for Windows

All in all, it's a great tool to make a customized Windows 7 ISO setup in a few minutes. Note that you need to have installed Microsoft .NET Framework 4 and Windows Automated Installation Kit (AIK) for Windows or Windows OEM Preinstallation Kit (OPK) for Windows 7 to use this tool.

Download Win Integrator


Unattended Windows 7 Installation

12:57 AM by Yash Kalra 1 comments

Se7en Unattended is an excellent tool for Windows to create unattended Windows 7 installation setup. With Se7en Unattended, one can disable services, include add-ons, integrate drivers, add third-party applications, add Windows updates, and add other tweaks to create a customized Windows 7 ISO.

This tool comes in handy when you want to create your own customized Windows 7 setup ISO. Click on the labels of an item to view a short summary of what it will do.

As the developer says, Se7en Unattended makes it really easy to maintain your Unattended Installs for Windows 7. Whether you are using it for the homebuilt machine or for OEM CD/DVD creations, it will help you create customized Windows 7 ISO with a few clicks.

If you are new to unattended Windows, we recommend the Vlite tool as it's extremely easy-to-use for a beginner.

Download Se7en Unattended


Install Windows 7/ Vista on your Hard disc Without using any DVD/CD or Pendrive (USB drive)

How about installing Windows 7 or Windows Vista without using any DVD or Pendrive / USB drive? Yes this is possible. Users who don't want to burn the Windows 7/ Vista ISO image to a DVD or those who don't have a windows startup disc can now install Windows 7 on their PC. Installing Windows from the Hard Drive is much faster than installing from DVD/CD.This tutorial is made on the assumption that the new Windows 7 or Windows Vista is going to be installed and replace the current one. The instructions can be slightly modified if you want a dual boot system.

  1. On your existing Operating System install a virtual DVD/CD drive first. Magic Disc virtual DVD/CD rom can do this and is free.
  2. Now mount the ISO image of Windows 7 or Windows Vista.
  3. Then copy all the files from this Virtual drive you mounted now to a drive in which you don't want to install Windows. for example if you want to install Windows on C drive copy them to E:\Windows7 or so.
  4. Now copy the bootfolders and bootmgr seen inside the copied folder (here E:\windows7) to your main booting drive probably C:\.
  5. Vista users must follow this step ie. you need to copy the bootmgr folder from (E:\windows7) to C:\ root directory. Copy E:\Windows7\boot\boot.sdi and bootsect.exe from E:\Windows7\boot\ folder to C:\boot folder and C:\ drive respectively.
  6. The boot folder is hidden by default check the option to show hidden files and folder and also show protected system files from "Folder Options".
  7. Now under C:\ root folder create a new folder named sources.
  8. Copy the boot.wim file from E:\Windows7\sources to the sources folder created in the above step (7).
  9. Now right click the Command Prompt in the start menu and select "Run as Administrator".
  10. Type the following command C:\boot\bootsect.exe /nt60 C: for vista users who did the step 5 should type the command as C:\bootsect.exe /nt60 C: .
  11. Now change the name of the boot system partion to any name you prefer (in command prompt use label command). for eg. type C:\ label mycdrive. Remember the name you have given.
  12. Now restart the System.
  13. After that Windows will automatically run the setup process. On continuing with the installation steps when you see the option to Install Windows do not click it instead click the option to Repair my Computer (seen at the bottom left).
  14. Now in the WinRE System Recovery Options window open the Command Prompt.
  15. Now type the following command format c: /q .
  16. /q switch is used to do a quick format option it is optional.
  17. If you want to convert the drive to NTFS system type the command as c: /q /fs:ntfs.
  18. Just before the formatting begins you may be asked to enter the name of the partition as mycdrive enter it accordingly.
  19. After the formatting completes Start the Windows setup from the copied folder ie E:\Windows7\sources\setup.exe.
  20. Now continue with the process as usual.

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,


Install Windows 7 from a Pendrive / How to create a bootable Pendrive to install Windows 7

Here's a small tutorial to make pendrives or USB drives bootable and to install Windows Vista using it. This trick come in handy if you don't have a DVD/CD drive. Installing from a pendrive will make Windows Vista installation very fast. Follow this guide to install vista from pendrive.

  1. First you need to format the pendrive or USB drive in NTFS format. (Make sure you are following this guide with windows vista installed)
  2. This can be done by right clicking your pendrive icon and choosing format option.
  3. Now from the start menu right click on command prompt and choose "Run as administrator".
  4. Now type the following commands.
  5. diskpart .The disk part program windows will open.
  6. Then type list disk.This will show the list of disks in your computer.
  7. Note down the disk number of your pendrive from the list eg. Disk 1.
  8. Now type CLEAN.
  9. Now type the following commands by pressing enter after each one.
  10. CREATE PARTITION PRIMARY
  11. SELECT PARTITION 1 (Assuming your pendrive/ USB drive is 1).
  12. ACTIVE
  13. FORMAT FS=NTFS
  14. ASSIGN
  15. EXIT(Now the disk partition program will exit). Now we need to give some more commands.
  16. Now insert the Windows Vista Installation DVD and to your DVD drive.
  17. Here i am assuming DVD drive as G and Pendrive as I.(Change it accordingly).
  18. Now type G:CD BOOT
  19. Now type this command BOOTSECT.EXE/NT60 I: to update your USB drive with bootmgr code.
  20. Finally copy all the contents from the Windows Vista DVD to your Pendrive. Make sure you don't cause any errors.
  21. Now set the boot priority to your pendrive from bios and you can proceed with the installation as normal.

Now vista can be installed on any pc with the help of this pen drive you have just created now.

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,


Hyper-V – Install & enable on Windows Server 2008 (64-bit)


If you have installed your Windows Server 2008 from a recent media download or shipped by microsoft then chances are that you already have the Hyper-V Role installed on your system but not enabled yet.

To confirm this, click Start - Control Panel - Programs and Features - Installed Updates and look for "Update for Microsoft Windows (KB950050)". If not found, click here to download and install the update.

Once installed, reboot your server and add the Hyper-V role as follows:

1. Click Start - Administrative Tools - Server Manager.

Add Hyper-V Role

Add Hyper-V Role

2. Click Roles in the leftpane and click "Add Roles" from the rightpane.

3. Click Next in the before begin window. Select "Hyper-V" role from the list in the Server Roles window and click Next.

hyperv-3

4. Click Next on the Hyper-V introduction window. In the next "Virtual Networks" window, select the Network Adapters to which a Virtual Network will be created. For every, Network Adapter (if more than 1 is found) selected, a Virtual Network will be created to which Virtual Machines created later can be attached to. The Virtual Networks can also be created or modified at a later time.

hyperv-4 hyperv-5

5. Click Install on the confirmation window. Once the role is successfully added, the server requires a reboot. Click the "You must restart this server to finish the installation process" link in the results window to reboot the server or click Close and restart the server at a later time.

hyperv-6 hyperv-8

6. Once the server is restarted, the server continues configuring the Hyper-V role and when the installation is successfully completed, click Close.

hyperv-9 hyperv-10

7. This puts the Virtual Network created under "Network Connections" and the Hyper-V Manager under Administrative Tools. Click and launch the Hyper-V Manager under Administrative Tools.

hyperv-11 hyperv-12

From here you can create and modify the Virtual Machines, edit the Virtual Network Settings, general Hyper-V Settings, import Virtual Machines etc. One can also, stop and start Hyper-V services and check Virtual Disks.

hyperv-13

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,


Install & Configure Hyper-V in Windows Server 2008 (64-bit) Core install

Installing and enabling the Hyper-V role in Windows Server 2008 Core installation (64-bit) takes a few commands from the command-line. Click here for a step by step procedure to install and configure on a Windows Server 2008 Full installation. If you have installed your Windows Server 2008 from a recent media download or shipped by microsoft then chances are that you already have the Hyper-V Role installed on your system but not enabled yet.

To confirm run the following command and look for KB950050:

C:\Users\Administrator> wmic qfe list

If the update is not installed, download and install the KB950050 update as follows:

C:\Users\Administrator> wusa.exe Windows6.0-KB950050-x64.msu /quiet

Once installed, reboot your server and add the Hyper-V role as follows:

C:\Users\Administrator> start /w ocsetup Microsoft-Hyper-V

This should add the Hyper-V role onto your Windows Server 2008 Core installation. Reboot the server as follows for the Hyper-V installation to succefully complete and configure.

C:\Users\Administrator> shutdown /r /t 0

Remote Administration of Hyper-V

The Windows Server 2008 Core running the Hyper-V role now needs to be configured for remote administration so they can be remotely controlled from a Windows Vista or another Windows Server 2008 (32-bitor 64-bit) installation where the Hyper-V Management tools are installed.

The remote user should be a Local Administrator on the local system to administer the server. Add a user to the system and to the Administrator group as follows:

C:\Users\Administrator> net localgroup administrators /add <domain>\<user>

Firewall Rules to allow WMI

From an elevated command prompt (Run As admin, if not an administrator) type the following command:

C:\Users\Administrator> netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes

DCOM permission for remote User

Modify the DCOM permissions as follows to provide access to the remote user:

C:\Users\Administrator> net localgroup "Distributed COM Users" /add <domain_name>\<user_name>

where <domain_name>\<user_name> is the domain name and the username of the remote user.

Modify Authorization Policy

Log on to the computer on which you will run the Hyper-V management tools, using a domain account that is a member of the Administrators group on the computer running a Server Core installation.

Click Start, click Start Search and type azman.msc.

In the left pane, right-click Authorization Manager and click Open Authorization Store. Make sure that XML file is selected and type:

In the left pane, click Hyper-V services, and then click Role Assignments. Right-click Administrator, point to Assign Users and Groups, and then point to From Windows and Active Directory. In the Select Users, Computers, or Groups dialog box, type the domain name and user name of the user account, and then click OK. Close Authorization Manager.

WMI Permissions for CIMV2 & Virtualization Name spaces

Click Start, click Administrative Tools, and then click Computer Management. From the action menu, select the option "Connect to another computer" and connect to the server running Hyper-V role.

In the rightpane, click Services and Applications, right-click WMI Control, and then click Properties.

Click the Security tab. Click Root and then click CIMV2. Below the namespace list, click Security. In the Security for ROOT\CIMV2 dialog box, check to see if the appropriate user is listed. If not, click Add. In the Select Users, Computers, or Groups dialog box, type the name of the user and click OK.

On the Security tab, select the name of the user. Under Permissions for <user or group name>, click Advanced. On the Permissions tab, verify that the user you want is selected and then click Edit. In the Permission Entry for CIMV2 dialog box, modify three settings as follows:
• For Apply to, select This namespace and subnamespaces.
• In the Permissions list, in the Allow column, select the Remote Enable check box.
• Below the Permissions list, select the Apply these permissions to objects and/or containers within this container
only check box.

Click OK in each dialog box until you return to the WMI Control Properties dialog box.

Repeat the process for the Virtualization namespace

Restart the server for the changes to take effect.

Now, you are all set, install the required update package as follows based on your operating system from which you would want to connect to the Hyper-V Server.

For Windows Server 2008 (seperate versions available for 32-bit & 64-bit), click here

For Windows Vista 32-bit, click here

For Windows Vista 64-bit, click here

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,


How to Create an additional domain controller in win server 2003

The Windows Server 2003 operating system supports multi-master replication-all of a domain's domain controllers can receive changes made to objects and can replicate those changes to all other domain controllers in that domain. By default, the first domain controller created in a forest is a global catalog server, which contains a full replica of all objects in the directory for its domain and a partial replica of all objects stored in the directory of every other domain in the forest.

Replicating Active Directory data among domain controllers provides benefits for information availability, fault tolerance, load balancing, and performance. In this step-by-step guide, you can take advantage of the greater fault tolerance provided in the multi-master model by installing multiple domain controllers. In the event a domain controller stops working, the availability of Active Directory is not compromised.

If you want to create an additional domain controller in win server 2003 follow this procedure

Note:-Before doing this procedure you need to make sure you have domain controller setup in your win server 2003 with DNS and you need to install DNS server and don't configure anything where you are going to add an additional domain controller.

  • Click Start, click Run, and then type dcpromo click ok
  • If you want to open the Active Directory Installation Wizard with the option to create an additional domain controller from restored backup files.

dcpromo /adv

  • On the Operating System Compatibility page, read the information and then click Next.

If this is the first time you have installed Active Directory on a server running Windows Server 2003, click Compatibility Help for more information.

  • On the Domain Controller Type page, click Additional domain controller for an existing domain, and then click Next.
  • On the Copying Domain Information page, do one of the following:

•Click Over the network, and then click Next.

•Click From these restored backup files, and type the location of the restored backup files, or click Browse to locate the restored files, and then click Next.

  • On the Network Credentials page, type the user name, password, and user domain of the user account you want to use for this operation, and then click Next.

The user account must be a member of the Domain Admins group for the target domain.

  • On the Database and Log Folders page, type the location in which you want to install the database and log folders, or click Browse to choose a location, and then click Next.
  • On the Shared System Volume page, type the location in which you want to install the Sysvol folder, or click Browse to choose a location, and then click Next.
  • On the Directory Services Restore Mode Administrator Password page, type and confirm the password that you want to assign to the Administrator account for this server, and then click Next.
  • Use this password when starting the computer in Directory Services Restore Mode.
  • Review the Summary page, and then click Next to begin the installation.
  • Restart your server now.

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,


Hyper-V – Install & enable on Windows Server 2008 (64-bit)

8:00 PM by Yash Kalra 0 comments

If you have installed your Windows Server 2008 from a recent media download or shipped by microsoft then chances are that you already have the Hyper-V Role installed on your system but not enabled yet.

To confirm this, click Start - Control Panel - Programs and Features - Installed Updates and look for "Update for Microsoft Windows (KB950050)". If not found, click here to download and install the update.

Once installed, reboot your server and add the Hyper-V role as follows:

1. Click Start - Administrative Tools - Server Manager.

Add Hyper-V Role

Add Hyper-V Role

2. Click Roles in the leftpane and click "Add Roles" from the rightpane.

3. Click Next in the before begin window. Select "Hyper-V" role from the list in the Server Roles window and click Next.

hyperv-3

4. Click Next on the Hyper-V introduction window. In the next "Virtual Networks" window, select the Network Adapters to which a Virtual Network will be created. For every, Network Adapter (if more than 1 is found) selected, a Virtual Network will be created to which Virtual Machines created later can be attached to. The Virtual Networks can also be created or modified at a later time.

hyperv-4 hyperv-5

5. Click Install on the confirmation window. Once the role is successfully added, the server requires a reboot. Click the "You must restart this server to finish the installation process" link in the results window to reboot the server or click Close and restart the server at a later time.

hyperv-6 hyperv-8

6. Once the server is restarted, the server continues configuring the Hyper-V role and when the installation is successfully completed, click Close.

hyperv-9 hyperv-10

7. This puts the Virtual Network created under "Network Connections" and the Hyper-V Manager under Administrative Tools. Click and launch the Hyper-V Manager under Administrative Tools.

hyperv-11 hyperv-12

From here you can create and modify the Virtual Machines, edit the Virtual Network Settings, general Hyper-V Settings, import Virtual Machines etc. One can also, stop and start Hyper-V services and check Virtual Disks.

hyperv-13

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,


Windows 7 step by step Installation procedure

Microsoft recently announced the public release of its new operating system Windows 7 beta version. This is available for download both for x86 (32-bit) and X64 (64-bit) hardware.

If you have already installed WIndows Vista or Windows Server 2008 from scratch then this shouldn't look too different for you.

Boot with the installation media and once past through the initial splasdh screen, select the Language and regional settings including keyboard layout and click Next.

windows7-1

Click Install Now button

windows7-2

Accept the License terms and click Next

windows7-3

Select Custom (advanced) option to perform a fresh installation

windows7-4

Select the disk and partition it if necessary and click next

windows7-5

This should start copying the files, expand it and perform feature and update installation and reboot your PC.

windows7-6

After reboot the installation continues the configurations and reboot again for first login.

windows7-7 windows7-8

Windows will take you through the initial setup of your PC, starting with setting up a user and the name of the PC. Once entered, click next

windows7-9 windows7-10

Set the password for the user and click Next

windows7-11

Enter the product key. At the time of Download, Microsoft would have provided you with a product key for evaluation valid until the 1st July 2009. Enter the key and click Next

windows7-12

Setup Windows Updates as per your requirement (default to install recommended and important updates is recommended)

windows7-13

Set the date and time for your PC and the Day light savings for your country (if any) and click next

windows7-14

Setup your Network type. This should try and connect to your Network

windows7-15

Windows will then setup a password for your homegroup (similar to the Workgroup in Windows XP and earlier). You can choose to skip this step if you want to configure it later.

windows7-16

This should finalize the settings and launch you straight into your desktop.

windows7-17 windows7-18

There you go, your new Windows 7 Beta up and running. First outlook looks to be good for a Beta version of a Microsoft Operating System.

windows7-20 windows7-21

Have fun!!!

Gallery

The following is the Screenshot gallery from Windows 7 beta installation…

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,