Thursday, November 15, 2012

[How to] Workstation cannot join DC(Domain Controller) Server 2003



If you have Backup Controller (BC), Just shut it down and try to join from workstation again :)

Then check or manage BC later again.




Saturday, August 18, 2012

[How to] Windows 2008 : Disable password complexity rule in Active Directory



- Go to Start / Run / GPMC.MSC
- Right click and Edit the "Default Domain Policy"
- Then dig into the Computer Configuration > Windows Settings > Security Setttings > Account Policies > Password Policy
- Editing the "Password must meet complexity requirements" to "Disabled"
- Editing the "Maximum password age" to 0 (never expired)
- Editing the "Minimum password age" to 0 (password can be changed immediately)
- OK (Save)


:)




Sunday, July 22, 2012

Windows XP 30 days left for activation

Remove Windows Activation Product


1.Open your regedit RUN > REGEDIT
2.Find key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents
3.see the string OOBETimer
4.Double click.change all content with this one FF D5 71 D6 8B 6A 8D 6F D5 33 93 FD
5.Right Click on WPAEvents(Regedit)and choose Permissions
6.Window will show up,click to System and check all of DenyListbox
7.Restart Your PC


Works!


Reference: http://xuser.wordpress.com

Sunday, July 15, 2012

Ubuntu : How to Install DKMS Package




For lastest stable version, please download from link as below.
http://linux.dell.com/dkms/permalink/dkms-2.2.0.3.tar.gz

แตกไฟล์ออกมา
tar -xzf dkms-2.2.0.3.tar.gz

แล้วเข้าไปใน Folder ที่แตกออกมา
cd dkms-2.2.0.3
make
sudo make install



ไปสร้างไฟล์ dkms.conf ใน /usr/src/[package path]
nano /usr/src/e1000e-2.0.0.1/dkms.conf


ก๊อปโค้ดด้านล่างไปใส่ในไฟล์


PACKAGE_NAME="hello"
PACKAGE_VERSION="0.1"
CLEAN="make clean"
MAKE[0]="make all KVERSION=$kernelver"
BUILT_MODULE_NAME[0]="hello"
DEST_MODULE_LOCATION[0]="/updates"
AUTOINSTALL="yes"

แล้ว save
make clean

sudo dkms add -m [package name] -v [package version]
sudo dkms add -m e1000e -v 2.0.0.1
sudo build add -m e1000e -v 2.0.0.1
sudo install add -m e1000e -v 2.0.0.1









Tuesday, July 10, 2012

How to : Clear Temporary Files ลบไฟล์ขยะ แก้ปัญหาคอมพิวเตอร์อืด รวน ช้า





- Open Notepad [เปิด Notepad]
- Copy code from below into notepad and change enjoy_sonic to your computer's User Account [Copy โค้ดข้างล่างไปใส่ (เปลี่ยน enjoy_sonic เป็นชื่อ User Account ของเครื่องตัวเอง)]

Windows XP
------------------------------------------------------------------------------
@echo of
del "C:\Documents and Settings\enjoy_sonic\Cookies"\*.*/s/q/f
del "C:\WINDOWS\Temp"\*.*/s/q/f
del "C:\DOCUME~1\enjoy_sonic\LOCALS~1\Temp"\*.*/s/q/f
del "C:\Documents and Settings\enjoy_sonic\Local Settings\Temporary Internet Files\Content.IE5"\*.*/s/q/f
del "C:\WINDOWS\Prefetch"\*.*/s/q/f
------------------------------------------------------------------------------



Windows 7
------------------------------------------------------------------------------
@echo of
del "C:\Users\hp\AppData\Roaming\Microsoft\Windows\Cookies"\*.*/s/q/f
del "C:\Users\hp\AppData\Roaming\Microsoft\Windows\Cookies\Low"\*.*/s/q/f
del "C:\WINDOWS\Temp"\*.*/s/q/f
del "C:\Users\hp\AppData\Local\Temp"\*.*/s/q/f
del "C:\Users\hp\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5"\*.*/s/q/f
del "C:\WINDOWS\Prefetch"\*.*/s/q/f

------------------------------------------------------------------------------




