Solved

Errors running scheduled task as "Domain Admin" account

Posted on 2010-08-24
4
973 Views
Last Modified: 2012-05-10
We have a batch script written that when we run manually it runs with no issues, so we know the script is good. However when we run it as a scheduled task using the Domain Admin account we get an error:
ERROR ( message:Configuration error
Filename: redirection.config
Line Number: 0
Description: Cannot read configuration file due to insufficient permissions
.)

I have read several articles that talks about permissions on the "C:\Windows\System32\inetsrv\config" folder, but they are fine on our system.

This is a Windows 2008 SP2 system that is a domain member.

Anyone ever run across this issue before and have a resolution?
0
Comment
Question by:ubsoc
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:pony10us
Comment Utility
Give domain admin rights to cmd.exe
0
 
LVL 5

Accepted Solution

by:
ubsoc earned 0 total points
Comment Utility
We figured it out. We had to check the box on the General tab of the task "Run with highest priveleges", once we did that the task ran fine.
0
 
LVL 5

Author Closing Comment

by:ubsoc
Comment Utility
question resolved
0
 
LVL 26

Expert Comment

by:pony10us
Comment Utility
Glad that you figured it out. Thank you describing what you did.   I will store this in "my memory bank" for future reference.  :)
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

743 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

7 Experts available now in Live!

Get 1:1 Help Now