Solved

copy files with MDT2013

Posted on 2014-01-24
7
3,630 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
ID: 39805886
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
ID: 39805891
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
ID: 39806136
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 500 total points
ID: 39806167
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
ID: 39806226
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
ID: 39806324
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
ID: 39806381
works perfect :-)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

777 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