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 F Robbins

Mike F Robbins is a Microsoft MVP on Windows PowerShell and a SAPIEN Technologies MVP. He is a co-author of Windows PowerShell TFM 4th Edition and is a contributing author of a chapter in the PowerShell Deep Dives book. Mike has written guest blog articles for the Hey, Scripting Guy! Blog, PowerShell Magazine, and PowerShell.org. He is the winner of the advanced category in the 2013 PowerShell Scripting Games. Mike is also the leader and co-founder of the Mississippi PowerShell User Group. He blogs at mikefrobbins.com and can be found on twitter @mikefrobbins.
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