Tuesday, April 30, 2013

Create an XP Mode for Windows 7 Home Versions & Vista

One of the cool features in Windows 7 is XP Mode. However, it’s only available for Windows 7 Professional and above, leaving Home Edition and Vista users out of luck. Today we’ll show you how to create your own XP Mode to run on Vista or Windows 7 Home Premium.
How does this work?
Windows 7 Home Premium and Windows Vista are not licensed to run the free XP Mode download from Microsoft.  In fact, if you select Home Premium on the XP Mode download site, you will see the following message:
sshot-92
Last week we showed you how VMware Player could help you run XP Mode without hardware virtualization. Even VMware Player doesn’t have a link to import XP Mode if you’re computer is running 7 Home Premium or Vista.

However, if you have a legal copy of Windows XP, then you can easily recreate XP Mode with the free VMware Player.  This article will show you how quick and easy it is to get a virtual copy of XP running on any computer, even if it’s running 7 Home Premium or Windows Vista.
Getting Started
First, download and install VMware Player (link below).  It is a free download, but requires registration.

You may see some prompts about installing drivers; simply approve them.  We didn’t see them on our latest test, but have in the past.  When you are finished installing VMware Player, you will have to restart your computer.

Create your own XP Mode
Once your computer is rebooted, start up VMware Player and insert your Windows XP CD in your CD drive.  In this example we used a copy of Windows XP Professional, but it would work the same with any edition of XP.
In VMware Player, click the link at the top that says “Create a New Virtual Machine.”

VMware automatically detects your Windows XP CD, and says it will install it with Easy install.  This will let you install XP with only 5 clicks!  Click Next to continue.

Now enter your XP product key, and name and password of your choice.  We named it XP Mode to make it obvious what this virtual machine is for!

Here VMware will automatically enter your operating system’s name and the default location to save the files.  Simply press next to accept the defaults, or change them if you wish.

You can choose how large you want your virtual hard drive to be; the default is 40Gb, but you can choose a different size if you wish.  Please note that the entire 40Gb will not be taken up on your hard drive.  Our clean install only took up 1.4Gb on the computer.

That’s all the settings.  You can review and make changes here, or simply press Finish to start installing XP.

From here on, VMware will take over.  You do not need to click anything else until XP is fully installed!  It will automatically run the installer, format the virtual hard drive,

Copies XP files to the hard drive,

And finishes the install.
 
Everything will work automatically, so you can literally leave it unattended while it’s installing.  In our tests it took about 20 minutes to install.  When it’s done, you’ll be presented with the Windows XP desktop ready for use!

VMware Player will automatically launch the VMware Tools installer to integrate your virtual XP with your computer.  It may have to download or update the tools, so if you see the yellow banner at the bottom of your window simply click Update Tools or Install Tools depending on you situation.

The tools will automatically download and install, though you may have to approve an UAC prompt.

Once the tools are downloaded or updated, they should automatically run in XP. If not, click Start, then My Computer, and finally double-click on the CD drive which should say VMware Tools.

Now, simply run the Tools installer with the Typical setup type, and reboot XP when it’s finished.

Now your XP is fully installed and setup, so you can proceed to integrate with your computer just like XP Mode!
Integrate XP Mode in VMware Player with Windows 7 or Vista
The real advantage of the default XP Mode in Windows 7 is that the XP programs are fully integrated with their Windows 7 counterparts.  You can run them seamlessly with other programs, copy between them, and even open and save files to the same folders.
Let’s set this up in VMware.  Copy and paste from Windows 7 or Vista to XP in VMware is activated by default.  To use your XP programs seamlessly with Windows 7, click VM on the top of the VMware window, and click “Enter Unity.”

You can easily access any program or file in XP mode through a dedicated XP Mode Start Menu.  When you hover over your Windows 7 Start button, a new button called “Windows XP Mode” will above it.  Click there to access a full start menu from XP Mode right in Windows 7.

And it works the exact same in Windows Vista.

Here is an IE 6 window from XP running side-by-side with IE 8 in Windows 7, thanks to VMware Player!

And notice, this is guaranteed to work on any edition of Windows 7 or Vista, including Home versions.

By default, the virtualized windows will have a border and the VMware logo on their edge.

To remove this logo, click VM in the VMware player window, then settings.  Click on the Options tab, and choose Unity on the left.  Now uncheck the boxes that say “Show borders” and “Show badges.”

Without having the VMWare borders and badges give everything a more authentic XP Mode look and feel.

You can even use removable devices, such as flash drives, in XP in VMware Player.  Whenever you connect a new device to your computer, VMware will remind you that you can add it to XP.

Simply click VM, then Removable Devices.  Select your device name, and click Connect.

