Avatar of benc007
benc007
Flag for United States of America asked on

* Windows Server 2012 VM Help *

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?
Windows OSWindows Server 2012Hyper-V

Avatar of undefined
Last Comment
benc007

8/22/2022 - Mon
Kostas Kostas

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
benc007

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

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
Your help has saved me hundreds of hours of internet surfing.
fblack61
Tom Cieslik

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.
benc007

ASKER
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 Cieslik

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
benc007

ASKER
Where and how do I enter the activation key?
Tom Cieslik

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 ?
benc007

ASKER
I have Windows Server 2012 Data Center.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER CERTIFIED SOLUTION
Tom Cieslik

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
benc007

ASKER
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 Cieslik

I cloned the VM and imported it

Did new cloned VM is connected to Virtual Switch ?
benc007

ASKER
How do I check this?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Tom Cieslik

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.
benc007

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

There's still no internet connection.  Can anyone help?
Tom Cieslik

Can you post IPCONFIG / ALL from HOST and from VM ?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
benc007

ASKER
IPCONFIG/ALL on the HOST looks ok, but on the VM for IPv4 Adress it says Duplicate.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
benc007

ASKER
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 Cieslik

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
benc007

ASKER
By good US IP, I am looking for new IPs that haven't been used for spam and aren't blacklisted.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
benc007

ASKER
Thank you for all your help!!!