* 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?
benc007Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kostas KostasIT AdministratorCommented:
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
0
benc007Author Commented:
How can I create a new VM with Windows O/S and after creating this O/S create administrator accounts for contractors?
0
Kostas KostasIT AdministratorCommented:
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
1
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tom CieslikIT EngineerCommented:
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.
1
benc007Author 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?
0
Tom CieslikIT EngineerCommented:
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.
1
benc007Author Commented:
Where and how do I enter the activation key?
0
Tom CieslikIT EngineerCommented:
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 ?
0
benc007Author Commented:
I have Windows Server 2012 Data Center.
0
Tom CieslikIT EngineerCommented:
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.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
benc007Author 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?
0
Tom CieslikIT EngineerCommented:
I cloned the VM and imported it

Did new cloned VM is connected to Virtual Switch ?
0
benc007Author Commented:
How do I check this?
0
Tom CieslikIT EngineerCommented:
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.
0
benc007Author Commented:
There is a virtual switch for this VM.  Enable virtual identification is not checked.  

There's still no internet connection.  Can anyone help?
0
Tom CieslikIT EngineerCommented:
Can you post IPCONFIG / ALL from HOST and from VM ?
1
benc007Author Commented:
IPCONFIG/ALL on the HOST looks ok, but on the VM for IPv4 Adress it says Duplicate.
0
Tom CieslikIT EngineerCommented:
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.
1
benc007Author 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?
0
Tom CieslikIT EngineerCommented:
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.
0
benc007Author Commented:
By good US IP, I am looking for new IPs that haven't been used for spam and aren't blacklisted.
0
Tom CieslikIT EngineerCommented:
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.
1
benc007Author Commented:
Thank you for all your help!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.