Good Day Experts!
For the past few hours now, I've been trying to implement a filecopy of winexit.scr to networked computers through a login script on the GPO. But for some reason, I always get a permission denied when the script executes on the actual computer. I've tried 2 scripts already but both doesn't seem to work, any assistance would be very much appreciated.
'Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
'Set wshShell = Wscript.CreateObject("WScript.Shell")
'dest = "c:\windows\system32\"
'objFSO.CopyFile fileSrc, dest, true
'Dim objFS, SrceFldr, DestFldr
'SrceFldr = "\\jad-server\Profiles$"
'DestFldr = "c:\windows\system32"
'Set objFS = CreateObject("Scripting.FileSystemObject")
'objFS.Copyfile SrceFldr & "\" & "Winexit.scr" , DestFldr