Thursday, January 20, 2011

How to Run a Dll As an App and Appwiz.Cpl


Re-register the Component
1. Press the 'Windows' and 'R' keys simultaneously. This opens a 'Run' box on your screen.
2. Type or paste 'Regsvr32 /s appwiz.cpl' into the 'Run' box.
3. Type 'Appwiz.cpl' in the 'Run' box and press 'Enter.' Continue reading if the component still fails to load.
Repair the Component File
4. Click 'Start' and type 'CMD' in the 'Search' box.
5. Right-click 'CMD' from the 'Search Results' list and click 'Run as Administrator.' Click the 'Yes' button on the 'User Account Control' dialog warning. This opens your Command Prompt.
6. Type 'takeown /f appwiz.cpl' and press the 'Enter' key. This allows your user account to take ownership of the file.
7. Type 'icacls appwiz.cpl /grant administrators:F' and press the 'Enter' key. This grants full administrative permissions for the file.
8. Type 'copy appwiz.cpl appwiz.bak' and press the 'Enter' key. This makes a backup copy of the existing appwiz.cpl file.
9. Type 'del appwiz.cpl' and press the 'Enter' key. This deletes the damaged appwiz.cpl file.
10. Type 'Sfc /scanfile=c:\windows\system32\appwiz.cpl' and press the 'Enter' key. This runs the System File Checker. This utility will detect that the file is missing and rebuild a new file automatically.
11. Type 'del.appwiz.bak' and press the 'Enter' key to remove the old backup.
12. Type 'Exit' and press the 'Enter' key to close the Command Prompt.