Problem with CMD in Task sequence
Hi I "task sequence", "Add", "Run command line", In the command line: xcopy \\server\share\folder "c:\folder" /e /c /q /y I check "Disable 64 bits file system redirection" Start in: c:\windows\system32 but when i try to deploy OS, i have error Thanks
April 30th, 2012 11:44am

What error (from smsts.log on a client)? I'm assuming 5 which means access denied. Copying directly from a network location is not recommended, you should instead put the files in a package and copy them from there. If you must copy from a network location, you must grant permissions to that folder for all computers accounts that will run the task sequence because task sequences run as local SYSTEM. Simply adding the Domain Computers group will accomplish this. You could use alternate credentials also. It's much easier to just put the files in a package though and reference the package in the task. Then you can simply move your comand to a script and use the %~DP0 batch file parameter as the source location. Also, using "Start In" is not typically a good thing as it manipulates your current working directory which adds another variable to the whol equation -- in fact, I never use it and recommend never using it also.Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
April 30th, 2012 12:27pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics