kpiller
asked on
batch file through group policy not copying files from share
I have a batch file that is used just for putting shortcuts on users desktops.
It just creates a couple of folders on the desktop and copies some shortcuts from a server share into the folder.
The script works when run manually and I currently use it via each individual users account login script setting.
When I put the script in Group Policy it creates the folders on the desktop just fine but does not copy the shortcuts from the network share. It is using UNC path and I tried it with IP and DNS name. Also I put the shortcuts I want to copy on a share of a domain controller and also tried a member server.
The shortcuts are not in the root of the share and I have not tried putting them in the root of a share.
It is currently like
\\servername\sharename\fol der\shortc ut.lnk
I am trying to copy them to the All Users/Desktop
It does create the folders just fine but kind of seems like it can't find the files on the network share.
Thanks all
It just creates a couple of folders on the desktop and copies some shortcuts from a server share into the folder.
The script works when run manually and I currently use it via each individual users account login script setting.
When I put the script in Group Policy it creates the folders on the desktop just fine but does not copy the shortcuts from the network share. It is using UNC path and I tried it with IP and DNS name. Also I put the shortcuts I want to copy on a share of a domain controller and also tried a member server.
The shortcuts are not in the root of the share and I have not tried putting them in the root of a share.
It is currently like
\\servername\sharename\fol
I am trying to copy them to the All Users/Desktop
It does create the folders just fine but kind of seems like it can't find the files on the network share.
Thanks all
Sounds like you not running this policy as user.
Set server share as public to se if this is the case.
Set server share as public to se if this is the case.
Sound like kpiller has a solution or?
ASKER
I just made fresh share on a member server and it is working. I do not know why I can not get it to work from other network shares. I was able to work around this issue, only difference was it is a 2003 member server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER