How does the computer view the last time on the switch machine? Please talk about the steps.
In the windows log, the specific is in the control panel, management tools, event viewer, it seems that the Chinese is this, I am here in English. And then go to see windows log, more, slowly find.
"C: WINDOWS schedlgu.txt" in "Run" in the "Start" menu. In the open schedlgu.txt file, "Task Scheduler Service" has been started and the "Task Scheduler Service" has been exited In the time, respectively, corresponding to the boot and shutdown time, is not it convenient? Every day for the record is not difficult.
D:
If you want every time the switch machine can be clearly recorded, it can be "script + batch" approach. But you have to hands-on, we use the "script + batch" approach to achieve. Simply add two batch-time batch commands on the power-on, shutdown script, and let them start or close the recording time with the system into the C: aaa.txt file.
First create two new text documents, respectively, used to record the boot and shutdown information, enter the following command, and then save as ". Bat" file on it.
Where the boot batch (start.bat) is as follows:
@echo off >> c: aaa.txt echo *** boot record *** >> c: aaa.txt echo. >> c: aaa.txt echo% date%% time: ~ 0, -3 %% Username% >> c: aaa.txt echo. >> c: aaa.txt echo ************** >> c: aaa.txt echo. >> c : Aaa.txt echo.
And shutdown batch (shutdown.bat) command as long as the start.bat in the "*** boot record ***" to "*** shutdown record ***" can, the rest unchanged. After the above two batch commands are done, enter gpedit.msc in "Run" in the "Start" menu, open Group Policy, and then click "Computer Configuration → Windows Settings → Script (Startup and Shutdown)", double click "Start", in the Properties dialog box, click "Add" button, and in the "Script Name" column fill in the "start.bat" absolute path, click "OK" button. Similarly set the shutdown script. This can be a switch machine to do an experiment, open the C: aaa.txt file, is not recorded you just shut down and boot tim
Here I introduce four kinds of methods, without any tools, all manual completion, most people I do not tell him Oh!
A:
One day record easy to see if you just want to check, from yesterday shut down to today there is no use between my computer, then use the "check log" method on it. Enter "eventvwr.msc" in the "Start" menu, or press the "Start Menu" - "Programs" - "Administrative Tools" - "Event Viewer" to open the Event Viewer, in the left window Select the "system", from the right side of the system event to find the event ID of 6005,6006 event (event ID number of 6005 event that the event log service has started, that is, boot, the same event ID: 6006 said shutdown), they correspond Of the time are the boot time and shutdown time.
B:
If you feel that it is too much trouble to find off events from so many events, you can use "filter" to make the content simple. Select the "Filter" option in the "View" menu of the Event Viewer, select the "Filters" tab in the Properties dialog box, and check the "Information", "Warning", "Error" Event Source "drop-down list, select" eventlog ", click" OK "button, the system event content is much less, we can easily find the latest switch machine time.
C:
If you still feel too much trouble, then had to use nirvana. Type e?