1. rundll32.exe를 이용하는 방법

Windows 98 과 Windows ME 에서는 rundll32.exe Shell32.dll, SHExitWindowsEX 0

Windows 2000 및 XP 에서는 RUNDLL32 USER32.DLL,ExitWindowsEx

2. Windows 2000 Server Resource Kit에 포함되어 있는 shutdown.exe 프로그램

3. Sysinternal 사의 PsShutdown 유틸리티

4. WSH 스크립트( Windows 2000/XP에 해당)

'WSHShutdown.vbs

Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery( "select * from Win32_OperatingSystem where Primary=true")

for each OpSys in OpSysSet
OpSys.ShutDown()
next


Posted by NTFAQ

트랙백 주소 :: http://ntfaq.co.kr/trackback/1957 관련글 쓰기

댓글을 달아 주세요