Solved

Admin

Posted on 2013-02-05
1
212 Views
Last Modified: 2013-03-11
Hi There,

looking for a script that will copy multiple files to multiple PCs on a network and overwrite if necessary. we need it to copy from a shared drive to a specific folder. and have line for the admin username and pass so it wont denied permissions.

Please Help.

Thanks
0
Comment
Question by:visionsupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
choward16980 earned 500 total points
ID: 38856893
Sounds like you need to investigate the RUNAS command as well as using:
echo y | copy "\\share\files\*.*" "%userprofile\appdata\microsoft"
to supress prompting for overwriting.  I think you can also use /y

If you'd like to provide more information like the server\share name and the specific folder, I could make something pretty easy.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

691 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