How to allow a imaged computer access to a file
So, my question cant properly be worded so ill explain my dilemma.
I have a server, running windows server 2008 R2 My goal, is to use the
microsoft deployment toolbench to deploy a image to around 15-20 computers
each month. then use AD to update and such.
at the moment im at a standstill. i can not figure out how i can write a
batch file using xcopy. to retrieve exe's from the server and copy them to
the windows folder.
so far i have tried many things here is my info
The server name is "windows08server" the shared folder is called "scripts"
and inside i have all my programs, so my batch file should be exactly this
xcopy /s \windows08server\scripts\putty.exe c:\windows
now. putty is just an example. and i know that this batch works. but the
real issue is i can only make this work when i go into "computer" and type
\windows08server\ and provide a password first... so basicly, my question
to you is. how could i rewrite "xcopy /s
\windows08server\scripts\putty.exe c:/windows" to provide the credentials
so that i can then put another batch file saying to use this in my
deployment share, so i can deploy it to many computers without having to
manually enter the user and password for each computer.
No comments:
Post a Comment