Showing posts with label Virtual. Show all posts
Showing posts with label Virtual. 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


Enable Virtual Wi-Fi on Windows 7

Window 7 comes with an attractive capability of converting your laptop or PC into a Wi-Fi hotspot. But there are some problems that are associated with its implementation.
Assuming that your wireless card supports this functionality and all the necessary drivers have been installed on your system, another icon will appear in the network connection by the name of "Wireless Network Connection 2, Microsoft Virtual Wi-Fi Miniport adapter".

The main problem is that you cannot configure it as you perform in the GUI mode on the other connections. Thus you have to use a command line in order to use it.

Steps:-

  1. Launch the command prompt as an administrator.
  2. Type the command as C:\Windows\system32>netsh wlan set hostednetwork mode=allow ssid=MYWIFI key=passwrd
  3. Replace MYWIFI with the desired name that you want and repeat this step for passwrd also.
  4. The output should be similar to the following.
  5. The hosted network mode has been set to allow.
  6. The SSID of the hosted network has been successfully changed.
  7. The user key passphrase of the hosted network has been successfully changed.
  8. To start the network type the command as "C:\Windows\system32>netsh wlan start hostednetwork". The output should be similar to the following
    The hosted network started
  9. The network has been started and can be shared among multiple devices.


Virtualization Products

Build your virtual environment from one of these great tools

You like free software, right? Virtualization is one of the fastest growing technologies, and one of the key driving factors behind its growth is the fact that many of today's premier virtualization products are free. This lets organizations use virtualization for many different scenarios without spending a lot of money. Let's look at the 10 best free virtualization products that work with Windows.

Microsoft Hyper-V Server-Hyper-V Server, as a standalone, costs $29. However, it's bundled with certain editions of Windows Server 2008, making it essentially free for Server 2008 customers. Hyper-V uses modern hypervisor-based architecture. It requires an x64 processor with hardware-assisted virtualization, and can run Windows and Linux guests. You can download the Hyper-V beta as part of Server 2008 RC1 at www.microsoft.com.nsatc.net/downloads/details.aspx?familyid=8F22F69E-D1AF-49F0-8236-2B742B354919.

VMware Server-VMware Server runs on both Windows and Linux, and it provides 32-bit and 64-bit support for hosts and guests. VMware Server 2.0, currently in beta, also has experimental support for Windows Vista and Windows Server 2008. Its VM's have audio and USB guest support as well as support for snapshots. You can get VMware Server at www.vmware.com/download/server.

Microsoft Virtual Server 2005 R2-Microsoft's primary virtualization offering for Windows Server 2003 hosts, Virtual Server 2005 R2 is designed for production server virtualization tasks. It provides 64-bit host support but no support for 64-bit guests. Virtual Server 2005 R2 supports Windows Server guests as well as the popular enterprise Linux OSs. You can download Virtual Server 2005 R2 from www.microsoft.com/downloads/details.aspx?FamilyID=6dba2278-b022-4f56-af96-7b95975db13b.

Microsoft Virtual PC 2007-Virtual PC 2007 is Microsoft's desktop virtualization product. It has host and guest support for Windows Vista. It also supports multiple monitors, x64 host hardware, and hardware-assisted virtualization. You can download Virtual PC 2007 from www.microsoft.com/windows/downloads/virtualpc.

Virtual Iron Single Server Edition-Best known for its virtual infrastructure management capabilities, Virtual Iron also offers Single Server Edition, a free, limited-feature version of its enterprise-class virtualization product. The free version can run no more than 12 VMs and supports a maximum Microsoft Virtual Hard Disk (VHD) import or export size of 18GB. You can get the Virtual Iron Single Server Edition from www.virtualiron.com/products.

Oracle VM-Not to be left out of the burgeoning virtualization market, Oracle began providing a free Xen variant in late 2007. You manage Oracle VM with a browser-based management console. Although the Oracle VM software is free, Oracle charges for support. You can download Oracle VM at www.oracle.com/technologies/virtualization/index.html.

QEMU-A bit different from the other virtualization products listed, QEMU is a processor emulator. QEMU isn't an open-source project, but it is free software and is utilized by a number of other products, including VirtualBox and Win4Lin. Its system-emulation mode provides basic support for Windows guests as well as DOS, Linux, and BSD. QEMU is found at fabrice.bellard.free.fr/qemu/about.html

VirtualBox-VirtualBox runs on Windows, Linux, and Macintosh hosts, and can run Windows Vista, Windows XP, Windows 2000, Windows NT, and many Linux versions as guests. VirtualBox comes in both a commercial and a free version. VirtualBox VMs provide audio, USB, and iSCSI support. You can find VirtualBox at http://www.virtualbox.org/.

Xen-Xen is an open-source, hypervisor-based virtualization product. You load Xen from a Linux host, and the latest releases support both Windows and Linux guests. Xen-enabled Linux systems can also run under Microsoft's Hyper-V virtualization, taking full advantage of the new high performance VMBus architecture. You can download Xen from www.xen.org/download.

VMware Player-VMware Player doesn't let you create new virtual machines (VMs). However, it runs on both Linux and Windows hosts, and can run both VMware and Microsoft VM images. VMware Player is also the basis for VMware's thriving Virtual Appliance Marketplace. You can download VMware Player from www.vmware.com/download/player .