Yogi

New Member
các bạn mở notepad làm ra (tạo) file fix.inf với nội dung sau:


Code:

[Version]

Signature="$Chicago$"

Provider=Symantec


[DefaultInstall]

AddReg=UnhookRegKey

DelReg=DelRegKey


[UnhookRegKey]

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"" %*"


[DelRegKey]

HKLM, System\CurrentControlSet\Control\StorageDevicePolicies,WriteProtect,0x00000020,0

HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableRegistryTools,0x00000020,0

HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableTaskMgr,0x00000020,0

HKCU, Software\Policies\Microsoft\MMC,RestrictToPermittedSnapins,0x00000020,0

HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoSaveSettings,0x00000020,0

HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,RestrictRun,0x00000020,0

HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDrives,0x00000020,0

HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoFolderOptions,0x00000020,0

HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableCMD,0x00000020,0

Xong đóng notepad và save file lại.

Click chuột phải vào file fix.reg này và chọn Install

Xong rồi đó.


Note:

File này sửa được các lỗi sau:

1. Khi Windows bất chạy được các file .BAT, .COM, .EXE, .PIF, .SCR

2. Ổ đĩa USB bị khóa chống ghi

3. Không mở được Registry Editor

4. Không mở được các file .MSC (gpedit.msc chẳng hạn)

5. Windows bất còn lưu cấu hình được nữa

6. Không mở được Folder Options

7. Không chạy được Command Prompt

8. Và còn 1 vài cái linh tinh khác...


Thân!

 

Karlens

New Member
Ẹc, dính vào mấy cái Regitry phải biết 1 chút, bất thể làm máy móc được. Lơ mơ đi cả Win.
 

Federico

New Member
Đã cập nhật và bổ sung thêm.


Code:

[Version]
Signature="$Chicago$"
Provider=Symantec

[DefaultInstall]
AddReg=UnhookRegKey
DelReg=DelRegKey

[DelRegKey]
HKCU, Software\Microsoft\Windows\CurrentVersion\Group Policy Objects
HKCU, Software\Policies\Microsoft\Windows\System
HKCU, Software\Policies\Microsoft\System
HKCU, Software\Policies\Microsoft\MMC
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

[UnhookRegKey]
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"" %*"

HKLM, System\CurrentControlSet\Control\StorageDevicePolicies,WriteProtect,0x00010001,0
HKLM, System\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoViewContextMenu,0x00010001,0
HKLM, System\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL,CheckedValue,0x00010001,1
HKLM, System\Microsoft\Windows NT\CurrentVersion\Winlogon,DisableCAD,0x00010001,0
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDriveTypeAutoRun,0x00010001,0x00000091

 

Các chủ đề có liên quan khác

Top