Re: GPO / VBScript problem

From: Juan (Juan_at_discussions.microsoft.com)
Date: 10/06/04


Date: Wed, 6 Oct 2004 07:45:08 -0700

Hey, thanks. It has solved my problem!

"Roger Abell" wrote:

> Additionally, you have no doubt verified that the machine
> accounts do have access to the source files being copied,
> such as by a grant to Domain Computers group ?
>
> --
> Roger Abell
> Microsoft MVP (Windows Server System: Security)
> MCSE (W2k3,W2k,Nt4) MCDBA
> "Juan" <Juan@discussions.microsoft.com> wrote in message
> news:D7F57A1C-D3B6-4AD8-94E7-8EC087AD2B7C@microsoft.com...
> > Okay, here my script which is set as startup script in a GPO.
> >
> > Dim objFSO
> > Set objFSO = CreateObject("Scripting.FileSystemObject")
> >
> > 'SapLogon
> > objFSO.CopyFile "\\CHMX010\appl$\NETZ\glbfiles\saplogon.ini", "C:\Winnt\",
> > true
> >
> > 'Symantec
> > objFSO.CopyFile "\\CHMX010\VPLogon\grc.dat",
> > "%ALLUSERSPROFILE%\Anwendungsdaten\Symantec\Norton AntiVirus Corporate
> > Edition\7.5", true
> >
> > An idea?
> >
> > Thanks
> >
> > Juan
> >
> > "Andrew Mitchell" wrote:
> >
> > > "=?Utf-8?B?SnVhbg==?=" <Juan@discussions.microsoft.com> said
> > >
> > > > Hi!
> > > >
> > > > I've set up a GPO which contains a small vbs script which copies some
> > > > files from a server to the workstation which reads the gpo. These
> files
> > > > should be copied to Windows\System32 and some other windows protected
> > > > folders. So when the client reads the policy during his start up it
> > > > displays "Access denied" message during the copy process.
> > > >
> > > > How can I solve my problem?
> > > >
> > >
> > > I'm assuming that this is being done via a login script (you didn't
> specify)
> > > which would cause this error if the user doesn't have sufficent rights
> to the
> > > directories.
> > > Try running the script as a Startup script which runs under the local
> system
> > > account. This should have the neccesary rights.
> > >
> > > --
> > > Andy.
> > >
>
>
>