Solved

Script to Retrieve all Scheduled tasks in the domain

Posted on 2013-11-26
4
213 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
Comment Utility
can you tell us the steps you perform in updating permission for calendar  ?
0
 

Author Comment

by:jskfan
Comment Utility
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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Sometimes Outlook might have problems sending a message. There may be various causes- corrupted PST, AV scanner etc. The message, instead of going to the Sent Items folder, sits in the Outbox indefinitely. To remove it you can use a free tool cal…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

763 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

13 Experts available now in Live!

Get 1:1 Help Now