- Save to .bat file [Save เป็นไฟล์ .bat]
- Run file by double click on file [ดับเบิ้ลคลิกที่ไฟล์ที่ save]


## ให้ Run ทุกครั้งที่เปิดเครื่อง ให้ย้ายไป Save ไว้ใน Start --> Program --> Start up





Tuesday, June 26, 2012

[Solved] Pure Networks Platform Services

Error windows: Pure Networks Platform Services has encountered a problem and needs to close. We are sorry for the inconvenience.



Solutions:
- Go to Start --> Run
- Write "services.msc" and Enter
- In the services windows, locate Pure Networks Platform Service.
- Double click on the service and click Restart (or disable)
- Restart computer.

Works!!

Wednesday, May 23, 2012

[Sovled] Windows Genuine Advantage Notifications



Go to Start > Search > For files or folders (or press F3) Select All files and folders Search for " Wga* "

Delete or rename all result :)


Works!




Saturday, May 19, 2012

Drive Name hidden on My Computer - ไม่มีชื่อไดร์ขึ้น

Solution
---------------------------------------------------------------------
กด Shift ค้างไว้ ปรับเป็น List กด Shift ปรับเป็น Thumbnails
---------------------------------------------------------------------

Monday, April 30, 2012

BB เริ่มใช้งานกล้องไม่ได้ ปิดแอปพลิเคชั่นอื่นๆ และลองเปิดใช้งานกล้องอีกครั้ง

Blackberry Error : เริ่มใช้งานกล้องไม่ได้ ปิดแอปพลิเคชั่นอื่นๆ และลองเปิดใช้งานกล้องอีกครั้ง

1. ไปที่ เบราว์เซอร์ > ตัวเลือก > ดำเนินงานแคช > ล้างทุกอย่างที่มีเนื้อหาทั้งหมด (Browser > Option > Catch > Clear History)
2. Restart system
3. ถอดแบตเตอร์รี่ (Remove battery and Put battery back)

Work!

Friday, April 27, 2012

[Solution] Cannot boot Windows[XP]: TRAP 00000006 EXCEPTION


TRAP 00000006 exception TR=0028 cr0=0000000011, cr2=00000000, cr3=00039000 GDT
limit=03ff base=0003F000 idt limit=07ff base=0003F400
CS:eip=0008:0042284E ss:esp=0010:000600E0 errcode=0000 flags=00010002 nocy nozr Intdis down trapdis
.......
Solution: ใส่แผ่น Windows เข้าไปตอน Boot (มันก็จะ Boot เข้า Windows ให้เลย)





TRAP 00000006 exception TR=0028 cr0=0000000011, cr2=00000000, cr3=000000000 GDT limit=03ff base=00017000 idt limit=07ff base=00017400 CS:eip=0008:08000000 ss:esp=0010:00061fec errcode=0000 flags=000100012 nocy nozr intdis down trapdis eax=0000110c ebx0003001d5 ecx=00001660 cdx=534d0030 ds-0010 es=0010 edi=00350000 exi=00051db6 ebp=00061ff0 cr0=00000011 fs=0030 gs=0000
.......
Solution: 
  1. Restart your computer by using either the Windows 2000 CD-ROM or Windows Setup floppy disks.
  2. At the Welcome to Setup screen, press R to repair the Windows 2000 installation.
  3. Press C to repair the Windows 2000 installation by using the Recovery Console.
  4. Type the number of the Windows installation that you want to repair, and then press ENTER.
  5. Type the administrator password, and then press ENTER.

    NOTE: The Recovery Console uses the administrator password that you provided when you installed Windows 2000. Changes that you made to the administrator password after you installed Windows do not apply to the Recovery Console.
  6. Type chkdsk /r, and then press ENTER.
  7. Type cd .., and then press ENTER.
  8. Type ren ntldr ntldr.old, and then press ENTER.
  9. Type copy CD-ROMDrive:\i386\ntldr HardDisk:\ntldr, and then press ENTER, where CD-ROMDrive is the CD-ROM drive letter, and HardDisk is the drive letter of your hard disk.
  10. Type exit, and then press ENTER to restart your computer.

DONE!

