Solved

Script to Retrieve all Scheduled tasks in the domain

Posted on 2013-11-26
4
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
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…

734 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