AMISCE is a tool to modify BIOS NVRAM variables including options that are not visible through UEFI. As far as I know, it is exclusively shipped with MSI Center, which is the only official source. This repository was created to provide the SCEWIN binaries without requiring the installation of MSI bloatware, and to offer solutions for various error messages.
This project is NOT owned, supported or endorsed by American Megatrends (AMI). Improper use could cause system instability. Use at your own risk.
-
Run the
Export.bat
script to export NVRAM setting values tonvram.txt
-
Depending on the type of variable, move the
*
to the desired option or change the value -
Run the
Import.bat
script to write the configuration innvram.txt
to NVRAM
To determine the error message, a log-file.txt
is generated while running either Export.bat
or Import.bat
, containing the output messages. The solutions for error messages can be found below.
The error codes can be divided into 3 categories:
This error occurs:
- When the drivers (originally named
amifldrv64.sys
andamigendrv64.sys
) is not in the same folder whereSCEWIN_64.exe
is located - The command wasn't run with admin privileges
To fix this error:
- Be sure that the folder contains both
amifldrv64.sys
andamigendrv64.sys
- Be sure to run CMD with admin privileges
This error occurs:
- If the command used is incorrect or doesn't exist
To fix this error:
- Verify that the command is correct
- When importing, make sure that the NVRAM script file exists and has the same name as specified in the command
This error occurs:
- When HII resources aren't getting published, therefore there is no data for the program to work with
To fix this error:
- If you have an ASUS motherboard (Z590+, B560+, H510+ | X670+, B650+, A620+) go here
- I have not yet developed a solution for non-ASUS motherboards. It is currently being investigated
This error occurs:
-
As the error message states, the BIOS may not be compatible. This can only happen if the BIOS is not from AMI therefore it won't work with any of AMI's tools
-
In order to check for BIOS manufacturer, paste the command below in CMD. If the vendor listed is "American Megatrends Inc." or "AMI" then you have an AMI BIOS
systeminfo | findstr /I /C:BIOS
-
-
The
SmiVariable
is absent or outdated -
When using an outdated version of SCEWIN (e.g. version
5.03.1115
) as newer motherboards only work with newer versions
Platform identification depends on the ACPI module label (for Aptio V).
This error occurs:
- When the Aptio core version is outdated. AMISCE requires Aptio core version 5.008+ for UEFI 2.3
To fix this error:
-
You may override this error with
/d
option as shown belowSCEWIN_64.exe /o /s nvram.txt /d
This error occurs:
- The variable to be updated is write-protected
PCI Device
has been disabled in Device Manager
To fix this error:
-
Enable
PCI Device
s as follows:- Open Device Manager by typing
devmgmt.msc
inWin+R
- Navigate to
Other devices
- Ensure that all
PCI Device
s are enabled
- Open Device Manager by typing
-
If you have an ASUS motherboard (Z790+, B760+, H770+ | X670+, B650+, A620+) go here
-
If you have an ASRock motherboard (Z590+, B560+, H510+ | X670+, B650+, A620+) go here
-
I have not yet developed a solution regarding variable write-protection for non-ASUS/ASRock motherboards. It is currently being investigated
This error occurs:
-
You imported the NVRAM script file back unchanged, therefore SCEWIN didn't have to modify anything
-
SCEWIN was unable to apply the changes you made
- This is related to the previous error
This error occurs:
- When there is an error in the specified line number (indicated by the
xxxx
)
To fix this error:
- Comment out the setting or resolve the error manually
These two errors are related.
This error occurs:
-
When there is no value specified for
token
in the NVRAM script file (no "*" next to either option). The line specified in the error message is the same as the line of the last option in theSetup question
, whose token we just searched for.
To fix this error:
-
Put a "*" next to the value that
BIOS Default
suggests -
You can use the
/q
option to suppress all warning messages as shown below. This warning message will not appear when importing, along with other (perhaps) useful onesSCEWIN_64.exe /i /s nvram.txt /q
WARNING: Length of string for control <Setup Question> not updated as the value/defaults specified in the script file doesn't reach the minimum range (<value>)
This error occurs:
- When the string given in the script is shorter than the minimum length specified in NVRAM external defaults (most likely). The usual cause for this is that the string has an initial empty value
Warning
Do NOT change the value of the string!
To fix this error:
-
You can use the
/q
option to suppress all warning messages. This warning message will not appear when importing, along with other (perhaps) useful onesSCEWIN_64.exe /i /s nvram.txt /q
-
Don't bother with it and leave it as is
If you have an ASUS motherboard (Z590+, B560+, H510+ | X670+, B650+, A620+) follow the steps below.
- Go to
Setup > Tool
section of your BIOS - Enable
Publish HII Resources
This way HII data will be published to the driver in which, SCEWIN should work flawlessly.
This section is only required if you have a Z790+, B760+, H770+ | X670+, B650+, A620+ motherboard. These motherboards require an additional workaround as they password protect the various runtime variables.
After following the above-mentioned steps, you need to disable Password protection of Runtime Variables
. In order to do so, follow the steps below.
- Go to
Setup > Advanced > UEFI Variables Protection
section of your BIOS - Disable
Password protection of Runtime Variables
If you have an ASRock motherboard (Z590+, B560+, H510+ | X670+, B650+, A620+) follow the steps below. These motherboards require an additional workaround as they password protect the various runtime variables.
- Go to
Setup > Advanced > UEFI Variables Protection
section of your BIOS - Disable
Password protection of Runtime Variables
To access this setting, you need to mod your BIOS with UEFI Editor. ASRock's BIOS has 2 Advanced forms so you need to do a Menu swap in order to gain access to the setting.
Additional error messages or possible non-working solutions should be reported in the issue tracker.
Complete the appropriate issue template. Consider whether your problem is covered by an existing issue; if so, follow the discussion there. Avoid commenting on existing recurring issues, as such comments do not contribute to the discussion of the issue and may be treated as spam.