สร้าง short cut ตามภาพด้านล่าง
command: rdesktop -u administrator -g 1024x768
-n REMOTE5-13 192.168.5.13
Maximize/Minimize : Ctrl+Alt+Enter
Thursday, October 3, 2013
Tuesday, September 24, 2013
Recover Passwd Administrator windows server 2008
คัดลอกมาจาก Thaiadmin
คู่มือแก้ไขปัญหากรณีลืม Password Windows 2008 R2 X64
อ้างอิงจากกระทู้เก่า http://www.thaiadmin.org/board/index.php?topic=150314.0
เนื่องจาก like รูปและไฟล์หายไปไหนไม่รู้
วัน นึงไซต์งานของลูกค้าผมเค้ารายงานว่าเค้าไม่สามารถ login ระบบได้ด้วย password ของตนเอง งานเข้าหล่ะครับจะต้องทำอย่างไรดี ผมจึงหาคำตอบให้แก้ไขดังนี้
เผื่อว่าจะเป็นประโยชน์กับเพื่อนๆ ผมจึงเขียนบทความนี้ไว้เผื่อคนที่เจอปัญหาเหมือนกันจะได้ไม่เสียเวลาล้าง ระบบลงใหม่กันให้ยุ่งยาก เพราะว่า Windows 2008 นี่รักษาความปลอดภัยสุดๆ แต่ก็ไม่วายโดนผม Hack ระบบจนได้ เหอะๆ จะอะไรมากกับการไปเปลี่ยน password Admin ตามนี้เลยครับ ค่อยๆอ่าน ค่อยๆทำตาม ทุกขั้นตอนเลยนะครับ
1. ให้ใช้แผ่นตั้ง Windows Server 2008 R2 X64 สั่งให้ New install System ใหม่

2. เลือกเมนู Repair your computer

3. เลือก Next> ตามรูป

4. เลือกเมนู Command Prompt

5. มีโปรแกรม Dos ขึ้นมาให้หา Drive ที่มี Windows ให้เจอ

6. จากตัวอย่าง Drive D: เป็น Drive ที่ลง System ไว้สังเกตได้จาก Folder มี Windows
-------------------------------------------------------------------------------------------------------------------------------
d:
cd Windows
cd System32
move Utilman.exe Utilman.exe.bak (copy ไฟล์โปรแกรมไว้ก่อนทุกครั้งเผื่อมีอะไรผิดพลาด)
copy cmd.exe Utilman.exe
-------------------------------------------------------------------------------------------------------------------------------
เสร็จแล้วให้ Restart

7. ให้คลิ๊กเข้าเมนู icon Utilman ซึ่งเมื่อกี้นี้เราได้แปลงโปรแกรมให้เป็น Dos ไปเรียบร้อยแล้ว

8. จะมีโปรแกรม Dos ขึ้นมาทีนี้เราก็สามารถใช้คำสั่งเพิ่ม User เพิ่ม Group ได้ตามต้องการแล้ว

9. ให้พิมพ์คำสั่งต่อจากนี้ลงไป
net user admin2 P@ssw0rd /add
net localgroup administrators admin2 /add

10. จากในรูปจะมี User admin2 ขึ้นมาตามคำสั่ง Dos ที่ใช้เมื่อก่อนหน้านี้

11. สามารถตรวจสอบสิทธิ์ของ User ใหม่ที่สร้างขึ้นว่าได้อยู่ใน Group administrators ตามที่ต้องการแล้วใช่หรือไม่ สำหรับ Password ของ Administrator ที่ลืมก็สามารถแก้ไขได้เลยครับ

