setupcomplete.cmd modification not working
Created: 31 Jan 2013 | Updated: 31 Jan 2013 | 4 comments
This issue has been solved. See solution.
I have modified the setupcomplete.cmd and I can't seem to get it to do anything but the first line of the command. Does anyone know what I'm doing wrong?
%WINDIR%/setup/scripts/AltirisAgent.bat
if not exist C:\RISlog mkdir C:\RISlog
echo %date%,%time%,errorlevel: %errorlevel%,setupcomplete.CMD - 3: Begin >> c:\RISlog\deployment.log
%WINDIR%/setup/scripts/Agent.bat
It does run the altirisagent.bat file. I'm testing the mkdir portion right now but I know it does not run the echo command and the command after.
Discussion Filed Under:
Comments 4 Comments • Jump to latest comment
I put everything into AltirisAgent.bat, I think for the same reason. Perform any command scripting there and put your calls to .vbs scripts there.
Mike Clemson, Senior Systems Engineer, ASC
Intuitive Technology Group -- Symantec Platinum Partner
intuitivetech.com
I will check once more tonight but I'm pretty sure this file gets written over every deployment (I know it does in XP) if it was modified with a new version only containing the commands they have.
Yes calling these commands from AltirisAgent.bat is working. Funny how they can't get things straight between OS's with deployment.
Or maybe you need to CALL or START "" /WAIT your batch file.
Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.
Connect Etiquette: "Mark as Solution" posts that fix your problem, thumbs up for useful
Would you like to reply?
Login or Register to post your comment.