|
| |||||||||
| Tags: 10d1, exit, scheduled |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Scheduled task giving exit code 10d1
Hi All I have a scheduled task that takes backup of some local folders, that is not working properly, weeks ago it used to work fine, but we decided to change the local administrator's password (the task was originally created using this user). After that change, the task started failing, I updated the task with the new password, but the task is not actually doing the backup (it doesn't generate anything if I go to NTBACKUP -> Tools -> Report). Also if I go to the log, the task is giving the following exit code: "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) Started 11/1/2005 3:30:01 AM "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) Finished 11/1/2005 3:30:19 AM Result: The task completed with an exit code of (10d1). Also I saw this error at the Event Viewer: Event Type: Error Event Source: Userenv Event Category: None Event ID: 1000 Date: 11/1/2005 Time: 3:31:21 AM User: NT AUTHORITY\SYSTEM Computer: S_RECHUM Description: Windows cannot unload your registry file. If you have a roaming profile, your settings are not replicated. Contact your administrator. DETAIL - Access is denied. , Build number ((2195)). Does anybody have idea what could be happening ? Does this happened to somebody ? What could mean that exit code ? Any help will be really appreciatted Guillermo |
|
#2
| |||
| |||
| Re: Scheduled task giving exit code 10d1 "Guillermo" <Guillermo@discussions.microsoft.com> wrote in message news:25FDB5B3-9132-40BB-AE08-E3BBD24DA17D@microsoft.com... > Hi All > > I have a scheduled task that takes backup of some local folders, that is not > working properly, weeks ago it used to work fine, > but we decided to change the local administrator's password (the task was > originally created using this user). > > After that change, the task started failing, I updated the task with the new > password, but the task is not actually doing the backup > (it doesn't generate anything if I go to NTBACKUP -> Tools -> Report). > > Also if I go to the log, the task is giving the following exit code: > > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Started 11/1/2005 3:30:01 AM > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Finished 11/1/2005 3:30:19 AM > Result: The task completed with an exit code of (10d1). > > Also I saw this error at the Event Viewer: > > Event Type: Error > Event Source: Userenv > Event Category: None > Event ID: 1000 > Date: 11/1/2005 > Time: 3:31:21 AM > User: NT AUTHORITY\SYSTEM > Computer: S_RECHUM > Description: > Windows cannot unload your registry file. If you have a roaming profile, > your settings are not replicated. Contact your administrator. > > DETAIL - Access is denied. , Build number ((2195)). > > > > > Does anybody have idea what could be happening ? Does this happened > to somebody ? > > What could mean that exit code ? > > Any help will be really appreciatted > > Guillermo The code is generated by ntbackup.exe, not by the Task Scheduler. The usual remedy is to start a foreground session under the account used for the scheduled task, then run the same command as the one in the scheduled task. This will make all problems visible. |
|
#3
| |||
| |||
| Re: Scheduled task giving exit code 10d1 "Guillermo" <Guillermo@discussions.microsoft.com> wrote in message news:25FDB5B3-9132-40BB-AE08-E3BBD24DA17D@microsoft.com... > Hi All > > I have a scheduled task that takes backup of some local folders, that is not > working properly, weeks ago it used to work fine, > but we decided to change the local administrator's password (the task was > originally created using this user). > > After that change, the task started failing, I updated the task with the new > password, but the task is not actually doing the backup > (it doesn't generate anything if I go to NTBACKUP -> Tools -> Report). > > Also if I go to the log, the task is giving the following exit code: > > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Started 11/1/2005 3:30:01 AM > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Finished 11/1/2005 3:30:19 AM > Result: The task completed with an exit code of (10d1). > > Also I saw this error at the Event Viewer: > > Event Type: Error > Event Source: Userenv > Event Category: None > Event ID: 1000 > Date: 11/1/2005 > Time: 3:31:21 AM > User: NT AUTHORITY\SYSTEM > Computer: S_RECHUM > Description: > Windows cannot unload your registry file. If you have a roaming profile, > your settings are not replicated. Contact your administrator. > > DETAIL - Access is denied. , Build number ((2195)). > > > > > Does anybody have idea what could be happening ? Does this happened > to somebody ? > > What could mean that exit code ? > > Any help will be really appreciatted > > Guillermo The code is generated by ntbackup.exe, not by the Task Scheduler. The usual remedy is to start a foreground session under the account used for the scheduled task, then run the same command as the one in the scheduled task. This will make all problems visible. |
|
#4
| |||
| |||
| Re: Scheduled task giving exit code 10d1 "Guillermo" <Guillermo@discussions.microsoft.com> wrote in message news:25FDB5B3-9132-40BB-AE08-E3BBD24DA17D@microsoft.com... > Hi All > > I have a scheduled task that takes backup of some local folders, that is not > working properly, weeks ago it used to work fine, > but we decided to change the local administrator's password (the task was > originally created using this user). > > After that change, the task started failing, I updated the task with the new > password, but the task is not actually doing the backup > (it doesn't generate anything if I go to NTBACKUP -> Tools -> Report). > > Also if I go to the log, the task is giving the following exit code: > > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Started 11/1/2005 3:30:01 AM > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Finished 11/1/2005 3:30:19 AM > Result: The task completed with an exit code of (10d1). > > Also I saw this error at the Event Viewer: > > Event Type: Error > Event Source: Userenv > Event Category: None > Event ID: 1000 > Date: 11/1/2005 > Time: 3:31:21 AM > User: NT AUTHORITY\SYSTEM > Computer: S_RECHUM > Description: > Windows cannot unload your registry file. If you have a roaming profile, > your settings are not replicated. Contact your administrator. > > DETAIL - Access is denied. , Build number ((2195)). > > > > > Does anybody have idea what could be happening ? Does this happened > to somebody ? > > What could mean that exit code ? > > Any help will be really appreciatted > > Guillermo The code is generated by ntbackup.exe, not by the Task Scheduler. The usual remedy is to start a foreground session under the account used for the scheduled task, then run the same command as the one in the scheduled task. This will make all problems visible. |
|
#5
| |||
| |||
| Re: Scheduled task giving exit code 10d1 "Guillermo" <Guillermo@discussions.microsoft.com> wrote in message news:25FDB5B3-9132-40BB-AE08-E3BBD24DA17D@microsoft.com... > Hi All > > I have a scheduled task that takes backup of some local folders, that is not > working properly, weeks ago it used to work fine, > but we decided to change the local administrator's password (the task was > originally created using this user). > > After that change, the task started failing, I updated the task with the new > password, but the task is not actually doing the backup > (it doesn't generate anything if I go to NTBACKUP -> Tools -> Report). > > Also if I go to the log, the task is giving the following exit code: > > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Started 11/1/2005 3:30:01 AM > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > Finished 11/1/2005 3:30:19 AM > Result: The task completed with an exit code of (10d1). > > Also I saw this error at the Event Viewer: > > Event Type: Error > Event Source: Userenv > Event Category: None > Event ID: 1000 > Date: 11/1/2005 > Time: 3:31:21 AM > User: NT AUTHORITY\SYSTEM > Computer: S_RECHUM > Description: > Windows cannot unload your registry file. If you have a roaming profile, > your settings are not replicated. Contact your administrator. > > DETAIL - Access is denied. , Build number ((2195)). > > > > > Does anybody have idea what could be happening ? Does this happened > to somebody ? > > What could mean that exit code ? > > Any help will be really appreciatted > > Guillermo The code is generated by ntbackup.exe, not by the Task Scheduler. The usual remedy is to start a foreground session under the account used for the scheduled task, then run the same command as the one in the scheduled task. This will make all problems visible. |
|
#6
| |||
| |||
| Re: Scheduled task giving exit code 10d1
Hi Pegasus I got the tasks to work but I had to modify the taks properties and re-type the password for the user I used to create the tasks, again and again .... but now the problem has changed a little, now the tasks are not running at all. I followed your suggestion (running the task interactively while I was logged on as the administrator) and those are the errors I'm getting: "Error opening the log file C:\Documents and Settings\Administrator\Local Settings\Application Data\Windows NT\NTBackup\data\backup03.log" Has this happened to anibody ?? Thanks "Pegasus (MVP)" wrote: > > "Guillermo" <Guillermo@discussions.microsoft.com> wrote in message > news:25FDB5B3-9132-40BB-AE08-E3BBD24DA17D@microsoft.com... > > Hi All > > > > I have a scheduled task that takes backup of some local folders, that is > not > > working properly, weeks ago it used to work fine, > > but we decided to change the local administrator's password (the task was > > originally created using this user). > > > > After that change, the task started failing, I updated the task with the > new > > password, but the task is not actually doing the backup > > (it doesn't generate anything if I go to NTBACKUP -> Tools -> Report). > > > > Also if I go to the log, the task is giving the following exit code: > > > > > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > > Started 11/1/2005 3:30:01 AM > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > > Finished 11/1/2005 3:30:19 AM > > Result: The task completed with an exit code of (10d1). > > > > Also I saw this error at the Event Viewer: > > > > Event Type: Error > > Event Source: Userenv > > Event Category: None > > Event ID: 1000 > > Date: 11/1/2005 > > Time: 3:31:21 AM > > User: NT AUTHORITY\SYSTEM > > Computer: S_RECHUM > > Description: > > Windows cannot unload your registry file. If you have a roaming profile, > > your settings are not replicated. Contact your administrator. > > > > DETAIL - Access is denied. , Build number ((2195)). > > > > > > > > > > Does anybody have idea what could be happening ? Does this > happened > > to somebody ? > > > > What could mean that exit code ? > > > > Any help will be really appreciatted > > > > Guillermo > > The code is generated by ntbackup.exe, not by the Task Scheduler. > The usual remedy is to start a foreground session under the > account used for the scheduled task, then run the same > command as the one in the scheduled task. This will make > all problems visible. > > > |
|
#7
| |||
| |||
| Re: Scheduled task giving exit code 10d1 "Guillermo" <Guillermo@discussions.microsoft.com> wrote in message news:E9CFDCA2-9B43-4975-8661-A3CD8DC2C9E3@microsoft.com... > Hi Pegasus > > I got the tasks to work but I had to modify the taks properties and re-type > the password for the user I used to create the tasks, again and again .... > but now the problem has changed a little, now the tasks are not running at > all. > > I followed your suggestion (running the task interactively while I was > logged on as the administrator) and those are the errors I'm getting: > > "Error opening the log file C:\Documents and Settings\Administrator\Local > Settings\Application Data\Windows NT\NTBackup\data\backup03.log" > > Has this happened to anibody ?? > > Thanks > > > "Pegasus (MVP)" wrote: > > > > > "Guillermo" <Guillermo@discussions.microsoft.com> wrote in message > > news:25FDB5B3-9132-40BB-AE08-E3BBD24DA17D@microsoft.com... > > > Hi All > > > > > > I have a scheduled task that takes backup of some local folders, that is > > not > > > working properly, weeks ago it used to work fine, > > > but we decided to change the local administrator's password (the task was > > > originally created using this user). > > > > > > After that change, the task started failing, I updated the task with the > > new > > > password, but the task is not actually doing the backup > > > (it doesn't generate anything if I go to NTBACKUP -> Tools -> Report). > > > > > > Also if I go to the log, the task is giving the following exit code: > > > > > > > > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > > > Started 11/1/2005 3:30:01 AM > > > "backup_rrhh_Lunes.job" (backup_rrhh_Lunes.bat) > > > Finished 11/1/2005 3:30:19 AM > > > Result: The task completed with an exit code of (10d1). > > > > > > Also I saw this error at the Event Viewer: > > > > > > Event Type: Error > > > Event Source: Userenv > > > Event Category: None > > > Event ID: 1000 > > > Date: 11/1/2005 > > > Time: 3:31:21 AM > > > User: NT AUTHORITY\SYSTEM > > > Computer: S_RECHUM > > > Description: > > > Windows cannot unload your registry file. If you have a roaming profile, > > > your settings are not replicated. Contact your administrator. > > > > > > DETAIL - Access is denied. , Build number ((2195)). > > > > > > > > > > > > > > > Does anybody have idea what could be happening ? Does this > > happened > > > to somebody ? > > > > > > What could mean that exit code ? > > > > > > Any help will be really appreciatted > > > > > > Guillermo > > > > The code is generated by ntbackup.exe, not by the Task Scheduler. > > The usual remedy is to start a foreground session under the > > account used for the scheduled task, then run the same > > command as the one in the scheduled task. This will make > > all problems visible. Sounds as if the task does not have access to the file C:\Documents and Settings\Administrator\Local Settings\Application Data\Windows NT\NTBackup\data\backup03.log This is easily verified by running ntbackup.exe in an tightly controlled environment, i.e. in this batch file: @echo off echo %date% %time% Start of task > c:\test.log echo User=%UserName%, Path=%path% >> c:\test.log echo %date% %time% 1>C:\Documents and Settings\Administrator\Local Settings\Application Data\Windows NT\NTBackup\data\backup13.log ntbackup @.. /.. /.. /.. 1>>c:\test.log 2>c:\test.err echo %date% %time% End of task >> c:\test.log Run the batch file from the Command Prompt and check the files test.log, test.err and backup13.log. After this, schedule the batch file to run under the Task Scheduler and check those same files again. The results should be revealing. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Scheduled task giving exit code 10d1" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The task completed with an exit code of (1) | Ikram | Active Directory | 3 | 03-09-2009 06:45 AM |
| Scheduled Task Exit Code | Rich Young | Windows Server Help | 6 | 07-01-2008 11:41 AM |
| Scheduled Task - NTBackup Completion Code 0x20000003 | DWiebesick | Windows Server Help | 2 | 10-12-2007 11:15 PM |
| Task Scheduler Exit Code | GMC | Windows Server Help | 4 | 21-04-2007 08:51 AM |
| Scheduled Task error code:The task completed with an exit code of | Teo Chee Yang | Windows Server Help | 7 | 26-02-2007 06:01 PM |