task sequence will not create folder on C: drive
Hi I am trying to create a folder in c:\program files\microsoft office\templates\companynamei am trying to add new templates to this directory as part of a task sequence but i keep getting errors during the create folder section of the task seq cmdlinei am using is mkdir "c:\program files\microsoft office\templates\companyname" can anyone suggest how i should trouble shoot this issue.
November 13th, 2009 3:29pm

I am going to stick my neck out and ask if c:\program files\microsoft office\templates\ exists on the machine before you make the "companyname" folder?You might try using %programfiles% instead of c:\program files.http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2009 3:37pm

cmdlinei am using is mkdir "c:\program files\microsoft office\templates\companyname" Mkdir is a cmd function, not an executable, so you have to use cmd /c first: cmd /c mkdir "c:\program files\microsoft office\templates\companyname".
November 13th, 2009 3:54pm

Templates folder does exists it was somthing we created, i'll change the TS to use the %programfiles% as well. any other idea as to why this is happening, could it be a permissions issue. do all TS use the default access account.also there does seem to be a real delay inbetween a Tasksequence executing and not. also i have notice that a task sequence will run the first time but then after that never run again does somthing need to be done on the clients. is this somthing you've experienced.
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2009 4:05pm

cmdlinei am using is mkdir "c:\program files\microsoft office\templates\companyname" Mkdir is a cmd function, not an executable, so you have to use cmd /c first: cmd /c mkdir "c:\program files\microsoft office\templates\companyname". even within a TS that is running on OS while it is still booted, not in windows PE
November 13th, 2009 4:13pm

Yes, a TS is not a cmd-file and mkdir is not a program. For mkdir to work you have to specify that it'sa function of cmd.
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2009 4:32pm

thanks that workedshould you do a machine policy refresh just after the advertisment has been sent
November 13th, 2009 5:48pm

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

Other recent topics Other recent topics