[Windows 8 General] sbasil:
Here's another small script just for the fun of it. You can turn driver signing ON / OFF with it (I may be reinventing the wheel here, but I so wanted to do something nerdy). This is for x64 Windows only. You only need this if you're installing unsigned drivers, such as Intel Android Device USB driver and iSocUSB. And yes, you can also do it manually, but I don't wanna cause I'm a "bat-man."

Here's how:

Run it as administrator. It checks and shows the current status and asks if you want to change it. If you answer yes --> wham-bam-boom, status changed (after a reboot). And if you want to change the driver signing back on/off, just re-run the script and it'll reverse the changes (if you so choose).

HERE's a download for it (DSSCT - DriverSigningStatusChangerTool) :cyclops:

And here's the code:

@echo off

mode con: cols=70 lines=40

set Green="%~dp0\tools\chgcolor.exe" A

set Yellow="%~dp0\tools\chgcolor.exe" E

set BWhite="%~dp0\tools\chgcolor.exe" F

set Gray="%~dp0\tools\chgcolor.exe" 7

set Red="%~dp0\tools\chgcolor.exe" C

%Yellow%

echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo.

echo _______________________________________________________________

echo.

echo A SMALL SCRIPT TO ENABLE OR DISABLE DRIVER INTEGRITY

echo CHECKS FOR x64 WINDOWS.

%Green%

echo.

echo PLEASE WAIT WHILE READING THE CURRENT STATUS...

%Yellow%

echo _______________________________________________________________

%Green%

bcdedit > "%~dp0\status.txt"

cls

FINDSTR /C:"ENABLE_INTEGRITY_CHECKS" "%~dp0\status.txt" >nul 2>&1

IF %ERRORLEVEL% EQU 1 (

SET STATUS_DS_=DRIVER SIGNING IS DISABLED && goto ENABLE_DS

) ELSE ( SET STATUS_DS_=DRIVER SIGNING IS ENABLED && goto DISABLE_DS

)

echo.

:ENABLE_DS

echo.

%Yellow%

echo %STATUS_DS_%

echo.

echo ------------------------------------------------------------------

%Green%

echo.

echo DO YOU WANT TO ENABLE IT?

echo.

%Gray%

echo When it's enabled, you cannot install unsigned drivers.

%Yellow%

echo.

echo ------------------------------------------------------------------

echo.

%BWhite%

choice /c:YN /M ""

IF %ERRORLEVEL% == 2 GOTO EXIT

IF %ERRORLEVEL% == 1 GOTO NEXT_E

:NEXT_E

cls

Bcdedit.exe -set loadoptions ENABLE_INTEGRITY_CHECKS && Bcdedit.exe -set TESTSIGNING OFF

::powershell -c start -verb runas "Bcdedit.exe '-set loadoptions ENABLE_INTEGRITY_CHECKS'"

::powershell -c start -verb runas "Bcdedit.exe '-set TESTSIGNING OFF'"

cls

echo.

echo DRIVER SIGNING IS NOW ENABLED [WINDOWS DEFAULT]

echo.

%Red%

echo You need to restart your computer for the changes to take effect.

echo.

pause

GOTO EXIT

:DISABLE_DS

echo.

%Yellow%

echo %STATUS_DS_%

echo.

echo ------------------------------------------------------------------

%Green%

echo.

echo DO YOU WANT TO DISABLE IT?

%Gray%

echo.

echo When it's disabled, you will be able to install unsigned drivers.

%Yellow%

echo.

echo ------------------------------------------------------------------

echo.

%BWhite%

choice /c:YN /M ""

IF %ERRORLEVEL% == 2 GOTO EXIT

IF %ERRORLEVEL% == 1 GOTO NEXT_E_D

:NEXT_E_D

cls

Bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS && Bcdedit.exe -set TESTSIGNING ON

::powershell -c start -verb runas "Bcdedit.exe '-set loadoptions DDISABLE_INTEGRITY_CHECKS'"

::powershell -c start -verb runas "Bcdedit.exe '-set TESTSIGNING ON'"

cls

echo.

echo DRIVER SIGNING IS NOW OFF

echo.

%Red%

echo You need to restart your computer for the changes to take effect.

echo.

pause

:EXIT

del /Q "%~dp0\status.txt"

cls

echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo.

echo BYE!!!

timeout /t 4 > null

del /Q "%~dp0\null"

EXIT