Depth technology Win7 system How to view the time of computer's switch machine

Source: Internet
Author: User

Method one, by viewing the event log method

1, open the Win7 System "start" menu running, enter "Eventvwr.msc", open Event Viewer;

2, and then in the left window select "System", from the right system event to find events ID 6005, 6006 event (Event ID number 6005 event indicates that the event Log service is started, that is, the boot, the same event id:6006 means shutdown), Their corresponding time is the boot time and shutdown time can be.

3, if you think from so many events to find a switch machine event is very cumbersome, you can use the "filter" function, the Event Viewer in the View menu, select the Filter option, that is, create a custom view;

3, in the Properties dialog box, select the Filter tab, and in which you check the "information", "Warning", error three, in the event source Drop-down list, select "EventLog", click the "OK" button, the contents of the system event is much less, we can easily find the nearest time to switch machine.

Method Two,

Open "Run" on the Start menu in the Win7 system and enter "C:windowsschedlgu.txt", and in the open SchedLgU.txt file, the Task Scheduler service is started in ... and the Task Scheduler service has exited from ... The time, inside there are corresponding to the boot and shutdown time.

Method Three, use the script to record every day, later open the text document directly to see the line, the specific methods are as follows: For example, recorded to e-disk switch machine time. txt.

1, first, create a new text document, renamed as "Kai.bat" (Don't forget to change the extension), right-click Edit Open, content input the following 2 lines in the middle of the content

@echo off

echo%date%%time% boot >>e: Switch machine time. txt

2, a new text document, renamed as "Guan.bat" (Do not forget to change the extension), right button edit open, content input;

@echo off

echo%date%%time% shutdown >>e: Switch machine time. txt

3, then enter "Gpedit.msc" in the running dialog box, open Group Policy, expand Computer Configuration, Windows settings, double-click startup, display files, and then copy kai.bat into;

4, and then in the launch properties where the point to add, browse, add the Kai.bat, the same, the Guan.bat by the above steps to add to the shutdown where it can be.

5, this is done, you can go directly to the E disk there to see, the document will be all listed.

PS: The last method does not record abnormal shutdown, some anti-virus software will block, please add these two bat white list, trust them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.