Hi,
This is an odd one that has me scratching my head...
I have a task sequence to build servers and in it, several steps are vbscripts to copy folders to the target server, which run fine (using cscript "path\to\vbscript". The scripts themselves are quite simple, mapping a share on the SCCM server then copying a folder from that newly mapped shared to the target server.
Now for the odd part, I created a copy of one of the scripts, renamed it and only changed two characters within the script, so that it copies a different folder (e.g. instead of folder 'a', copy folder 'ab'). However, when I have that script in the TS, that step fails, though nothing gets entered in the logs that might explain why (changing from 'cscript "path\to\script1" to 'cscript "path\to\script2").
If I don't change which script runs but only amend the script itself (by altering those 2 characters in one line), it runs fine but it copies the OLD folder, not the new one...
If I manually run the new/amended scripts from the command line, on the SCCM server, they run without any issues.
I must be missing something here, but not seeing what, so any help is appreciated.
Thanks in advance,
Dan