Friday, December 19, 2008

Reset control panel File Association

---open Notepad > type & save below lines with a filename xxx.reg & run it----

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.cpl]
@="cplfile"
"Generic"="system"

[HKEY_CLASSES_ROOT\.cpl\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\cplfile]
@="Control Panel extension"

[HKEY_CLASSES_ROOT\cplfile\shell]

[HKEY_CLASSES_ROOT\cplfile\shell\cplopen]
@="Open with Control Panel"

[HKEY_CLASSES_ROOT\cplfile\shell\cplopen\command]
@="rundll32.exe shell32.dll,Control_RunDLL %1,%*"

[HKEY_CLASSES_ROOT\cplfile\shell\runas]

[HKEY_CLASSES_ROOT\cplfile\shell\runas\command]
@="rundll32.exe shell32.dll,Control_RunDLLAsUser %1,%*"