Mar 25, 2017 11:46 PM
(This post was last modified: Mar 25, 2017 11:48 PM by Phlox.)
Windows puts a tiny delay on startup to help apps starting up with Windows smoothly go through the process, and you start with a smooth desktop without lags. However, if you don’t have many startup apps, like if you have disabled startup apps, then this delay could be unnecessary. You can disable this delay to speed up the Windows startup with the batch script attached to this thread.
I have many more Windows registry hacks at below url link:
List of Windows Registry Hacks
Code
@Echo Off
Title Dost-Tech.com & Color 1A
Cd %systemroot%\system32
REM --> Check for permissions
Reg query "HKU\S-1-5-19\Environment"
REM --> If error flag set, we do not have admin.
if %errorlevel% NEQ 0 (
ECHO **************************************
ECHO Running Admin shell... Please wait...
ECHO **************************************
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = "%*:"=""
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
Cls & Mode CON LINES=11 COLS=70 & Color 0D & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
Echo º Do You Want To Disable Windows Startup Delay (Y/N)? º
Echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
Echo.
Echo.
Set /p input= RESPONSE:
If /i Not %input%==Y (Goto :_Ex) Else (Goto :_Start)
:_Ex
If /i Not %input%==N (Goto :EOF) Else (Goto :_RegRestore)
:_Start
Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Serialize" /v "StartupDelayInMSec" /t REG_DWORD /d "0" /f > Nul
Cls & Mode CON LINES=11 COLS=50 & Color 0D & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
Echo º Windows Startup Delay Disabled º
Echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
Echo.
Echo.
ping -n 6 localhost >Nul
Exit
:_RegRestore
Reg Query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Serialize" > Nul
If %ErrorLevel% EQU 1 Goto :EOF
Reg.exe delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Serialize" /f > Nul
Cls & Mode CON LINES=11 COLS=50 & Color 0D & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
Echo º Windows Startup Delay Enabled º
Echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
Echo.
Echo.
ping -n 6 localhost >nul
ExitI have many more Windows registry hacks at below url link:
List of Windows Registry Hacks

