Sunday 9 April 2017

Windows a prueba de fallos y Error, bcdedit bootrec, sfc system files protection

 Windows a prueba de fallos y Error, bcdedit bootrec, sfc system files protection

Arreglar Window, en generarl es para Windows 7 en adelante .. hasta el Windows 10 por lo menos.

Documentación en docs.microsoft.com:

 

Sintaxis de Bootsect en Microsoft: bootsect {/help | /nt52 | /nt60} {SYS | ALL | <DriveLetter:>} [/force] /mbr

  • /nt52 - compatible with NTLDR, operating system older than Windows Vista, f.e. Xp.
  • /nt60 - compatible with Bootmgr, operating system Windows Vista or newer, f.e. Seven
  • /mbr - Updates the Master Boot Record (MBR) without changing the partition table on sector 0. If not especified the Partition Boot Record (PBR) is updated instead.
  • Árbol familiar de Windows

Para ver cómo está: bcdedit

A lo bestia: bootsect /nt60 C:

Versión de Windows Xp o anterior a Windows Vista: bootsect /nt52 C:

Para Windows 7 or Windows Vista: Official doc

bootrec /FixMBR
bootrec /fixboot
bootrec /ScanOs
:: bootrec /RebuildBCD  && REM Haz backup antes !!

Backup and rebuild of the BCD:

bcdedit /export C:\BCD_Backup
cd /d c:\boot
attrib bcd -s -h -r
ren c:\boot\bcd bcd.old
bootrec /RebuildBcd

 

 

Para ver cómo quedó: bcdedit

Darle un repaso al sistema: sfc /verifyonly o sfc /scannow

msconfig -- para lanzar limpieza programada

Hacer en este orden por que el segundo tarda mucho:

Otras comprobaciones, virus, programas raros en arranque:

  • Autoruns - chk y virus total
  • ProcessExplorer - Options / VirusTotal.com / Check VirusTotal.com

 

Para lanzar sfc /scannow:

time < nul
sfc /scannow
time < nul
:: log en:  %windir%\Logs\CBS\CBS.log

 

 

 

 

 

No comments:

Post a Comment