SAP Knowledge Base Article - Preview

2713404 - 'xcopy' is not recognized as an internal or external command, operable program or batch file

Symptom

The following error occurred in PREPARE-KERNEL-UPDATE phase when performing system upgrade with SUM.

In TroubleTicket_<nn>.txt

Error while executing Task with input file FsoTasks.xml and task PREPARE_KERNEL_UPDATE.

For more information, see the log file D:\usr\sap\<SID>\SUM\sdt\log\SUM\PREPARE-KERNEL-UPDATE_10.LOG.


In PREPARE-KERNEL-UPDATE_<nn>.LOG

Oct 30, 2018 12:14:53 PM [Info  ]: Process ID 900 has been started.
Oct 30, 2018 12:14:53 PM [Info  ]: Waiting for process ID 900, name cmd /C  xcopy /E /I /Y "D:\usr\sap\<SID>\SUM\sdt\data\kernel\servicehttp" "D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\new_kernel\servicehttp" to finish.
Oct 30, 2018 12:14:53 PM [Info  ]: Process ID 900, name cmd /C  xcopy /E /I /Y "D:\usr\sap\<SID>\SUM\sdt\data\kernel\servicehttp" "D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\new_kernel\servicehttp" has been finished, exit code 1.
Oct 30, 2018 12:14:53 PM [Error ]: The following problem has occurred during step execution: com.sap.sdt.util.diag.DiagException: Error while executing Task with input file FsoTasks.xml and task PREPARE_KERNEL_UPDATE.
Could not finish Copy operation with parameters  toDir: 'D:/usr/sap/<SID>/SYS/exe/uc/NTAMD64/new_kernel'. Check whether the current user has sufficient permission to execute this operation.
Cannot copy D:\usr\sap\<SID>\SUM\sdt\data\kernel\servicehttp to directory D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\new_kernel.
Cannot copy D:\usr\sap\<SID>\SUM\sdt\data\kernel\servicehttp to D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\new_kernel\servicehttp using Windows console operation. 1


At the meanwhile, you can find log file Copy_<PID>.OUT is generated under D:\usr\sap\<SID>\SUM\sdt\tmp folder with following information.

'xcopy' is not recognized as an internal or external command, operable program or batch file

 


Read more...

Environment

SAP Netweaver

Windows Server

Product

SAP Solution Manager 7.2

Keywords

xcopy; “not recognized”;System32; PREPARE-KERNEL-UPDATE , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-OP-NT , Windows , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.