Is there a way to clear and save log files automatically in Task Scheduler?

New Contributor

Good morning,

 

I would like to know if there is a way to schedule a task to save specific log files on a weekly basis using  Task Scheduler?

 

I am on a p2p network (no server or internet connection) and running Win 10 Pro.

 

Any help is appreciated! Thank you and have a good day!

 

-David

2 Replies

@dgirten  - These might help you.... Hopefully this is what you're looking for! - Edward

 

Script to Clear (and Save) Event Logs

https://blogs.msdn.microsoft.com/jjameson/2011/03/01/script-to-clear-and-save-event-logs/

Source-Initiated (Push mode) in WorkGroup

https://social.technet.microsoft.com/Forums/windowsserver/en-US/a517dbfd-5582-4993-b587-54f0df8fe1b4...

Event Forwarding in Workgroup environment

https://social.technet.microsoft.com/Forums/windows/en-US/21c2b3ba-de1a-432a-b2e5-8682cf6a9d0f/event...

Setting up a source initiated subscription where the event sources are not in the same domain as the event collector computer

https://docs.microsoft.com/en-us/windows/win32/wec/setting-up-a-source-initiated-subscription#settin...

 

 

 

@Edward Dake Thank you for the links. I will go through and try these out and see what works best. Have a good day!