Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8403359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:19:21+00:00 2026-06-09T22:19:21+00:00

Trying to schedule a task on a Windows Server 2008 R2 box. I have

  • 0

Trying to schedule a task on a Windows Server 2008 R2 box.

I have a vbscript connects to an oracle database to pull data, and I want this to run at intervals.

The vbs is working standalone on the same machine, only when run with 32-bit csript.exe (needs a 32-bit ODBC driver). I can kick the vbs file off with a batch file to call C:\Windows\SysWOW64\cscript.exe “c:\scriptLoc” and it works fine.

But when I try to schedule a task I get the same error I got when trying to run the vbs directly by double clicking – which uses cscript.exe 64-bit (I presume).

I have also tried opening the 32-bit Task Scheduler C:\Windows\SysWOW64\taskschd.msc, and adding the job there, but getting the same results.

Any suggestions?

Thanks

Edit————————————————————————————————————-

The error is that Oracle Client cannot be found, driver is 32-bit and won’t work with 64-bit. This error occurs when I manually run vbs with the default cscript.exe, but it all works ok when I manually run with 32-bit cscript.exe

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:19:22+00:00Added an answer on June 9, 2026 at 10:19 pm

    The solution for the scheduled task was:-

    Start a Program

    Program script = C:\Windows\SysWOW64\cscript.exe (which is the 32-bit csscript.exe)

    Add Arguments = C:\Scripts\test.vbs (my vbs script to run)

    Start in = C:\Windows\SysWOW64\ (run in the 32-bit directory)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The environment is Windows Web Server 2008, and I'm just trying to copy a
trying to run a simple batch file in windows 2008 task scheduler call cleanup.bat
I'm trying to develop a simple php based schedule ... This is my database
I'm trying to turn this XML string into a select I have @Schedule XML
I have a train schedule app, and I am trying to calculate the difference
I'm trying to script windows scheduled task creation with powershell, where the schedules tasks
I'm trying to add a new task to the Windows Tasks Scheduler with schtasks.exe
I am trying to schedule a task to update a TextView once a second.
I am trying to schedule a timer using the timertask. I want to freeze
I am trying to create and install a .NET app on a windows server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.