Solved

copy files with MDT2013

Posted on 2014-01-24
7
3,326 Views
Last Modified: 2014-01-24
Hi Experts,

I use MDT2013 for deployment. This works well since now.
But I need to copy a file into one application folder on the client.
Is this possible with MDT ? How ?
What kind of Task I can use ?
0
Comment
Question by:Eprs_Admin
  • 3
  • 3
7 Comments
 
LVL 17

Expert Comment

by:Kent Dyer
Comment Utility
You do realize that could use a simple batch file or even a VBScript to do this task?  I will be honest, I know nothing about MDT.
0
 
LVL 13

Accepted Solution

by:
Felix Leven earned 500 total points
Comment Utility
In the "depoyment share" in the Folder $oem" create Folders -> $1 and $$

•$1 will be copied to the root of the volume that the new OS image was applied to.
•$$ will be copied to the Windows folder on the volume that the new OS image was applied to.

Grab the copyOEM script here and make a new Task sequence under install:
http://blogs.technet.com/b/mniehaus/archive/2012/08/24/copying-oem-files-and-folders-with-mdt-2012-update-1.aspx

If the machines are joining a Domain after the deployment, better manage or add the files to the new machines by GPO's after they joined the Domain. I create a WDS OU and place important GPO's like WSUS Servers, add/remove files and registry GPO#s there.
1
 

Author Comment

by:Eprs_Admin
Comment Utility
ok this sounds very good.
When I have the file i C:\ then I have to copy it to my application folder:

C:\programs\ASEV2

What can I do here ?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 500 total points
Comment Utility
if you want to copy a test.txt file to C:\Program Files\Internet Explorer

you create $OEM$\$1\Program Files\Internet Explorer\test.txt

and then add the script from the link to your Task sequence
0
 

Author Comment

by:Eprs_Admin
Comment Utility
ok I see,
just creating the folders in $OEM$ is not enough.
I have to put the script to my installation task Sequence right ?
0
 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 500 total points
Comment Utility
Files and Folders under $OEM$\$1 are 1:1 mirrored to the Client.

Save the script to "deployment share" scripts and add a new Task sequence under "install" add the path to your new script in "deployment share\scripts\myscript.wsf" to this new tasksequence.
0
 

Author Comment

by:Eprs_Admin
Comment Utility
works perfect :-)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now