Scheduled task problem

C

Craig Schiller

Hi -

WinXP Home.

I'm trying to run chkdsk as a scheduled task. I just noticed it hasn't
been running and in the status column it shows "The scheduled task did
not run because no user account password was entered".

So, questions:

1. I've never had to enter a password for such a task before. But I did
have to reformat the drive recently and reinstall Windows. (I am the
only user of the machine). Could this be the cause of it asking for a
password?

2. I see where, in scheduled tasks setup, to set a password. But does
this mean that the password has to be entered before the task runs?
(Kinda cancels the automation aspect of scheduling the task if so).

TIA,
Craig
 
C

Craig Schiller

Thanks, but isn't there any way to run a scheduled task without a
password? The method described in the link makes it sound as if I will
have to mess around with a password when booting in the future, and I
don't want to do that.

Craig
 
M

Malke

Craig said:
Thanks, but isn't there any way to run a scheduled task without a
password? The method described in the link makes it sound as if I will
have to mess around with a password when booting in the future, and I
don't want to do that.

Craig

You need a password. After you've set it (and your Scheduled Tasks
works), you can set Windows to log in automatically:

Configure Windows to Automatically Login (MVP Ramesh) -
http://windowsxp.mvps.org/Autologon.htm

Malke
 
C

Craig Schiller

Well, I just tried to follow the instructions in the link you provided,
and I guess I'm not understanding the syntax required, because I get an
error message. It says to enter

net user "Run As Account" <password>

So I am entering exactly as follows (Craig S is my user name)

Craig S "Run As Account" mypassword

It is not recognizing my using name --- it thinks it's a command or
function. What am I doing wrong?

TIA,
Craig
 
D

David Candy

net user "craig p" mypassword

Why do it this way. Why not just set it in user accounts.
 
C

Craig Schiller

Well, I looked at help so I'd be grateful if you'd point me toward
whatever section you think might be relevant.
 
C

Craig Schiller

Been there. Done that. I don't seem to understand the syntax being used.
That's why I must have entered the command incorrectly. Among other
things, I'm a bit confused about which, if any, of the brackets
displayed should actually be included in the command. Perhaps you could
help?
 
D

David Candy

None. There is a formatting legand at the bottom of each page and actual examples just above it..
[...] Optional thing
{...|...} a choice of two things

etc. You omit the brackets. Anything with a space, like your user name, must be enclosed in "".

Normally all the options would also be listed in [], but there are so many for this command.
Examples
To display a list of all user accounts for the local computer, type:

net user

To view information about the user account jimmyh, type:

net user jimmyh

To add a user account for Jay Jamison, with logon rights from 8 A.M. to 5 P.M., Monday through Friday (no spaces in time designations), a mandatory password (jayj), and the user's full name, type:

net user jayj /add /passwordreq:yes /times:monday-friday,8am-5pm/fullname:"Jay Jamison"

Formatting legend
Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
Courier font Code or program output
 
C

Craig Schiller

David -

Thanks very much for this. I've copied it for future reference. Now
let's see if I can get the dang command to work!

Craig

David said:
None. There is a formatting legand at the bottom of each page and actual
examples just above it..
[...] Optional thing
{...|...} a choice of two things

etc. You omit the brackets. Anything with a space, like your user name,
must be enclosed in "".

Normally all the options would also be listed in [], but there are so
many for this command.


Examples

To display a list of all user accounts for the local computer, type:

net user

To view information about the user account jimmyh, type:

net user jimmyh

To add a user account for Jay Jamison, with logon rights from 8 A.M. to
5 P.M., Monday through Friday (no spaces in time designations), a
mandatory password (jayj), and the user's full name, type:

net user jayj /add /passwordreq:yes
/times:monday-friday,8am-5pm/fullname:"Jay Jamison"


Formatting legend

Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a
command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example:
{even|odd} Set of choices from which the user must choose only one
Courier font Code or program output


--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Craig Schiller" <[email protected]
Been there. Done that. I don't seem to understand the syntax being used.
That's why I must have entered the command incorrectly. Among other
things, I'm a bit confused about which, if any, of the brackets
displayed should actually be included in the command. Perhaps you could
help?
 
D

David Candy

I gave you the exact thing to type to change your password (I presume you are trying to change to a non blank password).
net user "craig p" mypassword
--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
Craig Schiller said:
David -

Thanks very much for this. I've copied it for future reference. Now
let's see if I can get the dang command to work!

Craig

David said:
None. There is a formatting legand at the bottom of each page and actual
examples just above it..
[...] Optional thing
{...|...} a choice of two things

etc. You omit the brackets. Anything with a space, like your user name,
must be enclosed in "".

Normally all the options would also be listed in [], but there are so
many for this command.


Examples

To display a list of all user accounts for the local computer, type:

net user

To view information about the user account jimmyh, type:

net user jimmyh

To add a user account for Jay Jamison, with logon rights from 8 A.M. to
5 P.M., Monday through Friday (no spaces in time designations), a
mandatory password (jayj), and the user's full name, type:

net user jayj /add /passwordreq:yes
/times:monday-friday,8am-5pm/fullname:"Jay Jamison"


Formatting legend

Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a
command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example:
{even|odd} Set of choices from which the user must choose only one
Courier font Code or program output


--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Craig Schiller" <[email protected]
Been there. Done that. I don't seem to understand the syntax being used.
That's why I must have entered the command incorrectly. Among other
things, I'm a bit confused about which, if any, of the brackets
displayed should actually be included in the command. Perhaps you could
help?

David Candy wrote:

The net user page. Type
net user
in help
 
J

jmatt

Craig said:
Yep, I got that, and it worked fine. Thanks again.

Here is a very good page Craig, just in case you need for the future,
some of the info, I've listed.

Scheduled Tasks - Applying/Running tasks without a password
http://www.kellys-korner-xp.com/xp_s.htm
For Pro: Go to Start/Administrative Tools/'Local Security
Policy/Security Settings\Local Policies\Security Options
Accounts: Limit local account use of blank passwords to console logon
only. This is enabled by default, disable it.

For Home: (Keith Miller) Go to Start/Run/Regedit and navigate to this
key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Value name: limitblankpassworduse, Type: REG_DWORD, Data: 0 (disabled)
1 (enabled)

For Home: Run Scheduled Task without a Password (Line 67)
http://www.kellys-korner-xp.com/xp_tweaks.htm

How to Enable Automatic Logon in Windows
HOW TO: Modify Scheduled Tasks in Windows XP
Task Scheduler Does Not Run Tasks When "Run As" User Account Has No
Password
 
D

David Candy

Well I wasn't talking to you. And it is an idiotic thing to say. What he is saying is "this is how to allow anyone in the world, incl anyone without technical skills, to hack into your computer"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top