Install Windows 7 on Hyper-V Virtual Machine

Update:

The following sample used wrong Virtual Machine images which was a generation 2 virtual machine, generation 2 virtual machine ONLY support Windows Server 2012 above and Windows 8, so since we talked about Windows 7 installation, please use a General 1 Virtual Machine.

Also, due to Microsoft official: if you are install a Windows 7 64 bits, your Virtual Machine ram should set to 2G please.

We have set a Virtual Machine one Windows Server 2012 using Hyper-V, now we need to install a Windows 7 system on the virtual machine to use the VM.

1: When you set a virtual machine, its state is Off by default. now suppose we want to install a Windows 7 system from an .iso image file, so we need to know how the Virtual Machine can load image file. Right click the virtual machine and select “Settings…”:

Continue reading “Install Windows 7 on Hyper-V Virtual Machine”

Upgrade to Windows Server 2012 R2 from Windows Server 2008 R2

We have a running Windows Server 2008 R2 system, for our development, it has not been used as a stable server, but just for development, so we often change this system due to our different development requests such as testing. Now we receive Windows Server 2012 from Microsoft, which is more closing the cloud service and platform for our company, so we want to upgrade the Windows Server 2008 R2 to 2012 R2, for any new software and existing software in our company.

The following are the steps which we did the upgrading process:

1: Our Windows Server 2008 R2 was running, we inserted Windows Server 2012 install CD (named Microsoft Windows Server 2012 R2 Standard and Datacenter) to optical driver, later we saw the auto run window:

Click “Run setup.exe”;

 image

Continue reading “Upgrade to Windows Server 2012 R2 from Windows Server 2008 R2”

Change Password Policy in Windows Server 2008

Sometimes, for example, in our development environment, we do not want our Windows Server use serious security policy such as password policy, because we want to set a simple password, and never expired, because it is for our development only, not for a real product line.

First let us know what password policy on Windows Server 2008 ?

Continue reading “Change Password Policy in Windows Server 2008”

How to Remote Access to Windows Server 2008 R2

 

We have a Windows Server 2008 R2 server machine which we want to remote access to it.

When we tried to remote access to a Windows Server 2008 R2 system from our local Windows 7 computer, we got the following error:

Remote Desktop can’t connect to the remote computer for one of these reasons:

1) Remote access to the server is not enabled
2) The remote computer is turned off
3) The remote computer is not available on the network

The following is the popup error window:

image

So we know the reason is only 1) Remote access to the server is not enabled because our server is running there. So the question focus on how to enable remote access to the server.

1: Right mouse click Computer in start menu and select Properties:

image

On left panel, select Remote settings:

image

You now see Remote tab window in System Properties:

2: Check on Allow connections from computers running any version of Remote Desktop (less secure).

For the 3rd option which allows connections only from computers running remote Desktop with Network Level Authentication such as Windows Vista, Windows 7 and Windows Server 2008.

image

You will see a popup window to indicate you should enable the Remote Desktop Firewall exception if your firewall is activated.

image

3: Now set firewall by clicking the link on above window:

Now you see Windows Firewall with Advanced Security window, select Inbound Rules in left panel, and locate the item Remote Desktop (TCP-in) in right panel, right click it and select Enable Rules to enable this rule.

image

4: After you set the firewall, now you should go back to the windows which you saw in Step 3 and click Apply button and then OK button:

image

5: Now you can try Remote Desktop Connection from your Windows 7 computer, you should see the following window, no more error windows, so now you can remote control your Windows Server 2008 R2

image

The next we will talk about using a new user to remote access to Windows Server 2008 R2, not using existing user which existing in Windows Server 2008 R2 admin role.