Tuesday, July 23, 2013

How to turn off Autorun on external devices (USB DRIVE)

Windows XP 외장하드 자동실행 끄기

윈도키+R -> gpedit.msc 엔터
-> 컴퓨터 구성 -> 관리 템플릿 -> 시스템
-> 화면 우측에 "자동실행 사용 안 함" 더블클릭
-> 사용
-> 자동 실행 사용 안함: 모든 드라이브
-> 확인

USB같은 경우에는 루트에 autorun.inf 폴더를 만들어놔서 자동실행파일이 만들어지는 것을 애초에 막아버릴 것을 권한다.

출처 : 뮤직트로트 - http://www.xtx.kr

Turn off auto run on external devices (USB DRIVE)

How to use Group Policy settings to disable all Autorun features in Windows Server 2008 or Windows Vista

Use either of the following methods: 

Method 1
  1. Click Start
    the Start button
    , type Gpedit.msc in the Start Search box, and then press ENTER.

    User Account Control permission
     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then clickAutoplay Policies.
  3. In the Details pane, double-click Turn off Autoplay.
  4. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  5. Restart the computer.
Method 2
  1. Click Start
    the Start button
    , type Gpedit.msc in the Start Search box, and then press ENTER.

    User Account Control permission
     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then clickAutoplay Policies.
  3. In the Details pane, double-click Default Behavior for AutoRun.
  4. Click Enabled, and then select Do not execute any autorun commands in the Default Autorun behavior box to disable Autorun on all drives.
  5. Restart the computer.

How to use Group Policy settings to disable all Autorun features in Windows Server 2003, Windows XP Professional, and Windows 2000

  1. Click Start, click Run, type Gpedit.msc in the Open box, and then click OK.
  2. Under Computer Configuration, expand Administrative Templates, and then click System.
  3. In the Settings pane, right-click Turn off Autoplay, and then click Properties.

    Note In Windows 2000, the policy setting is named Disable Autoplay.
  4. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  5. Click OK to close the Turn off Autoplay Properties dialog box.
  6. Restart the computer.


Tuesday, March 05, 2013

Galaxy Note hidden menu

Here's how to access hidden menu (secret menu) from Galaxy Note
갤럭시 노트 숨겨진 메뉴에 들어가 보는 방법 입니다.

SHV-E160S
dial 319712358
password : 996412

SHV-E160L
dial 319712358
password : 0821

SHV-E160K
dial 319712358
password : 774632

Sunday, February 24, 2013

Compatibility list for Korean 3G / LTE mobile phones in NZ network

뉴질랜드에서 쓸 수 있는 한국 전화기 찾아보기

I brought Samsung Galaxy Note LTE (SHV-E160S) from Korea to NZ.
Although it's UNLOCKED, the 3G network frequencies are little differ from Korean Network and NZ Network. Thus I decided to make a compatibility chart.
SKT용 갤럭시 노트를 한국에서 가져왔지만, 언락되어있음에도 불구하고 3G의 주파수 대역이 틀려서 아무래도 제대로 작동을 하지 않고 있습니다. 원인을 조사하는 김에 표를 만들어서 계속 업데이트 해 보려고 합니다.

Frequencies SKT / Korea KTF / Korea LGU+ / Korea Vodafone / NZ Telecom / NZ
700MHz



LTE (Planned)
800MHz CDMA TRS


850MHz LTE (National) LTE LTE (National)
UMTS / HSPA+ (National)
900MHz
LTE (MC / City)
GSM (National) / UMTS / HSPA+ (Rural)
1.8GHz LTE (MC / National) LTE (National) CDMA / EVDO Rev-A/B GSM (City) / LTE (Metro) LTE (NOV 2013)
2.1GHz UMTS / HSPA UMTS / HSPA+ LTE (MC) UMTS / HSPA+ (Metro) UMTS / HSPA+ (City)
2.3GHz Mobile WiMax WiBro



