แก้ไข HOSTS file in Vista ได้ไม่มีปัญหา

January 30, 2008

แก้ไข HOSTS file in Vista ได้ไม่มีปัญหา

สวัสดีครับ….
ขอแนะนำการทำให้ user ที่เราใช้งาน สามารถแก้ไขไฟล์ Hosts ของ Windows Vista ได้ตลอดไปในฐานนะ Admin

Hosts ไฟล์ คือ การบังคับให้ เครื่องคอมที่เราใช้งาน เข้าไปเอาข้อมูลจาก website หรือ server ใด้ เช่น ปกติ ใน browser เราพิมพ์ address เป็น www.google.com browser เราก็จะแสดง เว็บไซต์ Google.com ออกมา แต่หากเราแก้ไขไฟล์ Hosts ของเครื่องเรา ( อยู่ที่ C:/windows/system32/drivers/etc/hosts …. hosts ไม่มีนามสกุลครับ) แก้เป็น

127.0.0.1 localhost
127.0.0.1 www.google.com

แล้ว Save แล้วเข้าbrowser พิมพ์ http://www.google.com ใหม่อีกครั้ง หน้าจอ web pageจะไม่แสดง Google.com ออกมา เป็นจะเอาข้อมูล ของเครื่องเราเองมา show ( หากเครื่องเราทำเป็น web server เราก็จะเห็นหน้า website ที่อยู่ในเครื่องเราแทน) ด้วยหลักการนี้เอง คนที่ทำ website จึงต้องแก้ไข Hosts ไฟล์ เพื่อทดลองว่า website ที่เราทำขึ้นมา ใช้งานได้หรือเปล่า โดยการ run จากชื่อจริง

การแก้ไข Hosts ใน Windows Vista

การแก้ไข ไฟล์ Host ใน windows XP เราสามารถแก้ไขได้เลย ส่วนการแก้ไขใน windows vista นั้น เราแก้ไขได้แต่ไม่สามารถ save ได้ ฉนั้นหากต้องการ save ได้ เราต้องกำหนดสิทธิ์ให้เราเป็น admin หรือ Modify โดยทำ ดังนี้

วิธีที่ 1 :
เข้าไปใน Folder c:/windows/system32/driver/ect แล้ว คลิกขวาที่ไฟล์ hosts แล้วเลือก properties เข้า tab Security แล้วเลือกแก้ไข permission user ของเราเป็น modify

วิธีที่ 2:
1. ไปที่ Start > All Programs > Accessories แล้วคลิกขวาที่ Command Prompt เลือก Run as administrator

run command as administrator on Windows Vista

2. พิมพ์คำสั่ง ดังนี้

takeown /f c:\windows\system32\drivers\etc\hosts
icacls c:\windows\system32\drivers\etc\hosts /grant yourusername:f

เพียงเท่านี้ เราก็มีสิทธิ์ในการแก้ไขไฟล์ Hosts ได้แล้ว

ลองดูกันนะครับ


ยกเลิกการควบคุมสิทธิ์การใช้งานของ Windows Vista

January 30, 2008

ยกเลิกการควบคุมสิทธิ์การใช้งานของ Windows Vista

Easy turn user to admin for install and manage windows vista with UAC.

how to set user to easy install softwareในการใช้งาน Windows Vista เรา(ผู้ใช้งาน) จะถูกกำหนดสิทธิ์ของเราเป็นเพียง User ปกติ คือไม่อนุญาติให้ทำหลายอย่าง เช่นการลงโปรแกรม, การแก้ไข system ไฟล์ แต่ Windows Vista เองก็มีการอนุญาติให้ user ปกติสามารถ Run ไฟล์ ในฐานะ Admin ได้ง่าย ด้วยคำสั่ง Run as Administrator เช่นเวลาเราจะติดตั้งโปรแกรม แทนที่เราจะ double คลิก ที่ไฟล์นั้นๆ เปลี่ยนเป็น คลิกขวา แล้วเลือกคำสั่ง Run as Administrator แทน เท่านี้โปรแกรมนั้นๆ ก็จะถูกติดตั้งในฐานะ administrator ทำให้สามารถใช้งานได้อย่างไม่มีปัญหา

แต่หากท่านใดไม่อยาก คลิกขวาทุกครั้ง หรืออยากกำหนดให้ตัวเองเป็น Admin สามารถติดตั้ง โปรแกรมในฐานะ Admin ได้ทุกครั้ง เราสามารถเข้าไปยกเลิก การควบคุมผู้ใช้งาน ( User Acount Control) ได้ โดยการ

