Manutenzione - Comandi di manutenzione per Windows XP/Vista/7


per Windows XP/Vista/7

Cancellare file temporanei:

rd /s /q %temp% mkdir %temp% rd /s /q c:\windows\temp\ mkdir c:\windows\temp\

avvia il system restore:

%systemroot%\system32\restore\rstrui.exe

cancellare i vecchi windows update files:
 
net stop wuauserv ren %systemroot%\SoftwareDistribution SoftwareDistribution.old net start wuauserv rd /s/q %systemroot%\SoftwareDistribution.old

controllo di integrita':

sfc /scannow

eseguire un disk error checkup 

chkdsk /x /f /r Y 

Deframmentare:

dfrgui.exe 

Disabilitare l'ibernazione

powercfg /hibernate off


Solo per Windows XP

Per ottimizzare la modalità grafica (solo di Windows XP):

RUNDLL32.EXE shell32.dll,Control_RunDLL sysdm.cpl,,3

Adjust for best performance then check:
Smooth edges of screen fonts Use drop shadows for icon labels on the desktop Use visual styles on windows and buttons 

Msconfig

 




Per ottimizzare:

REG add "HKLM\SYSTEM\CurrentControlSet\Control\ContentIndex" /v StartupDelay /t REG_DWORD /d 40000 /f REG add "HKCU\Control Panel\Desktop" /v ForegroundLockTimeout /t REG_DWORD /d 0 /f REG add "HKCU\Control Panel\Desktop" /v HungAppTimeout /t REG_SZ /d 4000 /f REG add "HKCU\Control Panel\Desktop" /v MenuShowDelay /t REG_SZ /d 100 /f REG add "HKCU\Control Panel\Desktop" /v WaitToKillAppTimeout /t REG_SZ /d 5000 /f REG add "HKLM\SYSTEM\CurrentControlSet\Control" /v WaitToKillServiceTimeout /t REG_SZ /d 5000 /f REG add "HKLM\SYSTEM\CurrentControlSet\Control\Update" /v UpdateMode /t REG_DWORD /d 0 /f

Disattivare il servizio di indecizzizazione dei file

net stop cisvc REG add "HKLM\SYSTEM\CurrentControlSet\Services\CiSvc" /v Start /t REG_DWORD /d 4 /f 

No net crawling:

REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v NoNetCrawling /t REG_DWORD /d 1 /f
 


solo windows Vista/7

creare un system restore

systempropertiesprotection 

Disabilitare il sistema di indicizzazione:

net stop WSearch REG add "HKLM\SYSTEM\CurrentControlSet\Services\WSearch" /v Start /t REG_DWORD /d 4 /f 

Per settare il consumo di energia su alte prestazioni:

Powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  

Velocizzare il sistema:

REG add "HKCU\Control Panel\Desktop" /v ForegroundLockTimeout /t REG_DWORD /d 0 /f REG add "HKCU\Control Panel\Desktop" /v MenuShowDelay /t REG_SZ /d 100 /f REG add "HKLM\SYSTEM\CurrentControlSet\Control" /v WaitToKillServiceTimeout /t REG_SZ /d 5000 /f

 Per velocizzare:

msconfig


   

Per velocizzare il sistema grafico:

systempropertiesprotection