Scheduled Tasks not running and exit with code (80) in Windows Server 2003


hi all,

i have .bat file in task scheduler exits code (80) runs daily. task executes when run manually, service account used run task added part of admin group in local system. i tried reschedule/recreate task didn't much. i have created dummy task testing purpose running fine.  system windows server 2003 sp2.

let me know if need enable/disable permissions/services.

any regarding highly appreciated.

hi ntejas2k,

 

thank posting question here.

 

according description, understand bat file in task scheduler exits colde 80.

 

to resolve issue, need increase desktop heap non-interactive window stations increasing 3rd
parameter shared section. please follow steps below:

 

1. @ command prompt, type regedt32.exe start registry editor.
2. in registry editor, locate following registry key:
    hkey_local_machine\system\currentcontrolset\control\session manager\subsystems
3. in right pane of registry editor, click windows.
4. on edit menu, click modify.
5. in edit string dialog box, locate sharedsection parameter string in value data box, , specify larger value sharedsection parameter.
    note: sharedsection parameter specifies system , desktop using following format, <xxxx> defines maximum size of system-wide heap     (in kilobytes), <yyyy> defines size of per desktop heap, , <zzzz> size of desktop heap each desktop associated non-interactive windows station:
sharedsection=<1024>,<3072>,<3072>
6. click ok.
the 3rd parameter should ideally increased in increments of 512 till issue resolved.
a reboot required settings take effect.

 

sincerely,

wilson jia


this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2