Skip to content Skip to sidebar Skip to footer

Mengoptimalkan Performa Windows

Cara Ampuh Mengoptimalkan Performa Windows

Pada kali ini saya akan membahas cara ampuh mengoptimalkan performa windows pada komputer atau latop sobat, seperti yang kita ketahui bahwa komputer atau latop dengan spek lebih tinggi akan lebih cepat jika menjalankan aplikasi atau software secara bersamaan, tapi itu kemungkinan tidak menjamin untuk performa komputer atau latop sobat bisa lancar tanpa adanya not responding. kenapa sobat selalu menemukan not responding ketika menjalankan software secara multitasking ? ya, karena di sebabkan oleh beberapa faktor seperti RAM, DISK ataupun CPU yang tidak stabil seperti contohnya overload pada DISK, CPU ataupun pada RAM yang terus meningkat hingga 99% pada salah satunya, sehingga menyebabkan Not Responding pada software atau aplikasi yang sobat jalankan secara bersamaan.

Setelah saya melakukan experiment pada windows yang saya pakai pada laptop Accer Aspire E14 dengan RAM 2GB dan didukung dengan processor intel celeron, bahwa saya menemukan permasalahan pada Service Control dan RAM operasi sistem windows yang berjalan sehingga menyebabkan CPU, DISK dan RAM pada salah satunya overload hingga 94% sampai dengan 99% dan itu hanya membuka browser Chrome, Notepad++ dan XAMPP. Terkadang disitu saya merasa kesal hingga sampai malas mengerjakan proyek website saya. Tapi setelah mengetahui permasalahan pada laptop saya, akhirnya saya menemukan referensi manual dan ide membuat script untuk mengoptimalkan hal tersebut dengan cara :

1. Menonaktifkan daftar service di bawah ini (yang menurut saya tidak penting)
  • Superfetch
  • Window Update
  • Window Search
  • Geolocation
  • Google Update (guupdate)
  • Google Update (gupdatem)
  • Background Inteliegent Transfer Service
2. Menerapkan Virtual Memory dengan
  • initialSize 2048 (jika RAM Physical terpasang 2GB)
  • maximumSize 8192 (rekomendasi 1024 MB x 8)
3. Membersihkan RAM
Untuk ini saya menggunakan script (*.vbs) sobat bisa buat sendiri dengan menyimpan nama file WinCleaningRAM.vbs dan tinggal menjalankannya

FreeMem=Space(1024000000)

Untuk kode diatas saya tidak tau pasti apakah pembersihan RAM itu mencangkup 1GB atau lebih, Tapi ketika saya menjalankan kode di atas, RAM pada laptop saya menurun hingga 34% pemakaian dan bertambah sesuai pemakaian.

Cara Ampuh Mengoptimalkan Performa Windows

Jika sobat masih bingung untuk cara 1, 2 dan 3, sobat bisa gunakan script berbasis window command promt (CMD) yang telah saya buat dibawah ini :

Simpan dengan nama file OptimalSCRAM.bat

@echo off
title Windows Optimal RAM dan Service Control
color 0a
rem CenterSelf
rem CursorHide

:: Request UAC
echo ---------------------------------------
echo Requesting Administrative Privileges
echo ---------------------------------------
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
    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
    pushd "%CD%"
    CD /D "%~dp0"

cls

echo ---------------------------------------
echo Windows Optimal RAM dan Service Control
echo ---------------------------------------
echo Windows 10 (Tested no error)
echo Windows 8  (Entahlah tapi ada kemungkinan bisa)
echo Windows 7  (Entahlah belum di coba tapi ada kemungkinan bisa)
echo Windows XP (Entahlah belum di coba)
echo ---------------------------------------
echo Created by : Muaz Ramdany
echo Facebook   : https://www.facebook.com/muazramdany102
echo Website    : http://webmestudio.blogspot.com
echo From       : Indonesia
echo.
echo.
 
::Stoping/Disabled Superfetch
echo ---------------------------------------
echo Enable atau Disable Superfetch Service
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (D)isabled atau (E)nable atau (A)baikan : 
if /I "%c%" EQU "D" (
 sc stop "SysMain"
 sc config "SysMain" start=disabled
 echo [Status] : Success Disabled and Stop Running
) else if /I "%c%" EQU "E" (
 sc config "SysMain" start=demand
 sc start "SysMain"
 echo [Status] : Success Enable and Start Running
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
)
echo.

::Stoping/Disabled Window Update
echo ---------------------------------------
echo Enable atau Disable Window Update Service
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (D)isabled atau (E)nable atau (A)baikan : 
if /I "%c%" EQU "D" (
 sc stop "wuauserv"
 sc config "wuauserv" start=disabled
 echo [Status] : Success Disabled and Stop Running
) else if /I "%c%" EQU "E" (
 sc config "wuauserv" start=demand
 sc start "wuauserv"
 echo [Status] : Success Enable and Start Running
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
)
echo.

::Stoping/Disabled Window Search
echo ---------------------------------------
echo Enable atau Disable Window Search Service
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (D)isabled atau (E)nable atau (A)baikan : 
if /I "%c%" EQU "D" (
 sc stop "WSearch"
 sc config "WSearch" start=disabled
 echo [Status] : Success Disabled and Stop Running
) else if /I "%c%" EQU "E" (
 sc config "WSearch" start=demand
 sc start "WSearch"
 echo [Status] : Success Enable and Start Running
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
)
echo.

::Stoping/Disabled Geolocation Service
echo ---------------------------------------
echo Enable atau Disable Geolocation Service
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (D)isabled atau (E)nable atau (A)baikan : 
if /I "%c%" EQU "D" (
 sc stop "lfsvc"
 sc config "lfsvc" start=disabled
 echo [Status] : Success Disabled and Stop Running
) else if /I "%c%" EQU "E" (
 sc config "lfsvc" start=demand
 sc start "lfsvc"
 echo [Status] : Success Enable and Start Running
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
)
echo.

