Or, File Copy logon script for Group Policy in Active Directory.
Or, Script to copy files using group policy logon script.
Steps:
Open a Notepad >
copy the text below and save as filename.bat
> use this file in “Logon Script” section of active directory GPO and you
are done…
--------------------------------------------------------------------------------------------------------------------------------
@echo off
copy \\servername\foldername\*.* C:\Users or any other
destination local path
copy \\servername\foldername\testfile.txt C:\Users or any
other destination local path
--------------------------------------------------------------------------------------------------------------------------------
IMP Notes:
Line 1 is for copying multiple files to any desired
destination path.
Line 2 is for copying any single file to any destination
path.
Cheers, please write me back if you have any query or
feedback..
No comments:
Post a Comment