Hyper-V Server 2008 R2 Server Configuration Menu

Problem:
You’ve closed the Hyper-V Server 2008 R2 Server Configuration menu and need to re-open it:
closedsconfig

Solution:
The command to re-open this window has changed with the R2 release. The new command is sconfig.cmd, with the non-R2 version, the command was hvconfig.cmd. Start Windows Task Manager by pressing Ctrl & Shift & Esc. Click File>New Task:
taskmanager

Type cmd.exe /k C:\Windows\system32\sconfig.cmd and click ok:
sconfigcmd

You now have a new Server Configuration window:
configmenu

Simply entering sconfig.cmd in the command prompt window will work, but you’ll lose your command prompt window so it is a less than desirable solution.

µ

About Mike Robbins

PowerShell Enthusiast | IT Pro | Winner of the Advanced Category in the 2013 PowerShell Scripting Games | Author of Chapter 6 in the PowerShell Deep Dives Book.
This entry was posted in Hyper-V Server 2008 R2. Bookmark the permalink.

2 Responses to Hyper-V Server 2008 R2 Server Configuration Menu

  1. Chris says:

    Has anyone found a way to reverse the option “10) Do not display this menu at login”? A customer has done this and now we permanently have a single command line window. I’d like to re-enable it so that both command line and the Server Configuration tool are opened upon login. Thanks!

    • Chris says:

      I figured out how to do it the hard way by sorting through the menu code and discovered that it just removes a registry key. For other’s benefit, here is the command that I ran to re-insert the registry key and activate the menu again:

      REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionRun /v sconfig /t REG_SZ /d "cmd.exe /k C:Windowssystem32sconfig.cmd"

      If anyone has a simpler way to do it, feel free to respond and share with others. :)

Leave a Reply