D7‎ > ‎Online Manual‎ > ‎Usage‎ > ‎

Windows Repair


Click on the big > button to run an individual item.  

Auto Mode
 - and defaults...
  • Start - Runs all checked options in sequence, avoiding as many prompts as possible that you would otherwise have when running an item individually.  
    • You can re-order the sequence the options appear and execute in by using the UP / DN buttons just above the > (run) button.  
  • Save Config / Load Defaults - saves and loads your pre-selected (checked) configurations.
  • Reboot on Auto Mode Finish - this option of course restarts Windows when Auto Mode has completed.

Windows Repair
  • Remove Policies - This deletes all registry values relating to Windows group policy settings - often used by malware.  In a domain environment, this is safe to use, but on a subsequent login you may want to do a gpupdate /force to refresh all policies on the computer that are *supposed* to be there.  
  • Windows Update Services - Attempts to repair the Automatic Updates and BITS services for Windows Update to function properly.  Performs the following operations:
    • Stops WUAUSERV and BITS services
    • Deletes the following files:  (the paths below reflect WinXP, which slightly differs in Vista/7 but D7 compensates of course)
      • %allusersprofile%\Application Data\Microsoft\Network\Downloader\qmgr0.dat
      • %allusersprofile%\Application Data\Microsoft\Network\Downloader\qmgr1.dat
    • On WinXP, performs these commands:
      • rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 C:\WINDOWS\inf\au.inf
      • rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 C:\WINDOWS\inf\qmgr.inf
    • Deletes directory %windir%\SoftwareDistribution
    • Registers the following files:
      • wuapi.dll
      • wuaueng.dll
      • atl.dll
      • wucltui.dll
      • wups.dll
      • NOTE:  TONS MORE .DLL files have been added to the regsvr32 list, too many to list here!!!
    • Restarts the BITS and WUAUSERV services
  • WMI/WMEB/DCOM - Performs the following operations:
    • Stops WinMgmt service
    • Runs %windir%\system32\wbem\winmgmt.exe /kill
    • Deletes %windir%\system32\wbem\repository
    • Registers all WBEM DLLs and EXEs in the %windir%\system32\wbem directory
    • On Vista/7, runs %windir%\system32\wbem\winmgmt /salvagerepository
    • On XP, runs %windir%\system32\rundll32.exe wbemupgd, UpgradeRepository
    • On XP, reinstalls WBEM via this command:  %windir%\system32\rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf
    • Restarts the WinMgmt service
  • Safe Mode Services - Rebuilds/rewrites the list of services in the registry that should start in safe mode.  
  • Security Center - Repairs Windows Security Center by re-writing the appropriate registry values, setting permissions, and ensuring the service can start.  
  • Windows Defender - Repairs Windows Defender on Vista/7 by re-writing the appropriate registry values, setting permissions, and ensuring the service can start.  
  • System Restore - Performs the following functions:  
    • Deletes reg value DisableConfig in HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore
    • Deletes reg value DisableSR in HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore
    • (On WinXP) - rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 C:\WINDOWS\inf\sr.inf
  • Installer Service - Repairs the Windows Installer service blasting it with a number of fixes such as re-writing registry keys, assigning the appropriate permissions to registry keys and files, and re-registering related .DLL files.  
  • Fix Shell Execute - Import default values for the shell to launch EXE, COM, BAT, CMD, SCR, and REG files.  These locations in the registry are HKCR\xxx\Shell\Open\Command where xxx = exefile, comfile, etc.  
  • Rebuild Icon Cache - Attempts to fix issues with icons by rebuilding the icon cache.  Attempts to refresh icons after this, however refreshing icons doesn't always work properly, so a reboot or logoff/on may be required for the full effect.  
  • Clear Print Spooler - Deletes everything inside the print spooler, clearing out past print jobs, and restarts the spooler service.  
  • Fix Device Manager - This option fixes Device Manager's Non-Plug and Play category when missing due by re-writing the appropriate registry keys.  Often these keys are deleted by malware.  
  • Repair Permissions - Set default permissions on Windows directories and registry keys by running these commands: 
    •  Uses subinacl.exe to repair permissions.  This is a LONG process.  Old code below was removed for Vista/7 due to Microsoft recommendation to no longer use those methods on modern versions of Windows.
      • OLD CODE - secedit /analyze /db %windir%\sectest.db /cfg %windir%\inf\defltwk.inf /log %windir%\security\logs\secanalyze.log
      • OLD CODE - secedit /configure /db %windir%\sectest.db /cfg %windir%\inf\defltwk.inf /log %windir%\security\logs\secrepair.log
      • OLD CODE - secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose
  • RegSvr32 IE8 DLLs - Attempts to repair misc issues with IE8 by re-registering all associated DLL files.  May also work with other versions of Internet Explorer.
  • RegSvr32 ALL DLLs - This will re-register ALL .DLL and .OCX files in your Windows\System32 (and \SysWow64 on 64bit OSes) - use this as a last ditch effort to repair issues.  
    • Caveats:  This is a brute force approach, registering all DLL/OCX files with regsvr32.exe and the /s (silent) parameter.  Some DLL files however will fail to register this way and require special parameters such as /I, /I:A, etc. and registering them without these parameters may actually corrupt the registration.  I know of several WMI and Internet Explorer related DLLs which require special parameters, so it's a best practice that AFTER running this repair, you also then run the Regsvr32 IE8 DLLs and the WMI/WBEM/DCOM repairs.  This will then properly register the files associated with WMI and IE in case damage was caused by this function.  
  • System File Checker - Does different things depending on the OS.
    • On Windows XP, performs the following commands.
      • sfc /purgecache
      • sfc /scannow
    • On Vista/7 - launches the SFC wrapper form, enabling you to customize SFC parameters to scan only or scan and repair, scan only one file or all files, and scan online AND OFFLINE Windows installations.  During Auto Mode, only the full sfc /scannow is run.

