• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

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\folder\shortcut.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
0
kpiller
Asked:
kpiller
  • 2
  • 2
1 Solution
 
kpillerAuthor Commented:
Looks like this has something to do with permissions.
0
 
Dark_KingCommented:
Sounds like you not running this policy as user.
Set server share as public to se if this is the case.
0
 
Dark_KingCommented:
Sound like kpiller has a solution or?
0
 
kpillerAuthor Commented:
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.
0
 
GranModCommented:
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now