You have a Microsoft Hyper-V Server 2008 R2 server. You need to join the server to an
existing Active Directory Domain Services (AD DS) domain. Which should you use?
A.
ocsetup
B.
hvconfig
C.
sc config
D.
net config
Explanation:
Making HVConfig work on a normal Server Core installation Microsoft’s Hyper-V Server
2008 product comes with a wizard, that allows easy configuration of the Server Core-based
subsystem.This tool can be used on normal Server Core installations of Windows Server 2008 too. This
blogpost describes what files to copy from a US English Hyper-V Server 2008 installation,
where to place them and how to install this wizard to auto run. All in five easy steps! Tip!
When you’re using a different language change the En-Us bit for the files accordingly:
Step 1
You will need to following files from a Hyper-V Server 2008 installation:
C:\Windows\System32\hvconfig.cmd
C:\Windows\System32\en-US\hvconfig.vbs
C:\Windows\System32\en-US\WUA_SearchDownloadInstall.vbs
These files are also attached to this blogpost. Check the end of this post for a download link.
Step 2
Copy the files to their respective location on your Server Core installation.
Review the instructionhereto get files onto your Server Core box.
Step 3
Open the Registry Editor, by runningregedit.exeand browse to the following location:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Create a new String value (REG_SZ) named HVConfig. Right click it and selectModify
Datafrom the context menu. TypeC:\Windows\system32\hvconfig.cmdas the data and press
theOKbutton to save.
Close the Registry Editor.
Step 4
Log off by typinglogoffon the command prompt. Log on using an account with administrative
privileges.
Step 5 (Optional)
Optionally change the contents of hvconfig.vbs to display another header.
Since we’re no longer running the script on Hyper-V Server it would be appropriate to
change the top banner.
Type the following command:
Notepad.exe C:\Windows\system32\en-US\hvconfig.vbs
Now change theL_Msg005_Textconstant to something appropriate.
Tip!
You can also change the color of the screen by changing the second line in HVConfig.cmd.
Default color is 17
(White on Blue), but I prefer 47. (White on Red)