Save Files in XP Mode to My Documents in Windows 7 or Vista
By default, files created in XP in VMware Player will be saved inside the virtual machine.  It’s more convenient if they’re saved directly to the My Documents folder in Windows 7 (or the Documents folder in Vista), so let’s change this.  Click VM, then Settings.  Click the Options tab, and then choose Shared Folders on the left.  Now click the bullet for “Always enabled” and check the box for “Map as a network drive in Windows guests.”

Now click Add at the bottom of that window.  This will let us add a shared folder.

Let’s add the My Documents folder from Windows 7 (or the Documents folder in Vista).  Click Browse, and then select your My Documents folder.  Click Ok, and then click Next.

Make sure the box is checked that says “Enable this share” and then click Finish.  You can now close the settings window as well.

Back in XP, click Start, then right click on My Documents, and select Properties.

Click Move to find the new My Documents folder.
 
Find the folder we just shared from Windows 7 or Vista by clicking My Computer, then the drive that says “Shared Folders on ‘vmware-host’” or something similar.  Now select the folder we shared, Documents, and click Ok.

Click Ok in the main properties window.  It may offer to copy the files from your old My Documents folder to the new one; choose Yes to make sure you have all of your documents in Windows 7.

Now, whenever you go to save a file in XP, it will automatically save in your My Documents folder on Windows 7 or Vista, depending on your circumstance.  You can repeat the same process for any folder you wish, such as your My Pictures and My Music folders.
Conclusion
And that’s all there is to it!  You now have a fully functioning copy of XP running right inside your 7 or Vista computer.  Almost everything works the same as XP Mode in 7 Professional or Ultimate.  The only difference is that you used your own copy of XP, but if you have an old copy already then it doesn’t cost you any more than XP Mode would.  And, even if your computer is running Windows 7 Professional, you may find it easier to use a copy of XP you already own instead of importing XP Mode.  VMware Player does a great job at integrating XP with your computer, and in our tests it worked as good or better than the actual XP Mode.
You can actually run Windows Virtual PC on any Windows 7 computer, even ones running Home Premium that aren’t eligible for XP Mode.  You could install XP in it, then install Virtual PC’s integration components, and it will work exactly like the default XP Mode.  However, we’ve found VMware’s solution easier to use and much faster to setup.  If you would like to try this out, download Virtual PC at the link below (be sure to select Professional as your edition of Windows … even though Home Premium is licensed to run Virtual PC and can run it fine, the download isn’t offered by default).

Tuesday, April 23, 2013

How to share internet connection (through wifi)

This Tutorial step by step to make our computer or laptop become Hotspot without any software on our area to share internet via wifi. This Tutorial is tested on windows seven.
1. Turn On your wireless on your laptop or Your computer.

2. Open control panel-> network and internet-> network and sharing center-> set up a new connection.



3. Choose set up a wireless bla bla bla.



4. Write your network name and password (pass min 8 digit).



5. Click turn on internet connection sharing.



6. Close if You done.



7. Result:


8. Enjoy..

Saturday, April 20, 2013

How to configure Hyper v server 2008


Since day one of introducing Hyper-V with Windows Server 2008, people on the TechNet forums were wondering if a stand alone Hyper-V server would ever be released and how much would it cost. People were very excited for Hyper-V, but not all of them had a hand on experience on Windows Server 2008 With Hyper-V ! For those people who have been waiting, the day had came and Microsoft released Hyper-V Server 2008, which in absolutely free !
Microsoft Hyper-V Server 2008 requires specific hardware ( they are the same as Hyper-V that is available with Windows Server 2008).
You will need the following:

  • An x64-based processor
  • Hardware-assisted virtualization. This is available in processors that include a virtualization option; specifically, Intel VT or AMD Virtualization
  • Hardware Data Execution Protection (DEP) must be available and be enabled. Specifically, you must enable Intel XD bit (execute disable bit) or AMD NX bit (no execute bit).
