A few notes on the Hyper-V Server configuration script

Hyper-V Server comes with a handy script to assist administrators who don’t like the command line with key configuration items such as domain/workgroup settings; computer name; network settings; adding a local administrator account; Windows Update settings; downloading and installing updates; Remote Desktop connection settings; regional and language options; date and time; logging off, restarting and shutting down a server.

This script is automatically run at first logon but, if you need to run it again later (rather than use the standard commands that hardened server core administrators are now used to!) then the command to run is [%windir%\system32\]hvconfig.cmd (which calls hvconfig.vbs from the appropriate language-dependent subdirectory, e.g. %windir%\system32\en-us\).

Incidentally, the hvconfig script can also be used on a server core installation of Windows Server 2008, as described by Sander Berkouwer (and linked from this blog back in October).

Leave a Reply