Danh mục

Thủ thuật Windows XP: Hiển thị tình trạng Startup / Shutdown / Logon / Logoff

Số trang: 3      Loại file: pdf      Dung lượng: 100.21 KB      Lượt xem: 14      Lượt tải: 0    
tailieu_vip

Phí tải xuống: miễn phí Tải xuống file đầy đủ (3 trang) 0
Xem trước 1 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Hiển thị tình trạng Startup / Shutdown / Logon / Logoff. Vào Notepad soạn nội dung sau rồi lưu lại dưới định dạng là .reg ( VD: Verbose Status.reg ) Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre ntVersion\Policies\System] "Verbosestatus"=dword:00000001 Hoặc soạn nội dung sau rồi lưu lại dưới định dạng .vbs "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre ntVersion\Policies\System\" p = p &
Nội dung trích xuất từ tài liệu:
Thủ thuật Windows XP: Hiển thị tình trạng Startup / Shutdown / Logon / Logoff Hiển thị tình trạng Startup / Shutdown / Logon / Logoff. Vào Notepad soạn nội dung sau rồi lưu lại dưới định dạng là .reg ( VD: Verbose Status.reg ) Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre ntVersion\Policies\System] 'Verbosestatus'=dword:00000001 Hoặc soạn nội dung sau rồi lưu lại dưới định dạng .vbs (VD: Verbose Status.vbs ) Option Explicit Dim WSHShell, n, MyBox, p, itemtype Set WSHShell = WScript.CreateObject('WScript.Shell') p= 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre ntVersion\Policies\System\' p = p & 'verbosestatus' itemtype = 'REG_DWORD' n=1 WSHShell.RegWrite p, n, itemtype Sau đó tiến hành thực thi file .reg hoặc file .vbs vừa tạo. Lưu ý: 1. Thủ thuật này được áp dụng để kiểm tra các tiến trình nào gây treo máy trong quá trình khởi động / tắt máy để tìm cách khắc phục. 2. Muốn trả lại tình trạng Startup / Shutdown / Logon / Logoff như cũ ta cũng mở Notepad và soạn 1 trong 2 đoạn mã sau rồi lưu lại dưới định dạng tương ứng rồi tiến hành thực thi file vừa tạo.  Đoạn mã 1 ( Lưu dưới định dạng là .reg. VD: Undo Verbose Status.reg ) Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre ntVersion\Policies\System] 'Verbosestatus'=dword:00000000  Đoạn mã 2 ( Lưu dưới định dạng là .vbs. VD: Undo Verbose Status.vbs ) Option Explicit Dim WSHShell, n, MyBox, p, itemtype Set WSHShell = WScript.CreateObject('WScript.Shell') p= 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre ntVersion\Policies\System\' p = p & 'verbosestatus' itemtype = 'REG_DWORD' n=0 WSHShell.RegWrite p, n, itemtype

Tài liệu được xem nhiều: