Registry Hack To Disable Automatic Launching Of Menu In Windows Server 2008 Core R2

by [Published on 24 June 2010 / Last Updated on 30 June 2010]

This article explains a registry heck which you can use to disable the automatic launching of Menu when Windows Server 2008 Server Core R2 starts. This applies to Windows Server 2008 Server Core R2 only!

Windows Server 2008 Server Core R2 is released to manufacturing recently. With this edition Microsoft developers have designed a script which launches automatically when Server Core starts. Most of the administrative tasks can be performed using this script (e.g. changing computer name, IP, joining to domain, enabling remote desktop, etc). This is one time configuration. You might need to disable this after you have configured your Server Core to be used in the production environment.

To disable this, follow the steps outlined below:

  • Go to Registry Editor.
  • Navigate to the following location in the registry:
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
  • Edit the value: SConfig and delete the C:\Windows\System32\sconfig.cmd.
  • Restart your Server Core. You will see SConfig.CMD is not launched automatically this time.

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links