The first thing to do is try and run the script manually from a computer.
Does the script work? Once you have verified the script works, then you
have narrowed down that the problem is GPO related. Are there any errors in
the event log? Did you copy the script to the GPO or are you referencing it
via a UNC? When you say PowerUp I'm assuming you mean you are running this
as a computer startup script. Remember that the startup script runs under
the local system account. What permissions are on the folder you want to
copy from? Does the Everyone group have read permissions?
If you have the Group Policy Management Console, you could also to some RSOP
testing to check what policies are getting applied.
--
Jeffery Hicks
Microsoft PowerShell MVP
http://www.scriptinganswers.com
http://www.powershellcommunity.org
Now Available: WSH and VBScript Core: TFM
Coming Soon: Windows PowerShell: TFM 2nd Ed.
Post by asus61i have create (with gpm) a exec.bat on Default Domain Policy->Computer
Configuration-> Windows->Scripts->PowerOn that execute an xcopy *.* from
%logonserver%\directory to c:\programm\SISS on pc client
why not copy file ??