A few notes on the Hyper-V Server configuration script

This content is 15 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

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

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.