Thứ bảy, 19 Tháng 5 2012 16:04

Hệ Điều Hành

Một số thủ thuật Registry!

Registry là cơ sở dữ liệu chứa những thông số về Windows, bao gồm các thông tin của phần cứng, phần mềm, ... Một số tham số sau sẽ giúp cho Bạn quản lý Windows đơn giản và hiệu quả hơn

 

1. Làm tăng tốc độ của Mouse 
Tìm theo đường dẫn: HKEY_CURRENT_USERControl PanelMouse Tạo một String value: “ActiveWindowTracking” bằng cách click chuột phải vào cửa sổ bên tay phải. Click đúp vào String trên rồi điền giá trị: 1 (nếu bạn điền giá trị 0 → loại bỏ chức năng của dòng String này).
2. Thay đổi tốc độ hiển thị Menu 
Key: HKEY_CURRENT_USERControl PanelDesktop
Value Name: MenuShowDelay
Data: từ 0 đến 999 (bạn để 0 cho nhanh!)
3. Bật/Tắt tính năng AutoRun của CD-Rom 
Key:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesCDRom Value Name: Autorun
Data: (0=disable, 1=enable)
4. Điều chỉnh tốc độ của chuột (tốc độ cuộn bánh xe ) 
Key: HKEY_CURRENT_USERControl PanelDesktop
Value Name: WheelScrollLines
Data: 0 - 0xFFFFFFFF
5. Bỏ đi một số thứ không cần thiết trong Menu Start 
Key:KEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer Value Name: NoFavoritesMenu
Value Name: NoRecentDocsMenu
Value Name: NoRun
Data: (0=disable, 1=enable)
Value Name: NoLogOff
Data: 01 00 00 00
6. Tắt một số thứ liên quan đến hệ thống. 
Key:HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem Data: (0 = disable, 1 = enable)
"NoDispCPL" - Tắt/hiển thị Control Panel
"NoDispBackgroundPage" –Â’n Background Page
"NoDispScrSavPage" - Ẩn Screen Saver Page "NoDispAppearancePage" Ẩ’n Appearance Page "NoDispSettingsPage" - Ẩ’n Settings Page
"NoSecCPL" - Tắt Password Control Panel
"NoPwdPage" - Tắt Password Change Page
"NoAdminPage" - Tắt Remote Administration Page
"NoProfilePage" - Tắt User Profiles Page
"NoDevMgrPage" - Tắt Device Manager Page
"NoConfigPage" - Tắt Hardware Profiles Page
"NoFileSysPage" - Tắt File System Button
"NoVirtMemPage" - Tắt Virtual Memory Button
7. Xoá các lệnh trong Menu Run (Xoá cái nào hiếm khi dùng) 
Key:HKEY_USERSDefaultSoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU] Data Type: REG_SZ
8. Bỏ tên chương trình cài đặt có trong Add/Remove Program: 
Chỉ việc xoá đi những folder tương ứng với phần mềm trong mục này dòng sau:
Key:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall9. Khoá chuột phải không cho click lên nền Explorer[HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer] Value Name: Notraycontextmenu
Value Name: Noviewcontextmenu
Data: (0 = disable, 1 = enable)
10. Hiện chữ bên cạnh đồng hồ 
[HKEY_USERS.DEFAULTControl PanelInternational]
Value Name: sTimeFormat
Data: HH: mm: ss tt
Value Name: s1159
Value Name: s2359
11. Thêm đoạn Title lên phía trên của IE 
Key:HKEY_CURRENT_USERSoftwareMicrosoftInternetExplorerMain "Window Title"="Thanhnien online"
12. Tăng tốc Menu START 
Key: HKEY_CURRENT_USERControl PanelDesktop
Tạo một String Value mới: "MenuShowDelay", nhập số từ 0 đến 30000 (nên nhập 0 vì nó là nhanh nhất)
13. Không cho phép chạy các ứng dụng môi trường DOS 
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesWinOldApp. Tạo mới DWORD Value "NoRealMode", gán giá trị 1
14. Đổi tên người cài đặt Windows 
Key: HKEY_LOCAL_MACHINESoftwareMicrosoft Windows CurrentVersion. Trong mục "RegisteredOrganization" thay đổi tên người cài đặt.
15. Giấu lệnh Run của menu Start 
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesExplorer. Tạo mới DWORD Value "Norun" và gán giá trị 1.
16. Giấu lệnh Shut Down của menu Start 
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesExplorer. Tạo mới DWORD Value "NoClose", gán giá trị 1.
17. Giấu lệnh Find của menu Start
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesExplorer. Tạo mới DWORD Value "Nofind", gán giá trị 1.
18. Không cho phép sử dụng Control Panel
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesExplorer. Tạo mới DWORD Value "NoSetFolder", gán giá trị 1.
19. Không cho phép thay đổi máy in
Key: KEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesExplorer. Tạo mới DWORD Value "NoPrinterTab", gán giá trị 1.
20. Giấu Network Neighbourhood
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesExplorer. Tạo mới DWORD Value "NoNetHood", gán giá trị 1.
21. Giấu tất cả những gì có trên desktop
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesExplorer. Tạo mới DWORD Value "NoDesktop", gán giá trị 1.
22. Loại bỏ menu Documents khỏi menu Start
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorer. Tạo mới BINARY Value "NoRecentDocsMenu", gán giá trị 01 00 00 00
23. Không cập nhật danh sách Documents
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorer. Tạo mới BINARY Value "NoRecentDocsHistory", gán giá trị 01 00 00 00
24. Loại bỏ menu Log off khỏi menu Start 
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorer
Tạo mới BINARY Value "NoLogOff", gán giá trị 01 00 00 00
- Xóa history để lại trong Doduments, Run-History, URL-History
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorer. Tạo mới BINARY Value "ClearRecentDocsOnExit", gán giá trị 01 00 00 00
25. Không cho phép xem, thay đổi dung lượng bộ nhớ ảo của Windows 
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesSystem. Tạo mới DWORD Value "NoVirtMemPage", gán giá trị 1.
26. Không cho phép thay đổi password của máy 
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesSystem. Tạo mới DWORD Value "NoPwdPage", gán giá trị 1.
27. Không cho phép sử dụng Registry Editor (regedit.exe) 
Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersion PoliciesSystem. Tạo mới DWORD Value "DisabledRegistryTools", gán giá trị 1.
28. Xoá Shared Doc"s trong My Computer
Key: HKEY_LOCAL_MACHINESOFTWARE/ Microsoft/ Windows/CurrentVersion/ Explorer/ MyComputer/ NameSpace/ DelegateFolders.
Tìm tới key: {59031a47-3f72-44a7-89c5-5595fe6b30ee}.
rồi delete
29. Tăng tốc Network Browsing 
Key: HKEY_LOCAL_MACHINE/Software/Microsoft/ Windows/CurrentVersion/Explorer/RemoteComputer/NameSpace
Tìm tới key: {D6277990-4C6A-11CF-8D87-00AA0060F5BF}


