How to delete windows.old / locked folder

Solution by MHJ Ali:
Click Start> All Programs> Accessories>>right-click “Command Prompt”, and then click Run as administrator.

run following 3 commands on command prompt

takeown /F d:Windows.old* /R /A
cacls d:Windows.old*.* /T /grant administrators:F
rmdir /S /Q d:Windows.old

How to: Use optiboot bootloader with Atmega168 / Atmega88

Step 1:
Burn optiboot bootloader:
I use FT232RL BitBang Mode.
Skip set Lock-Bit step!
Device select atmega168, atmagea88
How to burn bootloader:
Burning the Bootloader without external AVR-Writer – Kimio Kosaka
Fuse Setting (atmega168/atmega88):

Bootloader HEX file path:
Atmega168: arduino-0022hardwarearduinobootloadersoptibootoptiboot_pro_16MHz.hex
Atmega88: optiboot for atmega88

Step 2:
Edit arduino SDK- boards.txt , path:arduino-0022hardwarearduino.
Copy and paste optiboot boards setting to boards.txt.

Step 3:
Restart SDK, select correct target board.
Atmega168 (DIP) -> [Optiboot] Arduino Diecimila, Duemilanove, Nano, NG w/ ATmega168
Atmega88 (DIP) -> link


optiboot bootloader need arduino which can auto-reset

Arduino Serial auto-reset mod:
Retrofitting AutoReset feature into an old Arduino serial board by nkcelectronics. (Solder two wire to 0.1μF disc capacitor two legs, then solder two wire to PCB.)

Arduino NG mod:
Windows:try soldering the cap to the upper two pads.