1. คลิกที่ Start > Control Panel > User Accounts > User Accounts >

Setting Windows Vista User Accounts Control (UAC)

2. คลิกที่ Turn User Accounts On or Off เอาเครื่องหมายถูกหน้า Use User Accounts Control (UAC) … ออก

Setting Windows Vista User Accounts Control (UAC)

เพียงเท่านี้ ต่อไปเราก็ไม่ต้องกังวลเรื่องสิทธิ์อีก เราสามารถติดตั้งโปรแกรมได้อย่างไม่มีปัญหาแล้ว


Enable Aero on Windows Vista Home Basic

January 30, 2008

Enable Aero on Windows Vista Home Basic

How to enable Aero feature in Windows Vista home Basic edition.

How to Enable Aero on Windows Vista Home Basicวันนี้จุกขอเสนอวิธีการทำให้ Windows Vista Home Basic สามารถใช้งานคุณสมบัติ Windows Vista Aero ได้ (โดยปกติ Home Basic Edition จะไม่สามารถใช้งาน aero ได้)

วิธีการ คือให้เราแก้ไข Vista Registry โดย

  1. เปิด Registry Editor โดยการกดปุ่ม Windows Key + R หรือ
    ไปที่ Start > ช่อง start search พิมพ์ Regedit แล้วกด Enter
  2. ค่อยไล่คลิกที่เครื่องหมาย + ที่หน้าข้อความทางฝั่งซ้าย (เราเรียกว่า list controls)
    + Hkey_Current_User \ Software \ Microsoft \ Windows \ DWM \
  3. มองที่ฝั่งขวา แล้ว
    1. Double click ที่ Composition แล้วแก้ไขค่าจาก 0 เป็น 1
    2. Double click ที่ CompositionPolicy แล้วแก้ไขค่าจาก 1 เป็น 2
  4. ปิดโปรแกรม Registry Editor
  5. คลิกที Start > All Programs > Accessories แล้ว คลิกขวาที่ Command Prompt เลือก Run as administrator แต่หากใครยกเลิกการป้องกัน User Access Control แล้ว คลิกที่ Command Prompt ได้เลย
  6. ที่หน้าจอ DOS พิมพ์คำสั่ง
    net stop uxsms [enter] แล้วประมาณ 3 วินาที
    net start uxsms [enter ] รอประมาณ 3 วินาทีให้ระบบบอกว่า service start เรียบร้อยแล้ว ให้ออกจาก DOS
  7. เลือกใช้งาน Aero โดยคลิกขวาที่ Desktop แล้วเลือก Personalize แล้วไปที่ Switch to Colors and Appearance แล้วคลิกเลือก Windows Aero ที่ช่อง Color Scheme

How to enable Aero on Windows Vista Home Basic

เท่านี้ เพื่อนๆ ที่มีงบน้อย ไม่จำเป็นต้องซื้อ license ของ Windows Vista Business ซื้อแค่ license Home Basic ก็ใช้ Vista ย่างตื่นตาได้

Note: หากใครทำแล้วครบทุกขั้นตอน แต่ไม่มี Menu Windows Aero แสดง นั่นเพราะว่า VGA Card เราไม่ support Aero ง่ายๆ ถือเงินสัก 1500 บาทไปที่ร้านขายคอม บอกว่า ขอซื้อ card จอ vista aero support แล้วกลับเอามาเสียบแทนอันเดิมครับ


เพิ่มความเร็ว Vista ด้วย Flash Drive คุ้มค่าหรือไม่

January 30, 2008

เพิ่มความเร็ว Vista ด้วย Flash Drive คุ้มค่าหรือไม่

vista readyboost , speed-up computer“ReadyBoost” หนึ่งในวิธีเพิ่มความเร็วการใช้งาน Windows Vista ด้วยวิธีง่ายๆ โดยการใช้ Flash Memory หรือ Flash Drive หรือ Thumb Drive (หรืออะไรที่แต่ละคนจะเรียก) มาใช้ในการเพิ่มความเร็วของ Windows Vista ซึ่ง ReadyBoost จะเป็นการเก็บ Cache การทำงานลง Flash Memory ของเรา เวลาคอมพิวเตอร์อ่านข้อมูลผ่าน Flash Drive ก็จะอ่านได้เร็ว เพราะความจุไม่มาก จำนวน Sector ไม่มากและการเรียงของข้อมูลใน Disk ไม่กระจัดกระจาย ทำให้ windows อ่านข้อมูลได้เร็วกว่าอ่านจาก Hard Disk ด้วยเหตุนี้ ReadyBoost จึงช่วยในการทำให้ Vista ทำงานได้เร็วขึ้น

