Je fais un flag pour pouvoir ne pas lancer les applis standards au démarrage. C'est pour ça que je redémarre.
J'ai finalisé un peu plus le script, testé, et... échec !
Script: (qui est moche, oui je sais )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
| @echo off
cls
echo DEMARRAGE EN COURS
REM DEMARRER NORMALEMENT
REM -------------------------------------------------------
If NOT exist c:\flagres.txt (
if NOT exist c:\flag.txt (
REM WINDOWS LIVE MAIL
start C:\PROGRA~1\WI1F86~1\Mail\wlmail.exe REM C:\Program Files\Windows Live\Mail\wlmail.exe
REM KASPERSKY
start C:\PROGRA~1\KASPER~1\KASPER~1.0\avp.exe REM C:\Program Files\Kaspersky Lab\Kaspersky Internet Security 7.0\avp.exe
REM MSN
start C:\PROGRA~1\WI1F86~1\MESSEN~1\msnmsgr.exe /background REM C:\Program Files\Windows Live\Messenger\msnmsgr.exe /background
exit
)
)
REM -------------------------------------------------------
REM -------------------------------------------------------
REM SI LE FICHIER FLAGEXISTE, C'EST QU'ON VEUT JOUER AVEC RESEAU
REM -------------------------------------------------------
If exist c:\flagres.txt (
del c:\flagres.txt
REM --------------------------
REM DESACTIVATION DES SERVICES
REM --------------------------
net stop AVP
net stop Browser
net stop CryptSvc
net stop DcomLaunch
net stop ERSvc
net stop Eventlog
net stop helpsvc
net stop Irmon
net stop PlugPlay
net stop ProtectedStorage
net stop RpcSc
net stop SamSs
net stop Schedule
net stop seclogon
net stop ShellHWDetection
net stop Spooler
net stop srservice
net stop Themes
net stop W32Time
net stop WebClient
net stop ?winmgnt
net stop wltrysvc
net stop wuauserv
net stop WZCSVC
REM --------------------------
REM --------------------------
REM ACTIVATION DU PARE FEU WINDOWS
REM --------------------------
netsh firewall set opmode enable
REM --------------------------
exit
)
REM -------------------------------------------------------
REM -------------------------------------------------------
REM SI LE FICHIER FLAGEXISTE, C'EST QU'ON VEUT DESACTIVER TOUT
REM -------------------------------------------------------
If exist c:\flag.txt (
del c:\flag.txt
REM --------------------------
REM DESACTIVATION DES SERVICES
REM --------------------------
net stop AVP
net stop Browser
net stop CryptSvc
net stop DcomLaunch
net stop ERSvc
net stop Eventlog
net stop helpsvc
net stop Irmon
net stop PlugPlay
net stop ProtectedStorage
net stop RpcSc
net stop SamSs
net stop Schedule
net stop seclogon
net stop ShellHWDetection
net stop Spooler
net stop srservice
net stop Themes
net stop W32Time
net stop WebClient
net stop ?winmgnt
net stop wltrysvc
net stop wuauserv
net stop WZCSVC
REM RESEAU :
net stop BITS
net stop Dhcp
net stop Dnscache
net stop lanmanserver
net stop lanmanworkstation
net stop LmHosts
net stop PolicyAgent
net stop SENS
net stop SharedAcess
net stop TrkWks
REM --------------------------
REM --------------------------
REM DESACTIVATION DU PARE FEU WINDOWS
REM --------------------------
netsh firewall set opmode disable
REM --------------------------
exit
)
REM ------------------------------------------------------- |
Résultats :
Ordi lancé normalement :
Bench sur Trackmania United : 48,6 FPS
21 processus
+250 Mo de Ram utilisés
Ordi lancé avec le script
Temps d'exécution du script : 2 min
Bench sur Trackmania United : 48,3 FPS (testé 2 fois)
15 processus
+170 Mo de Ram utilisés
Résumé :
Il y a donc aucun intérêt à désactiver les services au niveau de FPS. Sans doute parce que j'en désactive déjà beaucoup de base (Thèmes, etc.), ou bien parce que j'en désactive en trop??.
Par contre, gain important de Ram, je pense que ça peut être appréciable pour jouer.
Beuh! Pas facile hein d'optimiser son PC!
Partager