Solved

Script to Retrieve all Scheduled tasks in the domain

Posted on 2013-11-26
4
225 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 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