[Sovled] Cannot open Task Manager


Go to Start --> Run
type : cmd

copy :
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f

Enter

WORKS !!

[Solved] Cannot run Regedit

Start -> Run -> gpedit.msc -> User Configuration ->Administrative Templates -> System -> Prevent access to registry editing tools -> Right ClickProperties -> Disabled

Saturday, March 24, 2012

Activate Windows Server 2003 Enterprise

It works for me (just now!).

Short & Easy step
- Download bat file from > win2k3es.bat and Extract file
- Restart and press F8 to go to "Save Mode"
- Go to Extract folder and read READ.txt first (it's about these step)
- Double click on "win2k3es.bat". It will automatic prompt command windows with says
"you can not activate windows 2003 enterprise server in [SAFE MODE]" (But it works!)
- Click OK to finish and restart to enjoy your FULL VERSION OF Windows Server 2003 R2 Enterprise
---------------------------------------------------------

เพิ่งแก้มาได้หมาดๆ
วิธีอย่างง่ายเลย
- ดาวน์โหลดไฟล์ > win2k3es.bat and Extract file มาแตกไฟล์ไว้ก่อน
- เข้า Save Mode โดยรีสตาร์ท แล้ว กด F8 เพื่อเลือกช่องทางเข้า Windows เป็น Save Mode
- ไปในโฟลเดอร์ที่เราแตกไฟล์ไว้ ให้อ่านไฟล์ READ.txt ก่อนก็ดี (เกี่ยวกับขั้นตอนการติดตั้งนี่ละค่ะ)
- ดับเบิ้ลคลิกที่ไฟล์ "win2k3es.bat" แล้วมันจะรันหน้าต่าง command prompt มาและข้อความว่า
"you can not activate windows 2003 enterprise server in [SAFE MODE]" (มันจะมีผลหลังจากออกจาก save mode)
- กดปุ่ม OK แล้ว restart เข้าสู่ Windows ปกติ เราก็จะได้ Windows Server 2003 ที่ผ่านการ Activate มาเรียบร้อย สามารถ update windows และลงโปรแกรมฟรีของ Microsoft ได้เลย!

:)

Sunday, February 19, 2012

วิธีแก้ [Solved] Warning: Cannot modify header information – headers already sent by



Warning: Cannot modify header information – headers already sent by

ปัญหานี้เกิดจาก เรียกใช้คำสั่ง header() หลังจากมี output ส่งไปยัง client แล้ว
ดูตัวอย่างที่มีปัญหานะ

1.

<?php
echo "Some text" ;
header("Location:index.php") ;
?>

2.

<html>
<?php
header("Location:index.php") ;
?>

3.

<?php
$variable = 10 ;
?>

<?php
header("Location:index.php") ;
?>


มีคำว่า Some text ถูกส่งออกไปแล้ว
มีคำว่า <html> ถูกส่งออกไปแล้ว
มี white space ถูกส่งออกไปแล้ว ระหว่างบล็อก php ทั้งสอง ( white space ได้แก่ ขึ้นบรรทัดใหม่,เคาะสเปชบาร์,แท็บ โดยรวมคือช่องว่างที่มองไม่เห็น)
มีวิธีแก้ 3 วิธี

1.หาให้เจอว่ามีเอ้าพุตอะไรออกไปในบรรทัดที่ php ฟ้อง
2.ใส่คำสั่ง ob_start() ใว้บนบรรทัดแรกสุดๆ ของไฟล์ (ไม่แนะนำ)
3.เอาคำสั่งจาวาสคริปเข้าช่วยในการ redirect

หลังจากที่คุณกระทำการอะไรบางอย่างเสร็จและต้องการใช้คำสั่ง header() redirect ไปเพจอื่น ให้เปลี่ยนจากคำสั่ง header() เป็นเซตค่าตัวแปรสักตัว

$complete = "true" ;

แล้วทีนี้ตรงระหว่างแท็ก <head></head> ใส่คำสั่งนี้เข้าไป

<?php if ($complete=="true"){ ?>
<script type="text/javascript">
window.location="gbook.php";
</script>
<?php } ?>



Credit : http://www.select2web.com