Copying files from network location
Hi,
I need to copy files from a network location to D: drive as a postinstallion task in K2000.
i have created a BAT (Windows Script) but its not working, it could either be i need to specify 'run-as' paramaters but not too sure how to accoplish this?
full code:
@echo off
rem TRANSFER.BAT transfers all software files from
rem the software drive to the D drive
xcopy "\\SERVER1\software\Current Deployment\Laptop\Applications" d:\Utility /s /k /i
if errorlevel 4 goto lowmemory
if errorlevel 2 goto abort
if errorlevel 0 goto exit
:lowmemory
echo Insufficient memory to copy files or
echo invalid drive or command-line syntax.
goto exit
:abort
echo You pressed CTRL+C to end the copy operation.
goto exit
:exit
I need to copy files from a network location to D: drive as a postinstallion task in K2000.
i have created a BAT (Windows Script) but its not working, it could either be i need to specify 'run-as' paramaters but not too sure how to accoplish this?
full code:
@echo off
rem TRANSFER.BAT transfers all software files from
rem the software drive to the D drive
xcopy "\\SERVER1\software\Current Deployment\Laptop\Applications" d:\Utility /s /k /i
if errorlevel 4 goto lowmemory
if errorlevel 2 goto abort
if errorlevel 0 goto exit
:lowmemory
echo Insufficient memory to copy files or
echo invalid drive or command-line syntax.
goto exit
:abort
echo You pressed CTRL+C to end the copy operation.
goto exit
:exit
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
pjgeutjens
13 years ago
Posted by:
cserrins
13 years ago
Posted by:
bmatore
13 years ago
The answer file enables the local admin account.
The computer also joins the domain during the scripted install.
Auto logs in with the local admin account.
I gave domain computers permissions to the network folder but still no love. Can i specify run-as parameters within the batchscript or the scripted install?
The computer also joins the domain during the scripted install.
Auto logs in with the local admin account.
I gave domain computers permissions to the network folder but still no love. Can i specify run-as parameters within the batchscript or the scripted install?
Posted by:
anonymous_9363
13 years ago
Posted by:
bmatore
13 years ago
Posted by:
dyehardfan
13 years ago
Posted by:
anonymous_9363
13 years ago
Posted by:
dyehardfan
13 years ago
Posted by:
t320569
13 years ago
Maybe this one helps: http://www.brown.edu/cis/information_security/CIRT/help/netbiosnull.php
It's talking about null session shares. This way no Authentication has to take place. Works with WIndows 2003. For Windows 2008 search google for Null Session/Anonymous Shares.
Also remember that the Local System account CAN NOT gain network access by design. It can only get data which is stored locally on the server.....
It's talking about null session shares. This way no Authentication has to take place. Works with WIndows 2003. For Windows 2008 search google for Null Session/Anonymous Shares.
Also remember that the Local System account CAN NOT gain network access by design. It can only get data which is stored locally on the server.....
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.