Pular para o conteúdo

Problemas com Fast Boot

Por padrão, o Windows 8 (e versões superiores) tem um recurso chamado Fast Boot ativado, que pode ser bastante problemático ao lidar com dispositivos RGB (pelo menos na configuração inicial).

Para desativar o Fast Boot, crie um novo arquivo chamado Disable-fastboot.bat e cole o seguinte código nele:

Terminal window
@echo off
echo Enabling Fast Boot Feature for Full Restart / Shutdown
if _%1_==_payload_ goto :payload
:getadmin
echo UAC Prompt must be accepted...
set vbs=%temp%\getadmin.vbs
echo Set UAC = CreateObject^("Shell.Application"^) >> "%vbs%"
echo UAC.ShellExecute "%~s0", "payload %~sdp0 %*", "", "runas", 1 >> "%vbs%"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
goto :eof
:payload
powercfg /hibernate on
goto :eof
:eof

Clique com o botão direito no arquivo e selecione Executar como Administrador. O Fast Boot deverá estar desativado agora.

Se quiser reativar o Fast Boot, crie outro arquivo chamado Enable-fastboot.bat e cole este código nele:

Terminal window
@echo off
echo Disabling Fast Boot Feature for Full Restart / Shutdown
if _%1_==_payload_ goto :payload
:getadmin
echo UAC Prompt must be accepted...
set vbs=%temp%\getadmin.vbs
echo Set UAC = CreateObject^("Shell.Application"^) >> "%vbs%"
echo UAC.ShellExecute "%~s0", "payload %~sdp0 %*", "", "runas", 1 >> "%vbs%"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
goto :eof
:payload
powercfg /hibernate off
goto :eof
:eof

Clique com o botão direito no arquivo e selecione Executar como Administrador. O Fast Boot deverá estar ativado novamente.