Where can I find the meaning of 0xff in the scheduled task last result field?
Best Answer
Of course, sometimes you will have to check the command documentations for errors from specific commands.
But with whatever information I know, I have explained the same as given below :-
The return codes are in hexadecimal. You can convert them to
decimal with a hex mode calculator or if you are using
NT/W2k/XP, by using "set /a 0xff" or by simple multiplication.
Multiply the second last number by 16 and add the last number
where A-F represents decimal 10-15 e.g. 0xB3 = 11*16+3 = 179.
0x0 = 0 = no error
0xff = 255 = More than 154 files failed to copy or ^C batch exit or
possibly scheduled task failed to run.
0x68 = 104 = 4 files failed to copy
0x67 = 103 = 3 files failed to copy
etc, etc,.
Scheduled tasks are contained in C:\Windows\System32\Tasks\ and contain XML files. While the Petri article is a good solution for Windows 8 and Windows Server 2012, that's not a complete solution. This should allow you to find the tasks with a specific command or argument, and replace those.
Best Answer
Of course, sometimes you will have to check the command documentations for errors from specific commands.
But with whatever information I know, I have explained the same as given below :-
The return codes are in hexadecimal. You can convert them to decimal with a hex mode calculator or if you are using NT/W2k/XP, by using "set /a 0xff" or by simple multiplication.
Multiply the second last number by 16 and add the last number where A-F represents decimal 10-15 e.g. 0xB3 = 11*16+3 = 179.
0x0 = 0 = no error 0xff = 255 = More than 154 files failed to copy or ^C batch exit or possibly scheduled task failed to run. 0x68 = 104 = 4 files failed to copy 0x67 = 103 = 3 files failed to copy etc, etc,.
Hemant