ความต้องการ
- ใช้งาน user limited เนื่องจาก เด็กใช้งานไม่เป็น ลบโปรแกรมมั่ว จึงต้องจำกัดสิทธิ์
- runas user สิทธิ์ administrator ในเครื่อง เนื่องจาก บางโปรแกรมไม่สามารถใช้งานได้
runas ด้วย windows
สามารถทำได้โดย คลิ๊กขวาที่ short cut หรือโปรแกรมที่ต้องการ แล้วเลือก Run as ทำการเลือก user อื่นในเครื่อง
อีกวิธี สั่ง command line
อ้างอิง
syntax
RUNAS [/profile] [/env] [/netonly] /user:user ProgramKey
/profile Option to load the user’s profile (registry)
/env Use current environment instead of user’s.
/netonly Use if the credentials specified are for RAS only.
/user Username in form USER@DOMAIN or DOMAIN\USER
(USER@DOMAIN is not compatible with /netonly)
Program The command to execute
Examples:
runas /profile /user:mymachine\administrator CMD
ข้อเสีย ถ้า user อื่นที่ต้องการใช้นั้น มีรหัส จะต้องกดรหัสอีกครั้งด้วย
ใช้โปรแกรมซะเลย runasspc
ดาวโหลดโปรแกรม แล้วเก็บไว้ที่ %appdata% เนื่องจาก user สามารถเข้าได้ด้วยสิทธิ์ของตัวเอง
ก๊อป short cut ใดๆขึ้นมา 1 ตัว
ทำการแก้ไข Target และ Start in เป็น
Target
"%appdata%\runasspc\runasspc.exe" /program:"C:\Program Files\PopCap Games\Dynomite Deluxe\Dynomite.exe" /user:"pang" /password:"1"
Start in
%appdata%\runasspc

กด start ใช้งาน

จบ
ทำเพื่อหลาน.. สร้างความลำบากให้คนอื่น