Solved

Admin

Posted on 2013-02-05
1
210 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
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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…

821 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