Before installing Hyper-V Server 2008 , let me show you a table that will summaries the differences between Hyper-V Server 2008 and Hyper-V role that is available in the different versions of Windows Server 2008.
irtualization Needs
Microsoft Hyper-V Server 2008
Windows Server 2008 Standard
Windows Server 2008 Enterprise
Windows Server 2008 Datacenter
Server Consolidation
Available Available Available Available
Test and Development
Available Available Available Available
Mixed OS Virtualization (Linux and Windows)
Available Available Available Available
Local Graphical User Interface
Available Available Available
High Availability—Clustering
Available Available
Quick Migration
Available Available
Large Memory Support (Host OS) > 32 GB RAM
Available Available
Support for > 4 Processors (Host OS)
Available Available
Ability to Add Additional Server Roles
Available Available Available
Virtualization Rights per Server License
Each VM Guest requires a server license
1 Physical + 1 VM
1 Physical + 4 VMs
1 Physical + Unlimited VMs
Download Hyper-V Server 2008 from this link : http://www.microsoft.com/servers/hyper-v-server/how-to-get.mspx
Once you download the ISO image file, burn it to a DVD disk.
Ready to install Hyper-V Server ? Then boot your machine with the DVD disk inserted into the DVD-Rom, make sure that the DVD-Rom is higher than the Hard disk in the boot sequence of the BIOS.

  1. You will be asked to choose the language of the Wizard, then will select the language that will be installed for your Hyper-V server 2008, the time and currency format and the keyboard language. Once you have made your selections, click on Next





  2. Click on Install now



  3. Accept the license terms, by selecting the checkbox beside I accept the license terms, then click on Next



  4. On the Installation type page, click on Custom (advanced). You will notice that the Upgrade option is grayed out, as Hyper-V Server 2008 can not be upgraded from any previous Windows Operating Systems.



  5. Choose the drive/partition that you wish to install Hyper-V Server on, and then click Next



  6. Installing Microsoft Hyper-V Server 2008 will start, which will include several restarts during installation







  7. Once installation is completed, press CTRL+ALT+DEL to log on.



    Click on Other User



    Type administrator as a username and keep the password textbox empty, then hit the Enter key or click on the arrow button



  8. You will be asked to change the administrator password, click OK



    The new password must meet the following minimum requirements:
    • The password is at least six characters long.
    • The password contains characters from three of the following four categories:
      • English uppercase characters (from A through Z)
      • English lowercase characters (from a through z)
      • Base 10 digits (from 0 through 9)
      • Non-alphanumeric characters (for example: !, $, #, or %)

    Type the new password and confirm it, then click Enter



    You will get a confirmation message that your password has been changed, click OK



  9. The administrator account desktop will be prepared and in few seconds you will be logged in.



  10. You will noticed that the desktop of Hyper-V Server 2008 looks as Windows Server 2008 Server Core but with a new windows called Hyper-V Configuration. Now you can use the blue background screen ( Hyper-V Configuration ), where you can easily configure your basic server settings, instead of memorizing different commands as we did with Windows Server 2008 Server Core.

In the second part of  this article, I will configure Hyper-V Server 2008 ( computer name, domain membership , etc .. ) and then in the last and third part of this article, I will show how to connect to it using the Hyper-V management console using a remote computer.


Summary

A stand alone Hyper-V Server is now available and it is free. You install it on a physical machine and configure it using the Hyper-V Configuration window, then after that, everything that you need to do with the Hyper-V server such as creating new virtual machines, is done using the Hyper-V management console using a remote machine.
As shown in part 1 of this article, the desktop of the Hyper-V server contains only two windows; the Command Line window and the Hyper-V Configuration window. If by mistake you closed any of these windows, you can easily re-open anyone of these windows by following the below steps:

Opening the Command Line window
  1. Click CTRL+ALT+DEL > click on Start Task Manager
  2. Click on New Task...
  3. Type cmd > click Enter or OK


Opening the Hyper-V configuration window
  1. In the command line window, type hvconfig and then click Enter


Now lets start configuring our Hyper-V Server. The Hyper-V Configuration window has a list of configuration that you can go through any of them by typing the number of that item and clicking Enter, you are not obliged to go through them in sequence ( ex. from option 1 download to option 13) . But some options can not be completed, before configuring an option that it depends on. For example, you can not join a domain ( option 1 ) or download updates (option 6)  if you have not configured your network settings first ( option 3 ).  That's why I will configure the options in the way I prefer.
The following configurations are available with the Hyper-V configuration window

Computer Name
  1. Type 2 and click Enter to change the computer name.
  2. Type the new computer name and click Enter

  3. You will be prompted with The computer needs to be restarted in order to complete the operation. The command completed successfully. Click OK

  4. You will be prompted with You must restart your computer to apply these changes. Restart now? , click Yes

  5. After the machine reboots and you logon, you will see the new computer name.



Network Settings
Hyper-V Server network settings can be assigned by a DHCP Server or an IP Address can be assigned manually.
  1. Type 3 and click Enter to configure the Hyper-V Server network settings.

  2. The Network cards that are attached to your machine will be listed



  3. Type the Index# of the adapter you want to configure and click Enter. I only have one network adapter in my server, so I will type 1

  4. You will be presented with the current configuration for the network adapter you selected.



  5. Type 1 and click Enter to configure the IP address for the selected network adapter
  • To set the network card to receive its IP address from a DHCP Server
  1. Type D and click Enter
  • To set a static IP address
  1. Type S and click Enter

  2. Type the IP address then click Enter

  3. Type the subnet mask then click Enter, the default subnet mask is 255.255.255.0 , so you can leave this entry blank and just click Enter

  4. Type the default gateway then click Enter

  • To configure DNS Server settings for the selected network adapter
  1. Type 2 then click Enter

  2. Type the IP address of the DNS server then click Enter



  3. Click OK on the pop up message box : Preferred DNS server set


     
  4. If you have an alternate DNS server, then type its IP address then click Enter. If you do not have an alternate DNS Server, then keep this entry blank and click Enter

  5. If in the previous step you had configured an Alternate DNS Server, then click OK on the pop up message box : Alternate DNS server set
  • To Clear DNS Server Settings, follow these steps:
  1. In the Network Adapter Settings option, type 3 then click OK

  2. Click OK when the pop up message DNS servers removed. DNS servers will be automatically obtained from network is displayed


Add Local Administrator
This option adds a user as a local administrator in the server itself. This option does not create a new user. If your server is on a workgroup and you want to create a new user on the server, then you will need to use the command : Net user username /add

If the server is joined to a domain, then you can set a domain user as a local administrator on this server.
To add a local administrator, follow these steps :
  1. Type 4 and click Enter
  2. Type the username and click Enter, if you the server is joined to a domain, then the username would be domain\username , example : elmajdal\tarek. If the server is in a workgroup, then type the username only as shown in the below image

  3. When prompted, type a password for the user and click Enter
  4. When prompted, type the password a second time and click Enter

  5. Click OK on the confirmation message box User added to local Administrators group. Username.
Domain/Workgroup
By default, Hyper-V Server is joined to the workgroup : WORKGROUP, you can either keep it in the same workgroup, joined it to another workgroup or join it to a domain. In my case, I will keep it in its default workgroup.
If you want to join it to another workgroup, do the following :
  1. Type 1 and click Enter
  2. Type W and click Enter
  3. Type the name of the workgroup you want to join your server to and click Enter

  4. Click OK on the pop up message Welcome to the workgroup: NEW WORKGROUP NAME

To join the server to a domain, do the following :
  1. Type 1 and click Enter
  2. Type D and click Enter
  3. Type the domain name ( ex. ELMAJDAL.NET ) and click Enter
  4. Type the domain username in the following format: domain\user ( ex. ELMAJDAL\TAREK), make sure that this user has the needed permissions to join this server to the domain ( ex. domain admin )

  5. When prompted, type a password for the user and click Enter

  6. You will receive a pop up message You must restart your computer to apply these changes. Restart now? , Click Yes and the server will be restarted


Remote Desktop
  1. Type 7 and click Enter.
  2. Here you have a choice to either selection option 1 or option 2. Option 1 is to allow only clients running remote desktop with Network Level Authentication ( XP SP3, Vista SP1 & Windows Server 2008 ), whereas option 2 to allow clients running any version of remote desktop.



  3. Once you made you selection and clicked on Enter, you will be prompted with a pop up message showing your selection. Click OK



  4. You will notice that the status beside 7) Remote Desktop inside the Hyper-V Configuration window is now displaying as Enabled ( your selection ), where your selection is replaced either by less secure (option 1) or more secure clients only (option 2).