As you can see if you source mobile phone from Korea, no LGU+ phone will work whatsoever.
보시다시피 한국에서 가져온 전화기 중 LG U+ 전화기는 어쨌던 작동을 하지 않을껍니다. 하지만 기기 자체에서는 모뎀이 내장되어 있어서 어떻게 해 볼 방법이 있을 듯 싶습니다.

Only chance is that 2.1GHz band that Vodafone will cover more than Telecom do, however if it leave the metro area, both network will unlikely connected.
3G라면 2.1GHz 대역에서 광역 서비스 하는 보다폰이 시내 서비스만 하는 텔레콤 보다는 유리해 보입니다. 하지만 도시에서 많이 벗어난 곳 에서는 어쨌던 연결이 안되더군요.

Conclusion? Don't bring Korean 3G / LTE phone until full LTE service launched in NZ.
결론을 따지자면 LTE 서비스가 완전히 개시될때 까지는 가져와 봐야 별 소용이 없을듯 싶습니다.

I heard that some Samsung phones from SKT can be unlocked on 850MHz for UMTS, if anyone knows how to unlock SHV-E160S please let me know.
하지만 SKT에서 서비스 하는 전화기들은 3G 전용 모델의 경우 850MHz가 연결될 공산이 큽니다. 그렇다면 텔레콤에서는 문제없이 쓸 수 있겠지요.

국내 내수용 전화기들의 전국망 (850MHz, 900MHz등) 네트워크 호환성 차트를 만들어 보고자 합니다. 정보가 있으신 분들은 댓글로 정보 제공 부탁 드리겠습니다.

Model # Product Name 850MHz 900MHz 1.8GHz 2.1GHz Note
SHV-E160S Galaxy Note SKT LTE Not Working Not Working Unknonwn Working (3G) No special settings, Country unlocked by default
SHV-E250S Galaxy Note2 SKT LTE Not Working Not Working LTE (Telecom) Working (3G) No special settings, Country unlocked by default
SHV-E160L Galaxy Note U+ LTE Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E160K Galaxy Note KT LTE Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHW-M250S Galaxy S2 SKT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHW-M250K Galaxy S2 KT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHW-M250L Galaxy S2 U+ Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E110S Galaxy S2 LTE SKT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E120S Galaxy S2 HD LTE SKT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E120K Galaxy S2 HD LTE KT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E120L Galaxy S2 HD LTE U+ Unknonwn Unknonwn Unknonwn Unknonwn Please submit


모델명 :
사용통신사 :
시내 사용 가부 :
시골 사용 가부 :
롬 버전 :




Tuesday, November 01, 2011

OS X Lion: Preserve Recovery HD (Partition)

My experience with MBA and Lion soured when I decided to migrate one MBA to the other due to an accident.

Firstly, I tried to restore using Time-Machine backup to migrate the system, however this method would not able to restore my developement environment. (no make!)

Secondly, I triggered recovery mode by pressing "command+r" keys while it's rebooting then restore from Time-Machine backup.

Everything seems went well, until I found the Recovery HD was invalidated, and I can't use File Vault and Recovery Mode as well as Find My Mac feature anymore.

I have searched web and found the only way around at this time is that follwing Varta's method (https://discussions.apple.com/thread/3194269?start=0&tstart=0) which involves downloading of several GBs of data from the net.

Now I'm downloading Lion from the net, another 2 hours to download only hope Varta's method works.

Anyway, lesson here is that do make HDD image backup periodically. You never know when your precious Macbook dropped to floor like me.

Steps you should take before migrating one Mac to the other Mac while preserving Recovery HD.

1. Go into recovery mode from your old Mac (Command+R)
2. Create image of your existing old Mac's HDD to external HDD
3. Go into recovery mode from your new Mac
4. Create image of your existing new Mac's HDD to external HDD (For disaster recovery purpose)
5. Restore your new Mac's HDD from old Mac's HDD image
6. Reboot the system, keep fingers crossed.

Hope Apple fix the problem soon, it is simple madness; install entire OS downloading from the net just to create Recovery HD.

Yes, IT WORKS!

Friday, April 15, 2011