VMwareTừ vị trí là một Data Center của Macbook, VMWARE đã trở thành trung tâm công nghệ ảo hóa và được toàn thế giới biết đến. Các giải pháp công nghệ và ảo hóa của VMware đã trở thành chuẩn trong ứng dụng doanh nghiệp, và VMWARE Fusion là một giải pháp phổ biến khác để sử dụng Windows trên nền tảng MAC.

Linux - Một vài mốc thời gian.

Linux là một hệ điều hành với tiêu chí: Miễn phí và nguồn mở. Ngày nay, linux có nhiều bản phân phối khác nhau nhưng tất cả đều dựa trên nhân viết bởi Linus Torvards phát hành vào 5 tháng 10 năm 1991. Giống như Mac và Windows, Linux cung cấp các dịch vụ cơ bản cho người sử dụng. Nó là lớp trung gian giữa phần cứng và phần mềm ứng dụng.

linux

Các mốc thời gian đáng chú ý:

Sử dụng Windows Easy Transfer

Thông thường, người dùng windows khi cài đặt lại máy hay chuyển sang sử dụng một chiếc máy khác thì các thiết lập trên hệ điều hành cũ hay máy cũ sẽ không còn. Nếu bạn không muốn mất thời gian để tạo lại thiết lập như cũ và đang sử dụng HĐH Windows 7 thì có một công cụ giúp bạn dễ dàng làm điều này. Đó chính là Windows Easy Transfer. Trong bài viết này mình sẽ hướng dẫn các bạn sử dụng Windows Easy Transfer bằng cách ghi file backup ra ổ cứng hoặc USB.

