View Single Post
Old 08-07-2008, 17:05   #5 (permalink)
Name, Title, Location Harv
Dr Slice n Dice M.s.C.

in bath wiv sash
United Kingdom
AvatarHarv's Avatar
Mood
Posts4,277
Karma Harv is outstanding.Harv is outstanding.Harv is outstanding.
Harv is outstanding.Harv is outstanding.Harv is outstanding.
Pu14,799.96
Critters
My Critters
Blog
Blog Entries: 10
Awards
TF Top Poster Bronze 
Total Awards: 1
Heart Big Beer Umbrella Sunderland AFC Gift Box Cat 2
Default

it is common for scripts to work when you run them but not as a Startup script. When a Startup script runs there is no user. Startup scripts run with System privileges on the local computer, but with the permissions of the computer object elsewhere in the domain. The most likely cause is that the computer object (computer domain account) lacks permissions in the share. If all computers need permissions, you can grant the permissions to the domain group "Domain Computers".

Also it may be worth adding the actual filename to the end of the copy command as scripts like completeness.

One other thing is where are you deploying it in the gpo - user config or machine config and have you got the gpo running both types of script ( you can be selective so check whats selected ).
Tools Harv is online now
Reply With Quote