Windows 7 Tips

Windows 7 Tips

BoOnreAm 15:54 Add Comment
แก้ปัญหาเข้าใช้ไดรฟ์ (Logical drive) บางตัวไม่ได้ หลังติดตั้ง Windows 7 ใหม่

ตรวจสอบว่า Mount หรือยัง
1. ตรวจ Disk Management โดยคลิกขวาบน Computer เลือก Manage
2. ถ้ายังไม่ถูก Mount เข้ามา ให้คลิกขวาบนพาร์ติชันนั้น และเลือก Mount

ตรวจสอบว่ากำหนดชื่อไดรฟ์หรือยัง? (Drive Letter)
1. ถ้ายังไม่มีชื่อไดรฟ์ ให้คลิกขวาและเลือก Drive letter
2. เลือกชื่อไดรฟ์ที่ต้องการ

ตรวจว่ากำหนดสิทธิ์ใช้งานให้กับ User ที่เราใช้หรือยัง?
1. คลิกขวาบนไดรฟ์ที่ต้องการจะกำหนด และเลือก Properties
2. คลิกแท็บ Security
3. คลิกชื่อ User ที่เราใช้
4. คลิก Edit
5. คลิกชื่อ User ที่เราใช้
6. เช็กรายการ Allow กับทุกรายการ
7. คลิก OK

หรือทำ Take ownership จากคลิกขวาบนไดรฟ์ที่ต้องการและ
เลือก Take ownership

ส่วนวิธีสร้างรายการ Take ownership ไว้บนเมนูคลิกขวา
ทำได้ดังนี้


Take ownership
ทำเป็นไฟล์ .reg ด้วย Notepad แล้วคลิกขวา Merge
แล้ว Reboot จะมีรายการ Take ownership บนเมนูคลิกขวาบน
ไฟล์ที่เลือกครับ
Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"