สำหรับการเปิดใช้งานนั้นก็ไม่ยาก ลองหา Flash memory หรือ Thumb Drive มาซักตัว ขนาดความจุ 250 MB ขึ้นไปและต้องเป็น USB 2.0 ขึ้นไปนะครับ ( ไม่รู้ว่า flash memory มี version มากกว่า 2.0 หรือยัง) มาเสียบที่คอม หรือ Notebook ของเรา แล้วดำเนินการดังนี้

  1. Format memory ให้ขาดสะอาดซะ (อย่าลืม copy เอาไฟล์ข้อมูล-รูปลับเฉพาะ ออกไปเก็บไว้ใน Hard Disk ก่อนนะครับ)
  2. คลิกขวาที่ Drive Removable Disk ( flash memory ที่เรา format ไป) เลือก Properties แล้วคลิกที่ Tab “ReadyBoost”
  3. เลือก Use this device และปรับจำนวน MB เป็นตามที่เราต้องการ เลือกมากเข้าไว้ (เช่น ใช้ Thumb drive 256 mb กำหนดได้ 230 mb)
  4. จากนั้นเลือก OK เป็นอันเรียบร้อย
    Easy way to speedup Windows Vista use Ready Boost

สำหรับใครที่ใช้เครื่องคอมที่ไม่ใหม่นัก…(เหมือนจุก Notebook Celeron 1500M) มี memory ไม่มาก (512 MB) จุกจึงไปหา flash memory ตัวเก่ามาใช้ ซึ่งก็ช่วยให้ Vista ทำงานได้เร็วขึ้น ประมาณ 10-20% (ความรู้สึกส่วนตัวครับ วัดจาก Photoshop ทำงานได้เร็วขึ้น)

สรุป การทำ Ready Boost จาก Flash Drive มาทำ
- ความจุของ Flash Drive ระหว่าง 256 MB – 4GB
- กำหนด Space ของ Flash Drive อยู่ระหว่าง 1:1 ถึง 1:2.5 หมายความว่า Ram ในเครื่องของเรา 1 GB กำหนด Space ของFlash Drive ไม่เกิน 2.5 GB (ถ้าเกิน ส่วนเกินไม่ช่วยอะไร)

ประสิทธิภาพหลังกำหนด Ready Boost

ผลการทำส��บ ใช้ ReadyBoost เร่ง speed Vista
ที่มา: PCStats.com

จากกราฟ จะเห็นว่า ReadyBoost ช่วยเสริมความเร็วให้กับเครื่องที่มี Ram น้อย เครื่องที่มี Ram มากๆ ไม่จำเป็นต้องใช้ก็ได้

บทสรุป Windows Vista ReadyBoost 
ถ้าเรามีเครื่อง มี Ram 1 GB ขึ้นไป เป็นเครื่องใหม่ ไม่จำเป็นต้องไปหาซื้อ Flash Drive มาใส่ ให้เปลืองตังค์


Keyboard shortcut สำหรับ Windows Vista

January 30, 2008

Keyboard shortcut สำหรับ Windows Vista

Windows Vista Keyboard Shortcuts listing for beginner and everyone. 