Networking
  • Examine Hosts File - Brings up D7's Hosts file window, allowing examination of the hosts file.  Optionally you can replace it with a default hosts file, or with a custom hosts file of your own (when located in 3rd Party Tools dir.)
  • Clear Proxy Settings - Now works with Firefox!    
  • Release / Renew IP - Performs the following commands:
    • ipconfig /release all 
    • ipconfig /renew all
  • Reset Networking Interfaces - Performs the following commands:
    • Deletes/Recreates Winsock registry keys on Windows XP. 
    • netsh winsock reset
    • netsh winsock reset catalog
    • netsh interface ip reset c:\int-resetlog.txt
    • netsh interface reset all
    • netsh interface ip delete arpcache
    • ipconfig /flushdns
    • ipconfig /registerdns
    • ipconfig /release all
    • ipconfig /renew all
  • Repair Windows Firewall - Performs the following commands:
    • rundll32.exe setupapi.dll,InstallHinfSection Ndi-Steelhead 132 C:\WINDOWS\inf\netrass.inf
  • Reset Windows Firewall - Resets all firewall settings to defaults.
    • Deletes registry key HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall
    • netsh firewall reset
  • MS FixIt for Winsock - This is a FixIt from Microsoft that is supposed to fix issues with the Winsock.  It works on all platforms.  

Windows Installer
  • Download 4.5 - This downloads the latest version of the Windows Installer service for reinstall.  
  • (x64 only) Error 1719 Fix - This is for Windows installer error 1719 that appears in the event logs on x64 based systems when trying to install certain applications.  The fix basically writes a DWORD 0 to the registry value WOW64, in the location HKLM\SYSTEM\CurrentControlSet\Services\MSIServer.  Running the fix a second time will undo the fix, writing back a 1 as the value.  

Adobe Flash
  • Repair Adobe Flash - 
    • Attempts to repair permissions on all keys related to Flash, so it can install and/or function properly.  
    • There is a flag in the registry that can disable Flash from working inside IE, whether it is installed properly or not.  This attempts to remove the restriction, by deleting the following registry key:  HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{D27CDB6E-AE6D-11CF-96B8-444553540000}

Misc
  • FixAMD -  This function disables IntelPPM Driver.  This preventative fix is for Blue Screens related to the intel power management service after swapping an Intel to an AMD platform motherboard, or installing XP SP3 on an AMD based PC with Intel PPM service enabled.
  • Import Default Services - Opens path to .REG files, so you can import the appropriate registry file with all the default services for your specific version of Windows.  
  • Disable SAV Uninst PW - Attempts to disable the password prompt when uninstalling Symantec Anti-Virus Corporate.  
  • Optical Drive Filters (Open in Regedit) - Opens in regedit the location where you can modify optical drive filters, of course.  That is:  HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}

Removed - Options removed because they exist elsewhere in D7:  
  • PIO/DMA Mode Fix - A fix that is also run if you click on the PIO mode alert on the info tab, this fix attempts to reset the counters on all storage devices on the system which determine what mode Windows places the device in (e.g. PIO or DMA modes).  The idea is that over time, especially optical drives when dealing with bad disks and there are a lot of read/write attempts and errors, Windows lowers the DMA level of the device - the more time and errors, the lower the level until eventually the device is put in PIO mode.  This fix attempts to resolve this condition.  
    • Deletes the following registry values in HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318} for EACH child device when the MasterDeviceTimingMode value is set to 0:  
      • MasterIdDataChecksum
      • SlaveIdDataChecksum
      • MasterDeviceTimingModeAllowed
      • UserMasterDeviceTimingModeAllowed
      • SlaveDeviceTimingModeAllowed
      • UserSlaveDeviceTimingModeAllowed
    • Also under the same conditions, writes a value of 1 to the ResetErrorCountersOnSuccess value.
    • NOTE that performing this fix on a system that doesn't need it, will cause NO ADVERSE BEHAVIOR.  So go ahead and do it anyway!