I remember a master taught me, is the first to create a Notepad, and then enter the instruction code what ....... If you will tell the younger look, thank you! For more details.
Easy to computer lock software is very suitable for you, the main features: control and management of Internet time, control the use of computer management time, limit the Internet time, limit the use of computer time, regular multi-task, timing lock the computer, timer shutdown, Boot lock, statistical record of computer use time (query computer switch machine time) and so on
The default Windows task schedule is started, so you can view the time of the switch by looking at the log of the task schedule.
Because there will be a task when the boot process to start the log, the specific location in the C: windows (winnt) under the SchedLgU.Txt.
SchedLgU.Txt is roughly as follows:
"Task Scheduler Service"
Has started in 2004-8-15 9:12:07
"Task Scheduler Service"
4.71.2195.6704 "Task Scheduler Service"
Start - Programs - Administrative Tools - Event Viewer - System
Event code 6006 is off
6009 is boot
Through this query, you need to enable the task plan, if closed, it can not be found.
Through the event viewer can directly view, close the scheduled task does not matter.
The query code (save renamed * .bat) after opening the scheduled task:
@echo off & color 0a & mode con cols = 35 lines = 10
Setlocal enabledelayedexpansion & title Check the on / off time
For %% 1 in (Please enter the search date [% date: ~ 0,10%] Find the most recent shutdown time Please go back directly) Do (echo => %% 1 & echo %% 1 | findstr "[0-9] > Nul && set snow = 0b || set snow = 0e
Findstr / a:! Snow!. * %% 1? & Echo; & del %% 1)
Set / p wind = query date:
If for example, "% wind%" == "(for / f" tokens = 1-2 delims = "%% 1 in (c: windows WindowsUpdate.log) do set wind1 = %% 1 %% 2
Echo =! Wind1: ~ 0,19!> Last shutdown & echo; & findstr / a: 0c. * Last shutdown? & Del last shutdown) else (for / f "tokens = 2 delims =" %% 2 in (' Findstr " <% wind% >" c: windows windowsUpdate.log ') do set wind1 = %% 2
"Find the relevant record & echo; & findstr / a: 0c. * Did not find the relevant record? & Del did not find the relevant record) || (not found in the relevant record) Echo! Wind1: ~ 0,8!> Shutdown time & echo. & Findstr / a: 0c. * Shutdown time? & Del shutdown time))
Echo. & Echo => press any key to continue & findstr / a: 0f. * Press any key to continue? & Del press any key to continue & pause> nul & (for %% 1 in (wind wind1) do set %% 1 = % 0