We help IT Professionals succeed at work.

* Windows Server 2012 VM Help *

282 Views
Last Modified: 2017-05-29
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

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
Tom CieslikIT Superintendent
CERTIFIED EXPERT
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 Superintendent
CERTIFIED EXPERT
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 Superintendent
CERTIFIED EXPERT
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 Superintendent
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

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 Superintendent
CERTIFIED EXPERT
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 Superintendent
CERTIFIED EXPERT
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 Superintendent
CERTIFIED EXPERT
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 Superintendent
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

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 Superintendent
CERTIFIED EXPERT
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 Superintendent
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Thank you for all your help!!!