12. เรียบร้อยแล้วอย่าลืมเข้าไปแก้ไข ไฟล์ cmd.exe และ Utilman.exe , Utilman.exe.bak ให้กลับมาเหมือนเดิมด้วยนะครับ
เข้าไปแก้ไขที่ C:\Windows\System32\
Download เป็นไฟล์ PDF เผื่อจะมีเพื่อนๆ เอาไปทำเอกสารส่งหัวหน้างาน ได้ที่นี่
http://www.upload-thai.com/download.php?id=f9f4e4d3a5d163a074f087a32545250d
ถ้าทำไม่ได้อย่างไร
โทรติดต่อ WhatsApp , Line : กิตติณัฐต์ 0808079933
Email : kittinut.jun@hotmail.com
ตำแหน่งงาน System Engineer Network
(อ่านแล้วขอบคุณขอให้ร่ำรวย)
คู่มือแก้ไขปัญหากรณีลืม Password Windows 2008 R2 X64
อ้างอิงจากกระทู้เก่า http://www.thaiadmin.org/board/index.php?topic=150314.0
เนื่องจาก like รูปและไฟล์หายไปไหนไม่รู้
วัน นึงไซต์งานของลูกค้าผมเค้ารายงานว่าเค้าไม่สามารถ login ระบบได้ด้วย password ของตนเอง งานเข้าหล่ะครับจะต้องทำอย่างไรดี ผมจึงหาคำตอบให้แก้ไขดังนี้
เผื่อว่าจะเป็นประโยชน์กับเพื่อนๆ ผมจึงเขียนบทความนี้ไว้เผื่อคนที่เจอปัญหาเหมือนกันจะได้ไม่เสียเวลาล้าง ระบบลงใหม่กันให้ยุ่งยาก เพราะว่า Windows 2008 นี่รักษาความปลอดภัยสุดๆ แต่ก็ไม่วายโดนผม Hack ระบบจนได้ เหอะๆ จะอะไรมากกับการไปเปลี่ยน password Admin ตามนี้เลยครับ ค่อยๆอ่าน ค่อยๆทำตาม ทุกขั้นตอนเลยนะครับ
1. ให้ใช้แผ่นตั้ง Windows Server 2008 R2 X64 สั่งให้ New install System ใหม่

2. เลือกเมนู Repair your computer

3. เลือก Next> ตามรูป

4. เลือกเมนู Command Prompt

5. มีโปรแกรม Dos ขึ้นมาให้หา Drive ที่มี Windows ให้เจอ

6. จากตัวอย่าง Drive D: เป็น Drive ที่ลง System ไว้สังเกตได้จาก Folder มี Windows
-------------------------------------------------------------------------------------------------------------------------------
d:
cd Windows
cd System32
move Utilman.exe Utilman.exe.bak (copy ไฟล์โปรแกรมไว้ก่อนทุกครั้งเผื่อมีอะไรผิดพลาด)
copy cmd.exe Utilman.exe
-------------------------------------------------------------------------------------------------------------------------------
เสร็จแล้วให้ Restart

7. ให้คลิ๊กเข้าเมนู icon Utilman ซึ่งเมื่อกี้นี้เราได้แปลงโปรแกรมให้เป็น Dos ไปเรียบร้อยแล้ว

8. จะมีโปรแกรม Dos ขึ้นมาทีนี้เราก็สามารถใช้คำสั่งเพิ่ม User เพิ่ม Group ได้ตามต้องการแล้ว

9. ให้พิมพ์คำสั่งต่อจากนี้ลงไป
net user admin2 P@ssw0rd /add
net localgroup administrators admin2 /add

10. จากในรูปจะมี User admin2 ขึ้นมาตามคำสั่ง Dos ที่ใช้เมื่อก่อนหน้านี้

11. สามารถตรวจสอบสิทธิ์ของ User ใหม่ที่สร้างขึ้นว่าได้อยู่ใน Group administrators ตามที่ต้องการแล้วใช่หรือไม่ สำหรับ Password ของ Administrator ที่ลืมก็สามารถแก้ไขได้เลยครับ

