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 8935777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:04:17+00:00 2026-06-15T10:04:17+00:00

Ok, I am pretty clueless here. I use the python WMI module to do

  • 0

Ok, I am pretty clueless here. I use the python WMI module to do the following command:

    sj = wmi.Win32_ScheduledJob
    sj.Create("cmd", 0x40000000, 32, 1, 0, "******153000.000000-420")

And that gives me the following error:

    Traceback (most recent call last):
      File "<pyshell#56>", line 1, in <module>
        sj.Create("cmd", 0x40000000, 32, 1, 0, "******153000.000000-420")
      File "C:\Python25\lib\site-packages\wmi.py", line 431, in __call__
        handle_com_error ()
      File "C:\Python25\lib\site-packages\wmi.py", line 241, in handle_com_error
        raise klass (com_error=err)
    x_wmi: <x_wmi: Unexpected COM Error (-2147352567, 'Exception occurred.', (0,         u'SWbemProperty', u'Type mismatch ', None, 0, -2147217403), None)>

Ok, so could you tell me what arguments I am providing wrong? Please give me sample code. Thanks!

  • 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-15T10:04:18+00:00Added an answer on June 15, 2026 at 10:04 am

    Does it make any difference if you format the StartTime argument with 8 initial * characters instead of 6?

    I just notice that the Win32_ScheduledJob documentation seems to indicate 8 *s, in place of the omitted YYYYMMDD characters…

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

Sidebar

Related Questions

I'm pretty clueless on what the problem might be, but what works fine here
Pretty new to Perl so there may be a very obvious solution here. I'm
I am just starting out with Drupal but I am pretty clueless how to
I have the following script in Python. What it does is tries to connect
This is my first time installing a framework, and I am pretty clueless. I
I've got a pretty simple problem, but I've become clueless on what is causing
Alright so pretty basic, here are the pieces of code I have, basically it's
I'm pretty clueless on this issue at the moment so any help even small
I'm pretty clueless at this point, on some of my charts I am giving
Ok, I'm pretty clueless when it comes to PHP. I'm new to it and

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.