Re: Windows Task Scheduler looses account credentials data



Tim,

I double-checked the settings you pointed and found my user is a domain
administrator and has all these rights to logon. Please, don't forget, the
problem occurs after long period of normal functioning. It might take weeks
or even months to stop working for my job in Scheduled Tasks.
On the other note, you might be on something regarding policies. I have
noticed, that all my workstations in question belong to OU "EndWorkstations"
with configured Group Policy object. The rest of domain systems sit in the
default AD Computers folder. These system NEVER failed to run the same
scheduled task running under the same user.
I am moving one workstation back to Computers folder and will monitor it.
If you have any thoughts on this , please share.

Thank you for your help.

Eugene


""Tim Quan [MSFT]"" <v-tiquan@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:4rACtz3WJHA.5788@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello Eugene,

Thank you for the reply.

You can also try the following method to test the issue:

On the domain Controller Security Policy:

a. Make the user a part of administrator and;

b. Grant the user/administrator rights to "Log on as batch job" and "Log
on
as a service". To do it do the following:

c. Click Start --> Programs ¨¤ Administrative Tools -> Domain Controller
Security Policy.
d.. Expand
-- Windows settings
Security Settings
Local Policies
User Rights Assignments

e. Confirm that the administrator is not a part of the rights: "Deny logon
as a
batch job" and "Deny logon as a service".

3. On the local Security policy:

Expand
-- Windows settings
Security Settings
Local Policies
User Rights Assignments
Grant this user the rights of;

a. Log on as a batch
b. Log on as a services
c. Log on locally

4. Close the console.

a. From the command prompt on the server run the command:
b. Secedit /refreshpolicy machine_policy /enforce
c. Have the administrator/user "logoff and logon".

5. Create a new scheduled job and run again.

Sincerely,
Tim Quan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

With newsgroups, MSDN subscribers enjoy unlimited, free support as opposed
to the limited number of phone-based technical support incidents. Complex
issues or server-down situations are not recommended for the newsgroups.
Issues of this nature are best handled working with a Microsoft Support
Engineer using one of your phone-based incidents.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.



.



Relevant Pages

  • Re: The following updates were not installed
    ... >> The user rights that are required by Update.exe ... >>> Administrator of this local machine. ... > and not the 'domain-level settings'? ... you would have to log on as a Domain Admin in order to do that (again, ...
    (microsoft.public.windowsupdate)
  • Re: Shutdown Utilities Do Not Work
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > Turned on logon auditing to find that the target machine ... > Rights on "Force shutdown from a remote system" to include ... > Guest along with Administrator that was already set. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: HELP!
    ... > because you do not have the rights to view this area. ... > contact the site administrator. ... > to get to the Users and Site Groups settings but all the other settings ...
    (microsoft.public.sharepoint.portalserver)
  • Windows 2000 Server Logon Problem
    ... I assume you have promoted this Win2k server to a domain ... On the server, logon with administrative rights ... Expand Local Policies-User Rights Assignments. ... >have them logon with anything less then Administrator ...
    (microsoft.public.win2000.setup)
  • Re: Cant logon to local machine (this computer) as administrator
    ... the logon locally or deny logon locally user right are configured to ... prevent administrator or local users from logging on locally. ... rights for the mentioned user rights. ... "effective" settings the policy came from a higher priority level such as domain and ...
    (microsoft.public.win2000.security)