::Stoping/Disabled Google Update Service (gupdate)
echo ---------------------------------------
echo Enable atau Disable Google Update (guupdate) Service
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (D)isabled atau (E)nable atau (A)baikan : 
if /I "%c%" EQU "D" (
 sc stop "gupdate"
 sc config "gupdate" start=disabled
 echo [Status] : Success Disabled and Stop Running
) else if /I "%c%" EQU "E" (
 sc config "gupdate" start=demand
 sc start "gupdate"
 echo [Status] : Success Enable and Start Running
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
)
echo.

::Stoping/Disabled Google Update Service (gupdatem)
echo ---------------------------------------
echo Enable atau Disable Google Update (gupdatem) Service
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (D)isabled atau (E)nable atau (A)baikan : 
if /I "%c%" EQU "D" (
 sc stop "gupdatem"
 sc config "gupdatem" start=disabled
 echo [Status] : Success Disabled and Stop Running
) else if /I "%c%" EQU "E" (
 sc config "gupdatem" start=demand
 sc start "gupdatem"
 echo [Status] : Success Enable and Start Running
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
)
echo.

::Stoping/Disabled BITS
echo ---------------------------------------
echo Enable atau Disable (BITS) Background Inteliegent Transfer Service
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (D)isabled atau (E)nable atau (A)baikan : 
if /I "%c%" EQU "D" (
 sc stop "BITS"
 sc config "BITS" start=disabled
 echo [Status] : Success Disabled and Stop Running
) else if /I "%c%" EQU "E" (
 sc config "BITS" start=demand
 sc start "BITS"
 echo [Status] : Success Enable and Start Running
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
)
echo.

::Install Auto Clear RAM sesudah restart
echo ---------------------------------------
echo Memasang Auto Clear RAM Sesudah Startup Windows
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (P)asang atau (A)baikan :
if /I "%c%" EQU "P" (
 goto setAutoCleanRAM
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
 echo.
 goto nextCreateVM
)
echo.

:setAutoCleanRAM
set setRAMClear=FreeMem=Space(1024000000)
echo %setRAMClear% > "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\WinAutoCleaningRAM.vbs"
echo [Status] : Success Install Auto Clear RAM On Startup
echo.

:nextCreateVM
::Create Virtual Memory
echo ---------------------------------------
echo Setup Virtual Memory Windows
echo ---------------------------------------
set /P c=Silahkan pilih untuk ini (E)nable atau (M)anual Automatic atau (A)baikan : 
if /I "%c%" EQU "E" (
 goto setupVM
) else if /I "%c%" EQU "M" (
 goto setAutoVM
) else (
 echo [Status] : Mengabaikan dan akan di lanjutkan...
 echo.
 goto exitSetting
)
echo.

:setupVM
echo.
echo ---------------------------------------
echo Informasi Physical Memory Yang Di Pakai
echo ---------------------------------------
systeminfo |find "Physical Memory"
echo ---------------------------------------
echo.

echo ---------------------------------------
echo Apply Virtual Memory
echo ---------------------------------------
:input1
set /P input1="Masukan InitialSize : "
echo "%input1%"|findstr /xr /c:\"[1-9][0-9]*\" /c:\"0\" >nul && (
 goto input2
) || (
 echo [InitialSize] Masukan nilai type [integer] dan tidak boleh kosong. Ulangi Lagi !
 goto input1
)

:input2
set /P input2="Masukan MaximumSize : "
echo "%input2%"|findstr /xr /c:\"[1-9][0-9]*\" /c:\"0\" >nul && (
 goto setVM
) || (
 echo [MaximumSize] Masukan nilai type [integer] dan tidak boleh kosong. Ulangi Lagi !
 goto input2
)

:setVM
wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=%input1%,MaximumSize=%input2%
echo [Status] : Mengatur Virtual Memory Windows Berhasil
echo.

:setAutoVM
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False
echo [Status] : Mengatur Virtual Memory Windows Berhasil
echo.

:exitSetting
:: Restart PC atau Tidak
set /P c=Silahkan Pilih (R)estart Untuk Menerapkan Sistem atau (A)baikan : 
if /I "%c%" EQU "R" (
 Shutdown -r -f -t 2
 exit
) else (
 exit
)

Catatan : jika sobat memasang Auto Clear RAM Sesudah Startup Windows maka laptop atau komputer sobat akan mengalami stack sebentar. Jangan khawatir itu tidak berlangsung lama dan akan berjalan lancar seperti biasa dengan performa cepat.

4. Mengaktifkan ClearPageFileAtShutdown & LargeSystemCache di Regedit (*Baru)
Setelah saya memperdalam lagi bahwa cara diatas masih kurang, dalam mengoptimalkan performa laptop / PC pada RAM yang sudah saya sebutkan di atas. dan cara ini sudah terbukti berjalan pada laptop saya yang sudah diterapkannya Virtual Memory.

Caranya :
  1. Tekan (window + R)
  2. Tulis regedit.exe
  3. Pergi ke (Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management)
  4. Cari dan ubah ClearPageFileAtShutdown & LargeSystemCache menjadi => 1
  5. Selesai, Restart 
Itulah cara mengoptimalkan laptop dengan cara saya, Apabila ada yang ditanyakan atau berdiskusi tentang perihal ini silahkan kirim pemikiran sobat di kolom komentar mudah mudahan ini bisa bermanfaat bagi orang orang yang membacanya. Terima kasih telah berkujung.

1 comment for "Mengoptimalkan Performa Windows"