Date and Time
  1. Type 9 and click Enter to configure or modify the Hyper-V Server Date and Time options.
  2. The Date and Time applet will open, configure the desired settings and then click on OK



Regional and Language Options
  1. Type 8 and click Enter to configure or modify the Hyper-V Server Regional and Language options.

  2. The Regional and Language Options applet will open, configure the desired settings and then click on OK


Set Automatic Windows Update

The current Update settings are displayed in the default Hyper-V Configuration window.

To set updates to automatic
  1. Type 5 and click Enter.
  2. Type A and click Enter

  3. You will be prompted with Windows Update set to Automatic. System will check for and install updates every day at 3:00AM
  4. Click OK

  5. You will notice that the Windows Updates Settings status has changed to Automatic


Download and Install Updates

The current Update Status is displayed in the default Hyper-V Configuration window.
  1. Type 6 and click Enter to search for updates. Searching for updates will start and if any updates are available, they will be listed.

  2. If there was no updates to download, then just click on any key to exit from the above window, else type Y and click Enter, this will download the updates and then they will be installed.

Log Off User
  1. Type 10 and click Enter
  2. You will be prompted with Are you sure you want to log off?
  3. Click Yes


Restart Server
  1. Type 11 and click Enter
  2. You will be prompted with Are you sure you want to restart?
  3. Click Yes


Shut Down Server
  1. Type 12 and click Enter
  2. You will be prompted with Are you sure you want to shut down?
  3. Click Yes


Exit to Command Line
  1. Type 13 and click Enter to exit to the Command Line.

Summary

In part two of the article Introducing Microsoft Hyper-V Server 2008, I configured Hyper-V Server so that it is set on the network. In the next and last part of this article, part three,  I will show you how to connect to the server remotely so that you can start creating your virtual machines.