I am having a problem getting corefig running. I did unblock the file and unzipped on a Win12k server. Then opened Explorer and copied the uncompressed files to C:\corefig on the remote Hyper-V machine.
I ran the setup script but the GUI does not come up. When I try to run corefig.ps1 gives an Execution error.
I ran Set-ExecutionPolicy RemoteSigned and still get the below. If I change it to Unrestricted Corefig opens after I confirm with R - Run once, but it asks again for each script I click on. Did I do something wrong in this process?
Thanks,
Todd
PS C:\Corefig> .\corefig.ps1
.\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
I ran the setup script but the GUI does not come up. When I try to run corefig.ps1 gives an Execution error.
I ran Set-ExecutionPolicy RemoteSigned and still get the below. If I change it to Unrestricted Corefig opens after I confirm with R - Run once, but it asks again for each script I click on. Did I do something wrong in this process?
Thanks,
Todd
PS C:\Corefig> .\corefig.ps1
.\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
PS C:\Corefig>