Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Task Scheduler does not work in our Netork!

Posted on 2009-07-09
6
Medium Priority
?
485 Views
Last Modified: 2012-05-07
Every time I open any Task Scheduler on Server 2008 I get this error "The task image is corrupt or has been tampered with.Drive Manager". Does anyone know how to fix this?

Thank You!!
7-9-2009-9-04-43-AM.jpg
0
Comment
Question by:paclaiborne
  • 3
  • 3
6 Comments
 
LVL 12

Expert Comment

by:marcustech
ID: 24813482
Try inserting the windows 2008 server disk and running from the run prompt (start > run)

SFC /scannow

This will check your system files for inconsistancies
0
 

Author Comment

by:paclaiborne
ID: 24814074
I did the scan, it said complete and the window dissapeared, does it write a log somewhere? or would it have told me if something was wrong?

Thanks
0
 
LVL 12

Expert Comment

by:marcustech
ID: 24814097
Wouldn't have said, I'm also not aware of any logs created by this system, reboot the machine and see if the problem persists. If it does let me know :)
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

Author Comment

by:paclaiborne
ID: 24849095
Ok, that fixed the image error I was getting but my .vbs script still does not send me the drive space email notification, do you notice anything that is incorrect?

dim objFSO
dim objDrive
dim Cspace
dim objEmail
'Set up the disk space for the lower limit of space available before it emails phil
Cspace = 5000000000
'configure the settings for sending email.  This may be different on the server,
set objEmail = CreateObject("CDO.Message")
'send using indicates how the message is to be sent.  2 means to send messages y using the smtp service
' on the network
objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'smptServer isIP address of the smtp server through which messages are sent
objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "172.16.32.52"
objEmail.Configuration.fields.update
'Set up message settings
objEmail.From = "monitor"
objEmail.To      = "pagesysadmin@municode.com"
objEmail.Subject = "mcc-app-07.internal.municode.com"

set objFSO = CreateObject("Scripting.FileSystemObject")

set objDrive = objFSO.GetDrive("C:")
'Check to see if the drive is available
if objDrive.IsReady then
      'The drive is readable so get the available space and compare it to
      ' the constant for the lower limit of space Matt wants to check against.
      'If it's below the limit, email him
      if objDrive.availableSpace < Cspace then
            'msgbox(objDrive.availableSpace & vbcrlf & Cspace)
            objEmail.TextBody = "C: Drive has " & objDrive.availableSpace & " bytes left."
            objEmail.Send
      end if
end if
0
 
LVL 12

Accepted Solution

by:
marcustech earned 2000 total points
ID: 24850593
Well as far as I can see there is no authetication with the email server here. Do you have permission to send through 172.16.32.52, and without authentication?

Can you telnet to 172.16.32.52 from the box with the issue?

Also, if it should definately be working, here's an alternate script to compare or replace with:
http://www.jigsawboys.com/2007/11/28/vb-script-to-check-disk-space-and-email-results/
0
 

Author Closing Comment

by:paclaiborne
ID: 31601572
That script worked much better, Thank You!!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

783 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