Modified Install.bat for Windows 7 / Vista 32-bit ODBC driver install

In order to install 32-bit ODBC driver on 64-bit Windows 7 / Vista correctly, we need to modify the installation script slightly. It make sure install 32-bit files onto %windows%SysWow64 directory and register the driver correctly using 32-bit ODBC configure.

Modified from mysql-connector-odbc-noinstall-5.1.8-win32\install.bat

Modified sections are marked with bold line


@ECHO OFF
REM #########################################################
REM
REM \brief Install myodbc.
REM
REM This exists for those working with the Windows source
REM distribution.
REM
REM Use this to copy the driver and supporting files
REM to the system directory and register the driver.
REM
REM \sa README.win
REM
REM #########################################################

SET installdir=none
IF EXIST %windir%\system\nul SET installdir=%windir%\system
IF EXIST %windir%\system32\nul SET installdir=%windir%\system32
IF EXIST %windir%\SysWOW64\nul SET installdir=%windir%\SysWOW64
IF %installdir%==none GOTO :doError5

IF EXIST %installdir%\myodbc-installer.exe GOTO :doError4

REM ****
REM * Find out the bin/lib directory, or use default
REM ****
SET libdir=lib
SET bindir=bin
IF EXIST lib\release\myodbc5.lib SET libdir=lib\release
IF EXIST lib\relwithdebinfo\myodbc5.lib SET libdir=lib\relwithdebinfo
IF EXIST bin\release\myodbc-installer.exe SET bindir=bin\release
IF EXIST bin\relwithdebinfo\myodbc-installer.exe SET bindir=bin\relwithdebinfo

REM ****
REM * Copying myodbc libraries and executables to install dir...
REM ****
ECHO Copying installation files
IF NOT EXIST %libdir%\myodbc5.lib GOTO :doError2
IF NOT EXIST %libdir%\myodbc5S.lib GOTO :doError2
IF NOT EXIST %bindir%\myodbc-installer.exe GOTO :doError2
copy %libdir%\myodbc5S.dll %installdir%
copy %libdir%\myodbc5S.lib %installdir%
copy %libdir%\myodbc5.dll %installdir%
copy %libdir%\myodbc5.lib %installdir%
copy %bindir%\myodbc-installer.exe %installdir%

REM ****
REM * Registering driver...
REM *
REM * We can do this with myodbc-installer.exe or the MS Windows ODBCConf.exe. It
REM * may be safer to use the ODBCConf.exe when we think about such things
REM * as 64bit windows.
REM ****
ECHO Registering driver
REM myodbc-installer -d -a -n "MySQL ODBC 5.1 Driver" -t "DRIVER=myodbc5.dll;SETUP=myodbc5S.dll"
%installdir%\odbcconf INSTALLDRIVER "MySQL ODBC 5.1 Driver|DRIVER=myodbc5.dll|SETUP=myodbc5S.dll"


ECHO "+-----------------------------------------------------+"
ECHO "| DONE |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Hopefully things went well; the Connector/ODBC |"
ECHO "| files have been copied to the system directory |"
ECHO "| and the driver has been registered. |"
ECHO "| |"
ECHO "| Connector/ODBC is ready to use. |"
ECHO "| |"
ECHO "| The most common thing to do next is to go to the |"
ECHO "| Control Panel and find the ODBC Administrator - |"
ECHO "| then use it to create a Data Source Name (DSN) |"
ECHO "| so you (and your application) can connect to a |"
ECHO "| MySQL server. |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
EXIT /B 0

:doError2
ECHO "+-----------------------------------------------------+"
ECHO "| ERROR |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Connector/ODBC not built. |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
PAUSE
EXIT /B 1

:doError4
ECHO "+-----------------------------------------------------+"
ECHO "| ERROR |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Existing Connector/ODBC installed. Request ignored. |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
PAUSE
EXIT /B 1

:doError5
ECHO "+-----------------------------------------------------+"
ECHO "| ERROR |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Can't find the Windows system directory |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
PAUSE
EXIT /B 1

