[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 987
  • Last Modified:

Errors running scheduled task as "Domain Admin" account

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
ubsoc
Asked:
ubsoc
  • 2
  • 2
1 Solution
 
pony10usCommented:
Give domain admin rights to cmd.exe
0
 
ubsocAuthor Commented:
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
 
ubsocAuthor Commented:
question resolved
0
 
pony10usCommented:
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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now