In a Windows 2008 server, when you confirm the creation of a new task, you may obtain the following error:
An error has occurred for task <TaskName>. Error message: The following error was reported: 2147943712.
This error message occurs when Windows was unable to store credentials (expecially the password) of the user who run the task; normally a security policy doesn’t allow this.
Open Local Security Policy (in Administrative Tools from the Start menu or from Control Panel) and set Disabled the following element:
Network Access: Do not allow storage of passwords and credentials for network authentication