Re: Running Batch file from Netlogon Share
- From: AvMed Inc <AvMedInc@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 5 Apr 2005 14:13:04 -0700
Thank you Paul. Yes, I checked and the script has replicated. However, if I
run it as an administrator on the local PC the script runs okay, otherwise I
get a system error 5 has occurred Access Denied Error. How can I run the
batch file on the local PC with admin rights?
Here's the command I'm trying to run from the batch file:
@ECHO OFF
net localgroup "Power Users" "Desktop PowerUser" /add
Thanks again.
"Paul Bergson" wrote:
> Has it replicated? Does the user have the proper credentials?
>
> try running \\domain name\netlogon\script name
>
> --
>
> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
> "AvMed Inc" <AvMedInc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:3FEFFC3A-D566-4951-84E6-69F31A10E0F5@xxxxxxxxxxxxxxxx
> > I'm trying to run a batch file which add a Global Group to a Local Group
> on
> > the end-users workstation. When I run the batch file locally is works
> fine,
> > however, I would like for the batch file to run for any user which logs on
> to
> > Active Directory.
> >
> > I copied the batch file to the Netlogon share, but it does not appear to
> > run. The Server is a Windows 2003 and client are running 2000 & XP. I've
> > check the event logs, but have not seen anything related to my problem.
> >
> > Any ideas are welcomed. Thanks
>
>
>
.
- References:
- Running Batch file from Netlogon Share
- From: AvMed Inc
- Re: Running Batch file from Netlogon Share
- From: Paul Bergson
- Running Batch file from Netlogon Share
- Prev by Date: Re: Newbie: OU issues
- Next by Date: Re: Newbie: OU issues
- Previous by thread: Re: Running Batch file from Netlogon Share
- Next by thread: Group Policy for Automatic Time Adjust?
- Index(es):
Relevant Pages
|