dany2010 Posted December 7, 2012 Posted December 7, 2012 Hi, I would like MDT to create a text file on the c drive before joining the domain. This is used to tell when the installation has started and finished and is used by Group policy preferences. I have tried running the command echo.>C:\Installing.txt This is set as a 'run command line' task in the task sequence before the 'recover from domain' task. All i get however is a error with Notepad as the title and the error The filename,Directory name, or volume label syntax is incorrect. Any ideas? Thanks
Psymon Posted December 7, 2012 Posted December 7, 2012 Could just be that you are missing the spaces. Try echo. > C:\installing.txt When I ran your code in CMD I get nothing, when I put the spaces in it's fine.
dany2010 Posted December 7, 2012 Author Posted December 7, 2012 Thanks Psymon, Will give it a go Monday morning. Could be the answer, strange as it ran on mine.
Arthur Posted December 7, 2012 Posted December 7, 2012 When I ran your code in CMD I get nothing It worked for me without spaces. http://i.imgur.com/y35HT.png
dany2010 Posted December 9, 2012 Author Posted December 9, 2012 Hi, Just found a guide on the net. http://www.theurbanpenguin.com/pdf/MDT-OEM.pdf You just add the file into the OEM folder and it copies it over. Will give it a go tomorrow.
Arthur Posted December 10, 2012 Posted December 10, 2012 You just add the file into the OEM folder and it copies it over. If you are using MDT 2012 Update 1, you may want to read the following because it no longer copies the contents of the $OEM$ folder... Copying $OEM$ files and folders with MDT 2012 Update 1 « Michael Niehaus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now