I am running (PHP + IIS) a command line job (job.bat) which has xcacls command running.
When I run job.bat manually by typing in the cmd line of the server it works fine. But when I run it from the webpage (php) it runs but showing an error that i can't find the doman\account as follows.
Can't find Account: "DOMAIN_22\KMercs" Could not find /G user/group: "DOMAIN_22\KMercs" removing from list. Can't find Account: "DOMAIN_22\KMercs" Could not find /D user/group: "DOMAIN_22\KMercs" removing from list. Error: No Groups or Names entered were found, exiting script. Operation Complete Elapsed Time: 1.050781 seconds. Ending Script at 10/3/2007 5:08:24 PM
xcacls in the job.bat looks as follows
c:\batch\xcacls c:\folderxyz /E /G Domain_22\Admin:F /server HCIFPVS01 /user Domain_22\Admin /Pass XPasswrX
Thanks for your response.