D:\tmp\mysql-connector-odbc-noinstall-5.1.8-win32 modified Install.bat for Windows 7 / Vista 32-bit ODBC driver install


@ECHO OFF
REM #########################################################
REM
REM \brief Install myodbc.
REM
REM This exists for those working with the Windows source
REM distribution.
REM
REM Use this to copy the driver and supporting files
REM to the system directory and register the driver.
REM
REM \sa README.win
REM
REM #########################################################

SET installdir=none
IF EXIST %windir%\system\nul SET installdir=%windir%\system
IF EXIST %windir%\system32\nul SET installdir=%windir%\system32
IF EXIST %windir%\SysWOW64\nul SET installdir=%windir%\SysWOW64
IF %installdir%==none GOTO :doError5

IF EXIST %installdir%\myodbc-installer.exe GOTO :doError4

REM ****
REM * Find out the bin/lib directory, or use default
REM ****
SET libdir=lib
SET bindir=bin
IF EXIST lib\release\myodbc5.lib SET libdir=lib\release
IF EXIST lib\relwithdebinfo\myodbc5.lib SET libdir=lib\relwithdebinfo
IF EXIST bin\release\myodbc-installer.exe SET bindir=bin\release
IF EXIST bin\relwithdebinfo\myodbc-installer.exe SET bindir=bin\relwithdebinfo

REM ****
REM * Copying myodbc libraries and executables to install dir...
REM ****
ECHO Copying installation files
IF NOT EXIST %libdir%\myodbc5.lib GOTO :doError2
IF NOT EXIST %libdir%\myodbc5S.lib GOTO :doError2
IF NOT EXIST %bindir%\myodbc-installer.exe GOTO :doError2
copy %libdir%\myodbc5S.dll %installdir%
copy %libdir%\myodbc5S.lib %installdir%
copy %libdir%\myodbc5.dll %installdir%
copy %libdir%\myodbc5.lib %installdir%
copy %bindir%\myodbc-installer.exe %installdir%

REM ****
REM * Registering driver...
REM *
REM * We can do this with myodbc-installer.exe or the MS Windows ODBCConf.exe. It
REM * may be safer to use the ODBCConf.exe when we think about such things
REM * as 64bit windows.
REM ****
ECHO Registering driver
REM myodbc-installer -d -a -n "MySQL ODBC 5.1 Driver" -t "DRIVER=myodbc5.dll;SETUP=myodbc5S.dll"
%installdir%\odbcconf INSTALLDRIVER "MySQL ODBC 5.1 Driver|DRIVER=myodbc5.dll|SETUP=myodbc5S.dll"



ECHO "+-----------------------------------------------------+"
ECHO "| DONE |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Hopefully things went well; the Connector/ODBC |"
ECHO "| files have been copied to the system directory |"
ECHO "| and the driver has been registered. |"
ECHO "| |"
ECHO "| Connector/ODBC is ready to use. |"
ECHO "| |"
ECHO "| The most common thing to do next is to go to the |"
ECHO "| Control Panel and find the ODBC Administrator - |"
ECHO "| then use it to create a Data Source Name (DSN) |"
ECHO "| so you (and your application) can connect to a |"
ECHO "| MySQL server. |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
EXIT /B 0

:doError2
ECHO "+-----------------------------------------------------+"
ECHO "| ERROR |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Connector/ODBC not built. |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
PAUSE
EXIT /B 1

:doError4
ECHO "+-----------------------------------------------------+"
ECHO "| ERROR |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Existing Connector/ODBC installed. Request ignored. |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
PAUSE
EXIT /B 1

:doError5
ECHO "+-----------------------------------------------------+"
ECHO "| ERROR |"
ECHO "+-----------------------------------------------------+"
ECHO "| |"
ECHO "| Can't find the Windows system directory |"
ECHO "| |"
ECHO "+-----------------------------------------------------+"
PAUSE
EXIT /B 1

Friday, December 03, 2010

Tip for installing OSX on VMware

Just simply do not remove focus from VMware screen while installing happens.

Simple but crucial somehow.