Solved

Script to Retrieve all Scheduled tasks in the domain

Posted on 2013-11-26
4
215 Views
Last Modified: 2013-11-28
Script to Retrieve all Scheduled tasks in the domain

Whenever I change Outlook calendar permissions for "DEFAULT" user from Reviewer to Free/busy..it will stay one day then it will change back to Reviewer.
There might be a scheduled script somewhere that keeps changing the settings.
I look GPOs and Looked in the Logs of my computer and could not find any clue about this issue.

I need a script, that retrieves all scheduled tasks in the domain for each computer.

for instance:

Computer1
scheduledtask1
scheduledtask2

...

Computer20
scheduledtask1
scheduledtask2

Etc...

Any help will be very much appreciated.

Thank you
0
Comment
Question by:jskfan
  • 3
4 Comments
 
LVL 14

Accepted Solution

by:
Ram Balachandran earned 500 total points
ID: 39678604
can you tell us the steps you perform in updating permission for calendar  ?
0
 

Author Comment

by:jskfan
ID: 39678975
Right-click my calendar/properties and under permissions , I selected Default user and set its permissions to Free/Busy time, the next day I come to check it , I find it  reverted back to Reviewer.

Checked all the GPOs, and logs and could not find a clue. I am guessing that might be a scheduled task somewhere
0
 

Author Comment

by:jskfan
ID: 39682026
this command will retrieve scheduled task of a specified computer.
schtasks /query /s server1

I realized that some tasks are scheduled by the system by default.
I am not sure how to differentiate between tasks schedule by the system and those customized by users
0
 

Author Closing Comment

by:jskfan
ID: 39684218
I found out that there is a scheduled task that uses a script to change the calendar permissions for default user

Thank you for trying to help
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now