Các bước thực hiện:

-        Khởi chạy: Bạn vào: Start à Accessories à System Tools à Windows Easy Transfer

-        Ở màn hình Welcome bạn nhấn Next.

-        Ở bước tiếp theo bạn có 3 lựa chọn:

+ Sử dụng một sợi cáp USB đặc biệt – Easy Transfer cable để nối trực tiếp với máy khác (cái này phải bỏ tiền ra mua)

+ Sử dụng kết nối mạng

+ Sử dụng ổ cứng hay USB

Hộp thoại Welcome to Windows Easy Transfer, chọn 1 trong 3 chức năng sau:

+ An Easy Transfer Cable ....

+ A Network ...

+ An extenal hard dish or USB flash driver ...

Sau đó chọn Which compuer are you using now? trong đó: 

+ This is my new computer 

+ This is my old computer 

  • Backup - Ổ cứng hoặc USB:

+ Bạn chọn This is my old computer qua màn hình tiếp theo. Ở đây bạn có thể lựa chọn những gì bạn muốn giữ lại, chi tiết hơn bạn bấm vào Customize, có thể  backup theo từng folder chọn chức năng Advanced.

+ Bước tiếp theo có thể nhập mật khẩu bảo vệ file backup. Sau đó chọn vị trí lưu trữ (File có phần mở rộng là: IMG).

  • Khôi phục – Sau khi cài lại Windows hoặc ở máy mới: chọn This is my new computer. Sau đó bạn nhận được câu hỏi đã kết nối với ổ cứng gắn ngoài hay USB chưa thì chọn yes. Tiếp tục tìm tới vị trí bạn đã lưu file IMG ở bước backup.

 

Võ Trung Hưng

Trường Đại Học Công Nghệ Thông Tin - Đại Học Quốc Gia TP HCM





Tường lửa cho Linux Server bằng IPTABLES!

1. Giới thiệu:

Trang này sẽ mô tả cách tôi thiết lập các đoạn Script để Firewall bằng iptables dựa trên kernel 2.4 hoặc 2.6. Phần này sẽ không chi tiết và cũng không dạy cho bạn bất cứ gì về ipatbles, ở đây là những đoạn scripts mà bạn có thể dùng, những thứ mà tôi biết và thực hiện trên các server của tôi. Những scripts này là những gì tôi thường dùng khi cài đặt, thiết lập hệ thống bảo vệ cho các máy chủ server của tôi bấy lâu nay, cơ bản là rất hiệu quả.

2. Scripts:

Tôi có đoạn scripts khác nhau để initiate/deactivate dịch vụ firewall cho máy chủ Linux

Tập tin script "pre.iptable" sẽ từ chối mọi thứ đi vào máy chủ từ môi trường Internet. 

The Scripts

I use 3 different scripts to initiate/deactivate the firewall services for Linux.

A pre.iptable script that will deny everything that comes in on the Internet. I initiate this before any network interfaces come up so when the network comes up it is protected in case, for any reason, the main firewall script fails to initialize.

A rc.firewall script as the main script to initiate all the firewall and masquerading services needed to run on the network. Basically what this script will do is allow anyone on the internal network to access all the services of the internet, but anyone from the outside cannot access the internal network, unless someone on the internal network initiates the communication.

Finally a script to flush all the IPTables at shutdown, or whenever you make changes to the main script.

In order for IPTables to work properly, you must have all the required Kernel modules available, they are listed in the main rc.iptables script. Most Linux Distributions will already provide these within their default kernels.

Các bài viết khác...

eduapps for u

school

 

Lượt truy cập

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterHôm nay200
mod_vvisit_counterHôm qua354
mod_vvisit_counterTuần này1852
mod_vvisit_counterTháng này5214
mod_vvisit_counterTổng cộng164703