Bài viết này sẽ hướng dẫn các Bạn sửa lỗi chọn sai chương trình mở mặc định shortcut có đuôi .Ink, như hình bên trên. Khi bị lỗi này những shortcut trên desktop của Bạn sẽ mở bằng chương trình mà Bạn vộ tình chọn sai, để khách phục lỗi này các Bạn làm theo các bước bên dưới
Cách thực hiện:
vào Start rồi gõ notepad rồi mở chương trình notepad lên, như hình bên dưới
Tiếp theo là copy đoạn code màu xanh bên dưới rồi dán vào notepad như hình bên dưới
[Version]
Signature="$Windows NT$"
Provider=LangkhachBkavForum
[DefaultInstall]
DelReg=LangkhachDel
AddReg=LangkhachAdd
[LangkhachDel]
HKCU, Software\Classes\.exe
HKCU, Software\Classes\secfile
HKCR, secfile
HKCR, .exe\shell\open\command
HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe
HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.lnk
[LangkhachAdd]
HKCR, exefile\shell\open\command,,,"""%1"" %*"
HKCR, .exe,,,"exefile"
HKCR, .exe,"Content Type",,"application/x-msdownload"
HKLM, Software\CLASSES\batfile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\comfile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\exefile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\piffile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\regfile\shell\open\command,,,"regedit.exe ""%1"""
HKLM, Software\CLASSES\scrfile\shell\open\command,,,"""%1"" %*"
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableRegistryTools,0x10001,0
HKCU, Software\Policies\Microsoft\Windows\System,DisableCMD,0x10001,0
HKLM, Software\Microsoft\Windows NT\CurrentVersion\SystemRestore,DisableSR,0x10001,1
HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,HideFileExt,0x10001,0
HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,Hidden,0x10001,1
HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,ShowSuperHidden,0x10001,1
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableTaskMgr,0x10001,0
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoFolderOptions,0x10001,0
HKCU, Software\Policies\Microsoft\Internet Explorer\Restrictions,NoBrowserOptions,0x10001,0
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoRun,0x10001,0
HKLM, Software\Clients\StartMenuInternet\IEXPLORE.EXE\shell\open\command,,,"C:\Program Files\Internet Explorer\iexplore.exe"
HKLM, Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf,,,"@SYS:KhongKhongThay"
HKLM, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDriveTypeAutoRun,0x10001,255
HKLM, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDriveAutoRun,0x10001,255
HKLM, Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\Files,*.*,0x0
HKLM, System\CurrentControlSet\Services\ShellHWDetection,Start,0x10001,4
Tiếp theo là Chọn Save As... để lưu đoạn code đó lại như hình bên dưới
Tiếp theo là lưu đoạn code theo tên sau: LKFixOpenWithWMP.inf và Save as type là All Files rồi chọn lưu ngoài Desktop như hình bên dưới
Cuối cùng là ra ngoài Desktop click chuột phải vào file vừa lưu sau đó chọn Install như hình bên dưới
Giờ chỉ việc khởi động lại máy tính là xong
[/tintuc]
No comments:
Post a Comment