Quantcast
Channel: Corefig for Windows Server 2012 Core and Hyper-V Server 2012
Viewing all 184 articles
Browse latest View live

New Post: fail to enable NetFX4

$
0
0
ejsiron wrote:
Are you starting it with "Start_corefig.wsf" or "POWERSHELL .\COREFIG.PS1"? If you haven't already, try the latter.
Yes, I read the Document carefully, and followed the Operation precisely.

First, download the .Zip file, and extract to C:\corefig

Second, run "Start_Corefig.wsf", asking for enable NetFX4 and Powershell, click "YES", failed.

Third, run “POWERSHELL .\COREFIG.PS1”, refuse to excute the script. Then I run "set-ExecutionPolicy RemoteSigned", finally WORKS.

Many thanks.

New Post: fail to enable NetFX4

$
0
0
My fault....

I shall run the corefig in the hyper-v server, not in my windows 8 Pro.

So sorry...

Updated Wiki: Documentation

$
0
0

Overview

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

Installation

  1. From the Downloads page, acquire the ZIP or ISO distribution
  2. If you have downloaded the ZIP version, you may need to right-click on it in Windows Explorer, go to Properties, and click the "Unblock" button.
  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.

Uninstallation

  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 policy)

Operation

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

New Post: Autostart Corefig

$
0
0
Just a quick tip for anyone wanting to autostart Corefig when they RDP into their Hyper-V server. (These instructions assume a default installation in C:\Corefig)
  1. Log into your Hyper-V server.
  2. From the command prompt (the black window), type notepad and press enter.
  3. In the notepad window, paste in the below
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"corefig"="powershell.exe -file C:\corefig\corefig.ps1"
  1. Save the file as Start.reg, change the 'Save as type' to All Files and click 'Save'.
  2. Go back to the command prompt, type start.reg and select yes at the confirmation prompt.
  3. Log off and log back in and Corefig will autostart alongside with the command prompt and powershell window.

Created Issue: Cannot get Corefig to run [965]

$
0
0
Hi,

I have instlaled following the instructions on Windows Hyper -v Server 2012

When I run cscript start_corfig.wsf

the detction happens then a blue box flashes and goes away

If I then try to launch Corefig using powershell .\corefig.ps1 I get the following error

.\corefig.ps1 : File C:\corefig\Corefig.ps1 cannot be loaded. The file
C:\corefig\Corefig.ps1 is not digitally signed. The script will not execute on
the system. For more information, see about_Execution_Policies at
http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ .\corefig.ps1
+ ~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

If I change execution policy to unrestricted then run powershell corefig.ps1

I get apromopt about rrunning the script I say yes, and then every option I pick creates the same prompt.

Any suggestions

thanks

Commented Issue: Cannot get Corefig to run [965]

$
0
0
Hi,

I have instlaled following the instructions on Windows Hyper -v Server 2012

When I run cscript start_corfig.wsf

the detction happens then a blue box flashes and goes away

If I then try to launch Corefig using powershell .\corefig.ps1 I get the following error

.\corefig.ps1 : File C:\corefig\Corefig.ps1 cannot be loaded. The file
C:\corefig\Corefig.ps1 is not digitally signed. The script will not execute on
the system. For more information, see about_Execution_Policies at
http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ .\corefig.ps1
+ ~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

If I change execution policy to unrestricted then run powershell corefig.ps1

I get apromopt about rrunning the script I say yes, and then every option I pick creates the same prompt.

Any suggestions

thanks
Comments: ** Comment from web user: ejsiron **

