Hi,
I Need to copy one file from one location to another location. That file need to save in C:\Windows\System32 folder
I need to create one .bat file and i want apply that bat as a startup script through GPO.
I tried through XCopy if i test in machine that is working. If i tried in other machine that is not working. becoz of some Credential issue
I tried in the script by netuse command after that my script itself not working.
SET username=XYZ\Administrator
SET password=abcd
@ECHO OFF
cmd "cd C:\"
net use "\\10.50.5.68\c$\Windows\System32" %password% /user:domain\%username%
:copy
Xcopy /S /I /E D:\DLL \\10.50.5.68\c$\Windows\System32
Regards, Hari Prasad.D