Solved

Script to Retrieve all Scheduled tasks in the domain

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
server core and windows updates 3 36
How to create a textarea which saves text in HTML 8 33
outlook 6 33
Powershell File Sort 8 23
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).
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now