The files still have the alternate data stream that has them marked as blocked. Please [read and follow item #2 on the installation instructions](https://corefig.codeplex.com/documentation). Re-extract the files from an unblocked ZIP and try again.

Closed Issue: Cannot get Corefig to run [965]

$
0
0
Hi,

I have instlaled following the instructions on Windows Hyper -v Server 2012

When I run cscript start_corfig.wsf

the detction happens then a blue box flashes and goes away

If I then try to launch Corefig using powershell .\corefig.ps1 I get the following error

.\corefig.ps1 : File C:\corefig\Corefig.ps1 cannot be loaded. The file
C:\corefig\Corefig.ps1 is not digitally signed. The script will not execute on
the system. For more information, see about_Execution_Policies at
http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ .\corefig.ps1
+ ~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

If I change execution policy to unrestricted then run powershell corefig.ps1

I get apromopt about rrunning the script I say yes, and then every option I pick creates the same prompt.

Any suggestions

thanks

New Comment on "Documentation"

$
0
0
On my Hyper-V Server 2012 server Corefig does not display any GUI, when following the above instructions. The error I get says "the script is not digitally signed"

New Comment on "Documentation"

$
0
0
Just ran SetExecutionPolicy Unrestricted, and it worked. The install did not set this parameter to the correct state.

New Comment on "Documentation"

$
0
0
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!

New Post: Cannot Open CoreConfig in Windows Server 2012 Core and Hyper-V 2012

$
0
0
Hi ,
I-m having the same issue here .
Windows 2012 Hyper-v Server .
I've set execution policy to remotesigned but still when I launch start_coreconfig.wsf it starts and then closes without any gui
Any idea ?
thanks

New Post: Cannot Open CoreConfig in Windows Server 2012 Core and Hyper-V 2012

New Post: Cannot Open CoreConfig in Windows Server 2012 Core and Hyper-V 2012

$
0
0
My problem was I was unzipping the files and copying the entire folder over the Win12 server.

So Unblock the downloaded zip
Unzip files
Create new folder on Win12 server
Copy FILES to new dir on Win12 server
Run setup.

That has worked for me every time.

Hope this helps.

New Comment on "Documentation"

$
0
0
Manage to use the tool after meeting the restricted execution error : Begin by : CSCRIPT Start_corefig.wsf as asked. Then run PowerShell : powershell In PowerShell screen : set-executionpolicy unrestricted And last : POWERSHELL .\COREFIG.PS1 The GUI displays. For each job you click you must return into PowerShell screen to say Yes to the execution question.

New Comment on "Documentation"

$
0
0
Manage to use the tool after meeting the restricted execution error : Begin by : CSCRIPT Start_corefig.wsf as asked. Then run PowerShell : powershell In PowerShell screen : set-executionpolicy unrestricted And last : POWERSHELL .\COREFIG.PS1 Accept the 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.

New Comment on "Documentation"

$
0
0
Managed to use the tool after meeting the restricted execution error : Begin by : CSCRIPT Start_corefig.wsf as asked. Then run PowerShell : powershell In PowerShell screen : set-executionpolicy unrestricted And last : POWERSHELL .\COREFIG.PS1 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.

New Comment on "Documentation"

$
0
0
Managed to use the tool after meeting the restricted execution error : Begin by : CSCRIPT Start_corefig.wsf as asked. Then run PowerShell : powershell In PowerShell screen : set-executionpolicy unrestricted And last : POWERSHELL .\COREFIG.PS1 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.

New Post: Cannot Open CoreConfig in Windows Server 2012 Core and Hyper-V 2012

$
0
0
Unzipped the files correctly and it works great. This a great tool to help get remote management setup. Thanks for the hard work.

New Post: Corefig will always install net4 and powershell

$
0
0
Hello Guy's,
i have install corefig on my Windows Hyper-V Core 2012 Server.
  1. i copied all files to C:\corefig
  2. i start the cmd an run CSCRIPT Start_corefig.wsf
  3. corefig ask me to install net4 and powershell -> i click YES
  4. i opend the regedit an create a new reg-entrie to start corefig automatic
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    "corefig"="powershell.exe -file C:\corefig\corefig.ps1"
After the first start it works fine, but after the second start he ask me with yes or no to install Net4 and Powershell.

what is my fault? thanks for help :)

New Post: Corefig will always install net4 and powershell

$
0
0
It's not your fault.
Is there another line in the Run key? The .ps1 file itself doesn't ask to install anything, but the Start_Corefig.wsf file does.
Viewing all 184 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>