Restoring Original Certificates

Discussion in 'Windows 8' started by l33tissw00t, Nov 22, 2017.

  1. l33tissw00t

    l33tissw00t MDL Addicted

    Dec 6, 2012
    819
    520
    30
    Anyone know how to restore Windows certs back to default? Or force a sync with Windows Update? I see all sorts of complicated things online, couldn't get it to work (or didn't know where to start from). If no easy way, is it possible to "export" all certs from a clean install and "import" into this corrupt install?

    TIA

    P.S. Thread in Windows 8 forum because corrupt pc is currently running 8.1
     
  2. pcnavarra

    pcnavarra MDL Senior Member

    Nov 13, 2017
    296
    114
    10
    maybe setting time and date in bios solves de problem.
    checking MotherboardĀ“s battery status from time to time is a good practice.
    :Lighten:
     
  3. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,192
    1,185
    60
    What certificates you talking about?
    If you talk about certmgr.msc then it's not nessary to restore them, Windows checks every xy hours for the certificates itself and temporarily stores the needed ones (no visible by any tool or certmgr.msc) in a temp repo. As long you not disabled or blacklisted manually the certificates it will restore the deleted ones automatically as soon as there is a request or update check.
     
  4. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,055
    60
    Code:
    net stop cryptSvc /y
    takeown /f "%WINDIR%\System32\catroot2" /a
    icacls "%WINDIR%\System32\catroot2" /grant:r Administrators:F /c
    ren "%WINDIR%\System32\catroot2" "catroot2.bak"
    net start cryptSvc
    It might take up to an hour, till certificates are recreated, you will notice an increased CPU usage. In case of problems, just restore the backup.
    Code:
    ren "%WINDIR%\System32\catroot2.bak" "catroot2"