Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Open Notepad
- 2. Copy the below Script
- echo. >> logs.txt
- TIME /T >> logs.txt
- DATE /T >> logs.txt
- echo %USERNAME% >> logs.txt
- 3. Save it As
- 4. Now simply copy this file to the Startup folder which is most probably located at: start menu > Accessories and scroll down to get it. (if by simply copying this file won't work with you, then you probably need to copy the file in All Startup folder.) Alternatively, you can also create a shortcut to your file in Startup folder.
- 5. Now whenever your PC will reboot, the provided script will execute and create a logs.txt file with appropriate TIME,DATA and USERNAME who's responsible for the Log in.
Advertisement
Add Comment
Please, Sign In to add comment