Also if you use this script:
@ECHO ON
REM Adding a local group
net localgroup Administrators dinesh /delete
sdclient.exe /msg=RemoveUser_ERRORLEVEL_is_%ERRORLEVEL%
EXIT /B %ERRORLEVEL%
The sdclient message will show you the if the command of removing the user from the group errorlevel of success (0) or failure (1) in the LMDS console for that Scheduled Task.