12. เรียบร้อยแล้วอย่าลืมเข้าไปแก้ไข ไฟล์ cmd.exe และ Utilman.exe , Utilman.exe.bak ให้กลับมาเหมือนเดิมด้วยนะครับ
เข้าไปแก้ไขที่ C:\Windows\System32\
Download เป็นไฟล์ PDF เผื่อจะมีเพื่อนๆ เอาไปทำเอกสารส่งหัวหน้างาน ได้ที่นี่
http://www.upload-thai.com/download.php?id=f9f4e4d3a5d163a074f087a32545250d
ถ้าทำไม่ได้อย่างไร
โทรติดต่อ WhatsApp , Line : กิตติณัฐต์ 0808079933
Email : kittinut.jun@hotmail.com
ตำแหน่งงาน System Engineer Network
(อ่านแล้วขอบคุณขอให้ร่ำรวย)
Monday, September 23, 2013
Remove & Install Java 7
Check version java
#java -version
Uninstall old java version
#apt-get remove openjdk*
Install Oracle java
#dd-apt-repository ppa:webupd8team/java
#apt-get update
#pt-get install oracle-java7-installer
And Check version again
#java -version
Ref.
Youtube
#java -version
Uninstall old java version
#apt-get remove openjdk*
Install Oracle java
#dd-apt-repository ppa:webupd8team/java
#apt-get update
#pt-get install oracle-java7-installer
And Check version again
#java -version
Ref.
Youtube
Tuesday, September 17, 2013
ตรวจสอบว่าไอพีไหนอยู่ที่ไหน?
ในการเชื่อมอินเตอร์เน็ตคุณจะต้องเกาะไอพี Public 1 เบอร์ ออกสู่โลกออนไลน์ ซึ่งจะได้จาก Net 3G, Net cafe', Net ADSL(hom,office) ... ซึ่งเราจะนำไอพีดังกล่าวไป Trace หา Latitude, Logtitude แล้วใช้ Google Earth ค้นหาว่าคุณอยู่ที่ไหน?
ในการเช็คไอพี Publice ให้เปิดเว็บไซต์ http://www.ip-adress.com มันจะแสดงไอพีที่คุณเชื่อมต่ออินเตอร์เน็ตขึ้นมาทันที และยังแสดงตำแหน่งบนโลก(ค่า Loti,Long)
แนะนำเว็บไซต์ http://www.maxmind.com สำหรับค้นหาค่า loti,logt...
ในการเช็คไอพี Publice ให้เปิดเว็บไซต์ http://www.ip-adress.com มันจะแสดงไอพีที่คุณเชื่อมต่ออินเตอร์เน็ตขึ้นมาทันที และยังแสดงตำแหน่งบนโลก(ค่า Loti,Long)
แนะนำเว็บไซต์ http://www.maxmind.com สำหรับค้นหาค่า loti,logt...
Friday, August 30, 2013
Install SPF Record
www.howtoforge.com/postfix_spf
www.openspf.org
www.openspf.org
http://kb.gfi.com
10. Install and Configure SPF
Install:apt-get install postfix-policyd-spf-python -y
vi /etc/postfix/master.cf
and add the following stanza at the end:policy-spf unix - n n - - spawn user=nobody argv=/usr/bin/policyd-spf
*Note: (The leading spaces before user=nobody are important so that Postfix knows that this line belongs to the previous one!)
*Note: We already added the entry for main.cf using the postfix setup script.
Then restart Postfix:
/etc/init.d/postfix restart
That's it already.
Monday, August 26, 2013
Update GeoIP Database
Update GeoIP Database
chage permission /var/www/mailscanner/temp to 775 and chage owner root:www-data
chage permission /var/www/mailscanner/temp to 775 and chage owner root:www-data
Friday, August 23, 2013
config https
ทำตามลิ้งค์ www.howtoforge.com
vim /etc/apache2/sites-available/default-ssl
ServerAdmin webmaster@localhost
ServerName www.domain.co.th:443
DocumentRoot /var/www
--------------------------------------------------------------------
** อย่าลืม a2ensite default-ssl
ปิด http
vim /etc/apache2/ports.conf
#NameVirtualHost *:80
#Listen 80
Thursday, August 22, 2013
Cron [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
ไม่ต้องการมัน ให้ลบบรรทัดนี้ออก
# configuration for php MING module
จากไฟล์
# configuration for php MING module
จากไฟล์
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ps.ini on line 1 in Unknown on line 0
Wednesday, August 21, 2013
install driver D-Link DWA-525 A2 on Ubuntu 12.04
Ref: mtotschn.blogspot.com
D-Link DWA-525 A2 on Ubuntu 12.04
lspci |grep -i ralink
which for the A2 should give:
05:03.0 Network controller: Ralink corp. Device 5360
Wikidevi references a patch to the rt2800pci module (part of the rt2x00 driver) but I found no explanation on how to apply this to a Ubuntu 12.04, and it took some time to find out. The patch seems to apply to Kernel 3.4, but Precise uses 3.2. Ubuntuforums has a thread on the topic and one posting explains how to patch a download of compat-wireless for kernel 2.6 manually.
Instead of going that route, I wanted to give the patch for the 3.4. version a try, and on the way document a solution that would be easier to reproduce. The compat-wireless releases can be found at http://wireless.kernel.org/en/users/Download/stable/ , the patch is linked from http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/2012-May/004942.html . Putting that together:
wget http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/attachments/20120507/e2072201/attachment.bin wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.4/compat-wireless-3.4-rc3-1.tar.bz2 tar -xjf compat-wireless-3.4-rc3-1.tar.bz2 cd compat-wireless-3.4-rc3-1 patch -p1 <../attachment.bin ./scripts/driver-select rt2x00 make sudo make install sudo make unload sudo modprobe rt2800pci
With this, the card should be recognized and start to work. I suspect that the compilation of the module has to be redone each time, the kernel is upgraded.
Tuesday, August 20, 2013
Subscribe to:
Posts (Atom)