General keyboard shortcuts

  • F1 – Display Help
  • CTRL+C – Copy the selected item
  • CTRL+X – Cut the selected item
  • CTRL+V – Paste the selected item
  • CTRL+Z – Undo an action
  • CTRL+Y – Redo an action
  • DELETE – Delete the selected item and move it to the Recycle Bin
  • SHIFT+DELETE – Delete the selected item without moving it to the Recycle Bin first
  • F2 – Rename the selected item
  • CTRL+RIGHT ARROW – Move the cursor to the beginning of the next word
  • CTRL+LEFT ARROW – Move the cursor to the beginning of the previous word
  • CTRL+DOWN ARROW – Move the cursor to the beginning of the next paragraph
  • CTRL+UP ARROW – Move the cursor to the beginning of the previous paragraph
  • CTRL+SHIFT with an arrow key – Select a block of text
  • SHIFT with any arrow key – Select more than one item in a window or on the desktop, or select text within a document
  • CTRL with any arrow key+SPACEBAR – Select multiple individual items in a window or on the desktop
  • CTRL+A – Select all items in a document or window
  • F3- Search for a file or folder
  • ALT+ENTER – Display properties for the selected item
  • ALT+F4 – Close the active item, or exit the active program
  • ALT+SPACEBAR – Open the shortcut menu for the active window
  • CTRL+F4 – Close the active document (in programs that allow you to have multiple documents open simultaneously)
  • ALT+TAB – Switch between open items
  • CTRL+ALT+TAB – Use the arrow keys to switch between open items
  • CTRL+Mouse scroll wheel – Change the size of icons on the desktop
  • Windows logo key + TAB – Cycle through programs on the taskbar by using Windows Flip 3-D
  • CTRL+Windows logo key + TAB – Use the arrow keys to cycle through programs on the taskbar by using Windows Flip 3-D
  • ALT+ESC – Cycle through items in the order in which they were opened
  • F6 – Cycle through screen elements in a window or on the desktop
  • F4 – Display the Address bar list in Windows Explorer
  • SHIFT+F10 – Display the shortcut menu for the selected item
  • CTRL+ESC – Open the Start menu
  • F10 – Activate the menu bar in the active program
  • RIGHT ARROW – Open the next menu to the right, or open a submenu
  • LEFT ARROW – Open the next menu to the left, or close a submenu
  • F5 – Refresh the active window
  • ALT+UP ARROW – View the folder one level up in Windows Explorer
  • ESC – Cancel the current task
  • CTRL+SHIFT+ESC – Open Task Manager
  • SHIFT when you insert a CD – Prevent the CD from automatically playing

Dialog box keyboard shortcuts

  • CTRL+TAB – Move forward through tabs
  • CTRL+SHIFT+TAB – Move back through tabs
  • TAB – Move forward through options
  • SHIFT+TAB – Move back through options
  • ALT+underlined letter – Perform the command (or select the option) that goes with that letter
  • ENTER – Replaces clicking the mouse for many selected commands
  • SPACEBAR – Select or clear the check box if the active option is a check box
  • Arrow keys – Select a button if the active option is a group of option buttons
  • F1 – Display Help
  • F4 – Display the items in the active list
  • BACKSPACE – Open a folder one level up if a folder is selected in the Save As or Open dialog box

Windows Sidebar keyboard shortcuts

  • Windows logo key Picture of Windows logo key + SPACEBAR – Bring all gadgets to the front and select Sidebar
  • Windows logo key Picture of Windows logo key +G – Cycle through Sidebar gadgets
  • TAB – Cycle through Sidebar controls

Windows Explorer keyboard shortcuts

  • CTRL+N – Open a new window
  • END – Display the bottom of the active window
  • HOME – Display the top of the active window
  • F11 – Maximize or minimize the active window
  • LEFT ARROW – Collapse the current selection (if it is expanded), or select the parent folder
  • ALT+LEFT ARROW – View the previous folder
  • RIGHT ARROW – Display the current selection (if it is collapsed), or select the first subfolder
  • ALT+RIGHT ARROW – View the next folder
  • CTRL+Mouse scroll wheel – Change the size and appearance of file and folder icons
  • ALT+D – Select the Address bar
    • ALT+C – Display the Table of Contents
    • ALT+N – Display the Connection Settings menu
    • F10 – Display the Options menu
    • ALT+LEFT ARROW – Move back to the previously viewed topic
    • ALT+RIGHT ARROW – Move forward to the next (previously viewed) topic
    • ALT+A – Display the customer support page
    • ALT+HOME – Display the Help and Support home page
    • HOME – Move the to beginning of a topic
    • END – Move to the end of a topic
    • CTRL+F – Search the current topic
    • CTRL+P – Print a topic
    • F3- Move to the Search box
    • ALT+C – Display the Table of Contents
    • ALT+N – Display the Connection Settings menu
    • F10 – Display the Options menu
    • ALT+LEFT ARROW – Move back to the previously viewed topic
    • ALT+RIGHT ARROW – Move forward to the next (previously viewed) topic
    • ALT+A – Display the customer support page
    • ALT+HOME – Display the Help and Support home page
    • HOME – Move the to beginning of a topic
    • END – Move to the end of a topic
    • CTRL+F – Search the current topic
    • CTRL+P – Print a topic
    • F3- Move to the Search box