Solved

Admin

Posted on 2013-02-05
1
203 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

744 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

15 Experts available now in Live!

Get 1:1 Help Now