* Windows Server 2012 VM Help *

benc007
benc007 used Ask the Experts™
on
I have Windows Server 2012 Data Center with a few VMs on it.

1) In Hyper-V Manager, how can I see the OS and version installed on each VM?  
2) How can I create a new VM with Windows O/S?  After creating this O/S how can I create administrator accounts for contractors?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Kostas KostasIT Administrator

Commented:
Hi,

If you know computernames of the CM use CIM in powershell.

To see OS type the following command and in localhost type the computernames with ,

Get-WmiObject win32_OperatingSystem -ComputerName localhost

For example

Get-WmiObject win32_OperatingSystem -ComputerName server1,server2

If you want more details you can visit my blog in related article

http://www.askme4tech.com/cim-instead-wmi-discover-monitor-info

Author

Commented:
How can I create a new VM with Windows O/S and after creating this O/S create administrator accounts for contractors?
Kostas KostasIT Administrator

Commented:
I wrote lot of articles related to HYPER-V.

you can find the answer in the following articles

http://www.askme4tech.com/create-virtual-machine-windows-81-hyper-v
http://www.askme4tech.com/create-and-configure-virtual-machine-powershell

After create the Virtual Machine you can open HYPER-V Manager

1. Click in VM that you have create
2. Click in Settings from th right side
3. Create a new DVD Drive
Select to boot from the image with OS.

After setup the the OS yo can log in , go in Computer Manager in users and create administrator accounts
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
1. You need to have access to Hyper-V console as Admin
2. You need to have installation DVD or ISO file for OS you want to install
3. In Hyper-V console Right Click on your Host name on left, go to NEW / Virtual Machine
4. You need to decide about:
- Name
-How many virtual processors you want to assign
- How much memory you want to assign
- Select place for Virtual Disk
- Select Virtual switch you want to connect to
-Select if you want to start new VM from DVD or ISO (installation)

This is pretty much all you need to decide about. Then you fallow installation procedure like normal computer.
After that you login to VM as local admin and you must (if you want) add it to domain
Login as domain admin and check if all is working properly
Next step would be add a users or a group to local admin in this VM - I assume You have contractors accounts or Group on your DC
Next step will be enabling Remote Desktop on this VM to allow your contractors login remotely.

Then all you must is give them IP or name of this new computer and let them log on.
If you going to user regular windows license and new VM is going to be regular Windows 7/8/10 workstation then only one person can be logon at same tame. If VM is going to care server license then 2 admins can logon in same time.
If you want more then you need install Terminal Services and purchase licenses, but then you must reconfigure your VM to use much more memory and more processors to handle traffic.

Author

Commented:
I have Windows Server 2012 Data Center but after I installed the ISO for the new VM, I see this error http://prnt.sc/ey0j9o

I updated Windows and restarted the VM, but this message still appears.  How do I remove the message?
Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
This is not the error.
You must put new activation key and activate Windows.
It looks like you've used this ISO from previous installation and Windows automated activation is not working anymore.
This was Evaluation version so it was OK for 6 months, not anymore.,
You need to use Retail, VL or MAC installation.

Author

Commented:
Where and how do I enter the activation key?
Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
You can't to evaluation version.
Evaluation version is for test only and for periodic designated time only.
After this time will stop working.
You need to use other version. What key you have ? VL, MAK, RT ? to what windows 20012 or 2012R2 ?

Author

Commented:
I have Windows Server 2012 Data Center.
IT Engineer
Distinguished Expert 2017
Commented:
So you need use Windows 2012 Datacenter iso file or you can try convert your Evaluation to Full

Most evaluation versions can be converted to full retail versions, but the method varies slightly depending on the edition. Before you attempt to convert the version, verify that your server is actually running an evaluation version. To do this, do either of the following:
From an elevated command prompt, run slmgr.vbs /dlv; evaluation versions will include “EVAL” in the output.
From the Start screen, open Control Panel. Open System and Security, and then System. View Windows activation status in the Windows activation area of the System page. Click View details in Windows activation for more information about your Windows activation status.
If you have already activated Windows, the Desktop shows the time remaining in the evaluation period.
If the server is running a retail version instead of an evaluation version, see the “Upgrading previous licensed versions” section of this document for instructions to upgrade to Windows Server 2012.
For Windows Server 2012 Essentials: You can convert to the full retail version by entering a retail, volume license, or OEM key in the command slmgr.vbs.
If the server is running an evaluation version of Windows Server 2012 Standard or Windows Server 2012 Datacenter, you can convert it to a retail version as follows:
If the server is a domain controller, you cannot convert it to a retail version. In this case, install an additional domain controller on a server that runs a retail version and remove AD DS from the domain controller that runs on the evaluation version. For more information, see http://technet.microsoft.com/library/hh994618.aspx.
Read the license terms.
From an elevated command prompt, determine the current edition name with the command DISM /online /Get-CurrentEdition. Make note of the edition ID, an abbreviated form of the edition name. Then run DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula, providing the edition ID and a retail product key. The server will restart twice.

Author

Commented:
I cloned the VM and imported it, rename it then restarted the VM, updated the IP / subnet mask / default gateway / DNS servers, restarted the VM ... but there's no internet connection now.  How do I fix this?
Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
I cloned the VM and imported it

Did new cloned VM is connected to Virtual Switch ?

Author

Commented:
How do I check this?
Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
Open Hyper-V manager
Right click on VM machine and go to settings
Under Network Adapter check on right what kind of Network Switch is selected.

Author

Commented:
There is a virtual switch for this VM.  Enable virtual identification is not checked.  

There's still no internet connection.  Can anyone help?
Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
Can you post IPCONFIG / ALL from HOST and from VM ?

Author

Commented:
IPCONFIG/ALL on the HOST looks ok, but on the VM for IPv4 Adress it says Duplicate.
Tom CieslikIT Engineer
Distinguished Expert 2017
Commented:
It looks like you have duplicated IP address on your network.
Try PING some address you think is not occupied in your network and if you'll get no answer then assign this IP to VM.

Author

Commented:
I assigned a different IP to the VM and it worked.

Where are some good places to get fast US IP addresses for more VMs which are reasonably priced?

How much do good and fast US IP addresses usually cost?
Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
What do you mean US good IP ?
If you need external (internet) IP address then you will get it from your Internet Provider. If you're in other than US country then you can't get US IP address.
IP is a form of internet user identification so for example you can't get US IP address if your server is physically installed in China.

Author

Commented:
By good US IP, I am looking for new IPs that haven't been used for spam and aren't blacklisted.
Tom CieslikIT Engineer
Distinguished Expert 2017
Commented:
No way to check it before, but if someone gave up this IP it has to be quarantined for at least 3 months by law.
You can try call your ISP and ask if you can order static IP but you need to know in advance what IP you'll get to check reputation.
Maybe they will give you this info.

Author

Commented:
Thank you for all your help!!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial