Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===== khắc phục lỗi Registry .....Admin...gì đó... ======
- - các bạn copy code sau . và Save dưới đuôi .VBS nhé
- - Save thì các bạn chay file vừa Save . sẽ có thông báo Đóng hay Mở
- - chúc các bạn thành công .
- ==== Code =====
- Option Explicit
- Dim WSHShell, n, MyBox, p, Titlekhanh, errnum, vers, itemtype
- Set WSHShell = WScript.CreateObject("WScript.Shell")
- p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
- p = p & "DisableRegistryTools"
- itemtype = "REG_DWORD"
- Titlekhanh = " Young Koga "
- Err.Clear
- On Error Resume Next
- n = WSHShell.RegRead (p)
- On Error Goto 0
- errnum = Err.Number
- if errnum <> 0 then
- WSHShell.RegWrite p, 0, itemtype
- End If
- If n = 0 Then
- n = 1
- WSHShell.RegWrite p, n, itemtype
- Mybox = MsgBox(" Hi'c hi´c', Regedit cua ban da bi khoa mat rui` ", 4096, Titlekhanh)
- Mybox = MsgBox(" copy by | koga-fansub.ucoz.net |", 4096, Titlekhanh)
- ElseIf n = 1 then
- n = 0
- WSHShell.RegWrite p, n, itemtype
- Mybox = MsgBox("OK ^^ .Regedit cua ban da duoc mo , Vao` doc di", 4096, Titlekhanh)
- End If
- =======================================================================================================
- By Young
- http://koga-fansub.ucoz.net/
Advertisement
Add Comment
Please, Sign In to add comment