This is a group of PowerShell scripts that provide a minimal graphical interface intended to aid in common configuration tasks for Microsoft Hyper-V Server 2012 and the Core editions of Microsoft Windows Server 2012. It is built directly from the scripts in Core Config 2.0, but it is being worked on by a completely different team.

Tested Compatibility

  • Verified: Microsoft Windows Server 2012 (Core Installation)
  • Verified: Microsoft Windows Server 2012 (Complete GUI Installation)
  • Verified: Microsoft Hyper-V Server 2012
  • Not verified but should function: Microsoft Windows Server 2012 (Minimal Server Interface Installation)
  • Verified to be partially functional: Microsoft Windows 8 Professional
  • Verified to be partially functional (not recommended for this or any other Windows version prior to 8 and 2012): Microsoft Windows 7 Enterprise SP1 with Windows Management Framework 3.0
  • Minimal verification performed: Windows Server 2012 R2


  1. From the Downloads page, acquire the ZIP or ISO distribution
  2. If you have downloaded the ZIP version, you must unblock it using one of the following methods:
    1. In Windows Explorer, go to Properties of the file, and click the "Unblock" button.
    2. In PowerShell, use the Unblock-File cmdlet.
  3. Create a folder on the root of the target system. Ex: MD C:\Corefig
  4. Copy the contents of the ZIP or ISO to the newly created folder.


  1. Delete the folder created in step 3 of the installation instructions.
  2. Delete the "Corefig" folder created under %ALLUSERSPROFILE% (C:\ProgramData on most systems)
  3. If you wish to reverse the PowerShell execution policy set by Corefig, open a PowerShell prompt and run the following: Set-ExecutionPolicy Restricted (note that other scripts you use may rely on a RemoteSigned or looser policy)


This tool can only be run from the console of the system to be managed.

  1. At a command prompt, switch to the folder that you created in step 3 of the installation instructions, ex: CD /D C:\Corefig
  2. For the first run, run: CSCRIPT Start_corefig.wsf
  3. You may use the Start_corefig script on each run, but on successive runs you could use the following instead: POWERSHELL .\COREFIG.PS1

Common Problems

  • Restricted Execution Problems

    The number one most commonly reported problem is with execution errors even when the system execution policy is RemoteSigned or Unrestricted. These errors have always been sourced to the .PS1 files being marked as Blocked. Please refer to step 2 in the installation directions above. It is easier to unblock the ZIP file and re-extract it than to unblock each individual script file.

Reporting Issues

Please do not use the comments section on this page to report problems, as no one is alerted. Use the Discussions page instead.

Last edited Aug 21, 2014 at 5:43 PM by ejsiron, version 7


jbriscoe1 Apr 14, 2014 at 9:19 PM 
In order for me to get this working, I had to follow the instructions here

If you don't want to read through the badly translated Russian, one of the comments recommends replacing all instances of "oclist" with "dism". I guess Hyper V Server 2012 R2 doesn't recognize oclist anymore?

The error that led me to that post was "C:\Corefig\Start_Coreconfig.wsf <292, 6> WshShell.Exec: The System cannot find the file specified."

emoxam Feb 1, 2014 at 3:09 PM 
"If you have downloaded the ZIP version, you may need to right-click on it in Windows Explorer,"
Are you serious ? On hyper-v server or core edition ?

r1ch13 Jan 17, 2014 at 8:01 PM 


The Licencing.ps1 file contains these lines on 1258 - 1263

$TextStrings.Info{$pboxInfo.visible = $true}
$TextStrings.Error {$pboxError.visible = $true}
$TextStrings.Warning{$pboxWarning.visible = $true}

A space needs to placed between $TextStrings.Info and the curly bracket, and there needs to be a space between $TextStrings.Warning and the curly bracket like so...

$TextStrings.Info {$pboxInfo.visible = $true}
$TextStrings.Error {$pboxError.visible = $true}
$TextStrings.Warning {$pboxWarning.visible = $true}

Everyone else will have this same problem in Corefig 1.1.1 unless they make these changes.

Good luck,

TheExpert Nov 6, 2013 at 5:40 PM 
Doesn't work correct with Microsoft Hyper-V Server 2012 R2:

1. There are no VMs listed in the Hyper-V Manager part of Corefig.
2. The Licensing section isn't working.

briangw Oct 23, 2013 at 6:30 PM 
I can confirm that Corefig 1.1 does work on Hyper-V Server 2012. Been running it for months with none of the errors you mentioned. However, just upgraded to Hyper-V Server 2012 R2 and the Licensing section seems to be broken when attempting to open it:

At C:\Corefig\licencing.ps1:1260 char:49
+ $TextStrings.Info{$pboxInfo.visible = $true}
+ ~
Missing statement block in switch statement clause.
At C:\Corefig\licencing.ps1:1262 char:56
+ $TextStrings.Warning{$pboxWarning.visible = $true }
+ ~
Missing statement block in switch statement clause.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : MissingSwitchStatementClause

mnguyenvan Jun 21, 2013 at 12:52 PM 
Managed to use the tool after meeting the restricted execution error :
Begin by :
CSCRIPT Start_corefig.wsf
as asked.
Then run PowerShell :
In PowerShell screen :
set-executionpolicy unrestricted
And last :
Accept its execution by Yes
The Corefig GUI displays. For each job you click you must return into PowerShell screen to say Yes to accept the execution of the job.

solr Jun 7, 2013 at 10:04 PM 
Does not work properly on a Hyper-V Server 2012. Keep getting restricted execution errors on each click, in the GUI, even though Set_ExecutionPolicy is Unrestricted!