Need a solution as to why diskpart clean is not running via a task. This prevents us from deploying Windows 7 properly with Altiris 7.1. We are able to successfully deploy Windows 7 via Altiris 6.9 using the same script.
In altiris 6.9 we are calling on a .txt file named "dpclean.txt". Here are the contents of the file:
Select disk 0
clean
In Altiris 6.9, the .txt file is located in .\Libarary\dpclean.txt. This is the command that we run to call on the file:
diskpart /s ".\Library\dpclean.txt"
In Altiris 7.1, we've created the same file and placed it in the same directory our image files are located on a 2008 site server. The directory is: \\site server\deployment\task handler\image
I've created a run script task with the following command:
REM DISKPART CLEAN
diskpart /s "\\site server\deployment\task handler\image\dpclean.txt"
PAUSE
The "PAUSE" command is for troubleshooting purposes and to see what errors appear.
This is what appears "diskpart was unable to open or read the script file".
Any ideas or suggestions is appreciated as I'm fairly new to the Altiris 7.1 world.